[Ffmpeg-devel] Cropping / Padding patches

Luca Abeni lucabe72
Mon Mar 13 16:17:32 CET 2006


Hi all,

here is a set of three patches changing the way ffmpeg performs
cropping, padding, and rescaling. Basically, after applying these
patches, the cropping/padding code contained in imgresample.c becomes
useless and can be removed.

I think these patches have three benefits:
1) make cropping, padding, and rescaling "more independent"
2) simplify ffmpeg.c, removing some duplicated code
3) prepare for supporting padding and rescaling in color spaces
different from YUV20P.

The first patch is the one introducing the real change; the second one
just fix the indentation of some code, and the third one simplifies some
code without introducing any functional change.

The behaviour of ffmpeg after applying these three patches should not
change... I did some tests, and everything is ok. If someone is
currently using cropping, padding and rescaling can he/she test the
patches and check that they not introduce any regressions?

			Thanks,
				Luca
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Problemi di Liquidit?? Con Logos Finanziaria 30.000 ? in 24 ore a dipendenti e lavoratori autonomi con rimborsi fino a 120 mesi clicca qui
* 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2907&d=13-3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-separation.diff
Type: text/x-patch
Size: 6455 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060313/dfba3698/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02-reindent.diff
Type: text/x-patch
Size: 1951 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060313/dfba3698/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03-simplify.diff
Type: text/x-patch
Size: 4711 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060313/dfba3698/attachment-0002.bin>



More information about the ffmpeg-devel mailing list