[Ffmpeg-devel] [PATCH] Convert ffmpeg.c to use the swscale interface

Luca Abeni lucabe72
Tue Aug 1 19:44:39 CEST 2006


Hi all,

the attached patch is one of the missing pieces for using swscale in
ffmpeg: it modifies ffmpeg.c to use the swscale interface.
Until the real libswscale is linked (this will be done in one of the
next patches), the "swscale emulation" contained in libavcodec is used.

The patch should not cause any change in ffmpeg's behaviour: i tested it
with the following options, and ffmpeg always produced the same results
before and after applying the patch:
1) -padtop 50 -padbottom 50 -padleft 50 -padright 50
2) -s 252x188 -padtop 50 -padbottom 50 -padleft 50 -padright 50
3) -croptop 50 -cropbottom 50 -cropleft 50 -cropright 50
4) -croptop 50 -cropbottom 50 -cropleft 50 -cropright 50 -s 352x288
5) -pix_fmt yuv422p

So, I think the patch does not introduce any obvious regression... Is it
ok for commit?

			Thanks,
				Luca

-------------- next part --------------
A non-text attachment was scrubbed...
Name: move-ffmpeg-to-sws.diff
Type: text/x-patch
Size: 7359 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060801/f668aa54/attachment.bin>



More information about the ffmpeg-devel mailing list