[FFmpeg-devel] [RFC] Rework swscale-test.

Ramiro Polla ramiro.polla
Sat Sep 11 22:17:02 CEST 2010


On Sat, Sep 11, 2010 at 6:06 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Fri, Sep 10, 2010 at 10:25:07PM -0300, Ramiro Polla wrote:
[...]
> instead of
>
>> ? ? convert from input format to output format
>> ? ? run crc on output
>> ? ? convert from output format back to yuva420p
>> ? ? run ssd against reference
>
> we should do
>
> convert from input format to output format
> run crc on output
> if(crc differs from expected value) // rare, only if in->out changed
> ? ?convert from output format back to yuva420p
> ? ?run ssd against reference
> else
> ? ?print expected ssd value so output is consistent

Ok, patches attached.

There's also one extra patch (0005) to make swscale-test take -src and
-dst parameters.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-swscale-test-move-conversion-from-ref-to-source-bac.patch
Type: application/octet-stream
Size: 4725 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100911/b21449a4/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-swscale-test-always-use-SWS_BILINEAR-to-convert-fro.patch
Type: application/octet-stream
Size: 1962 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100911/b21449a4/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-swscale-test-take-input-from-reference-file.patch
Type: application/octet-stream
Size: 7420 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100911/b21449a4/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-indent.patch
Type: application/octet-stream
Size: 1785 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100911/b21449a4/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-swscale-test-allow-specifying-src-dst-pixel-formats.patch
Type: application/octet-stream
Size: 4232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100911/b21449a4/attachment-0004.obj>



More information about the ffmpeg-devel mailing list