[Ffmpeg-devel] [PATCH] crop fix

Baptiste COUDURIER baptiste.coudurier
Tue Mar 7 01:18:19 CET 2006


Hi

Here is a fix for the cropping feature. Currently, ffmpeg crops the
picture assuming out pix fmt is YUV420P, since we now got an YUV422P
encoder it must be fixed. Cropping depends on chroma shift.

I added a new function in imgconvert.c to make it generic.
img_crop may not be adequate. If you got a better name, I'll take it.

It actually supports all yuv planar formats. We should support all
formats I guess.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: crop_fix.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060307/8e8f5628/attachment.asc>



More information about the ffmpeg-devel mailing list