[FFmpeg-devel] [PATCH] Add scale filter

Vitor Sessak vitor1001
Tue Nov 10 06:53:22 CET 2009


Stefano Sabatini wrote:
> On date Sunday 2009-11-08 19:17:57 +0100, Stefano Sabatini encoded:
>> On date Sunday 2009-11-08 03:55:15 +0100, Michael Niedermayer encoded:
>>> On Sun, Nov 08, 2009 at 01:45:10AM +0100, Stefano Sabatini wrote:
>> [...]
>>>>  doc/libavfilter.texi     |   25 +++++
>>>>  libavfilter/Makefile     |    1 
>>>>  libavfilter/allfilters.c |    1 
>>>>  libavfilter/vf_scale.c   |  203 +++++++++++++++++++++++++++++++++++++++++++++++
>>>>  4 files changed, 230 insertions(+)
>>>> 52fe47370a211f1b3e4f17573d8bc5139af5d371  add-scale-filter.patch
>>> ok if extensively tested and it passes all tests
>> I'll apply it soon, of course this won't make the codectest pass, as
>> the scale filter currently doesn't allow to set the swscaler
>> algorithm.
> 
> Also there are some problems with PAL formats.
> 
> I only tried with the samples:
> 
> V-codecs/CVID/palette/catfight Tag team DT.mov
> avi/palette_change/toon.avi
> 
> and both show a palette randomization.

Does the attached patch fixes it? Probably not a lavfi bug 
(av_picture_copy() using linesize[] in a senseless way)...

-Vitor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imgconvert_bug.diff
Type: text/x-patch
Size: 563 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091110/de8feeea/attachment.bin>



More information about the ffmpeg-devel mailing list