[FFmpeg-devel] Cropping Any Color Format

Mike Melanson mike
Tue Dec 4 05:52:17 CET 2007


Hi,

I needed to be able to arbitrarily crop an RGB image. It turns out that
imgconvert.c:av_picture_crop() only crops planar YUV formats (returns an
error if !is_yuv_planar). Would it be welcome to send a patch to support
more pixel formats? At the very least, I made it work with RGB565 data.

-- 
	-Mike Melanson




More information about the ffmpeg-devel mailing list