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

Michael Niedermayer michaelni
Tue Aug 1 23:44:42 CEST 2006


On Tue, Aug 01, 2006 at 07:44:39PM +0200, Luca Abeni wrote:
> 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?

do the regression tests pass? if so ive no objections to the patch ...


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is

More information about the ffmpeg-devel mailing list