| Branch: | Revision:

ffmpeg / libswscale / swscale-test.c @ e3a84542

History | View | Annotate | Download (12.9 KB)

# Date Author Comment
7ffe76e5 02/16/2011 10:00 PM Reinhard Tartler

Merge libavcore into libavutil

Done to keep ABI compatible. Otherwise this is just silly

b9004bd5 02/06/2011 07:31 PM Clément Bœsch

Remove a few if (p) av_freep(&p) forms

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 523d9407d57e9210428b6d962f0ebf48aae55638)

b9f5e3bd 09/16/2010 01:30 PM Ramiro Polla

swscale-test: cosmetic alignment

Originally committed as revision 32265 to svn://

f1084cb0 09/16/2010 12:41 AM Ramiro Polla

swscale-test: always use bilinear scaler to get output for SSD

Originally committed as revision 32256 to svn://

9b4bf9c2 09/12/2010 06:17 PM Ramiro Polla

swscale-test: allow specifying src/dst pixel formats

Originally committed as revision 32215 to svn://

9075bc7c 09/12/2010 06:16 PM Ramiro Polla


Originally committed as revision 32214 to svn://

4bf44785 09/12/2010 06:16 PM Ramiro Polla

swscale-test: take input from reference file

If the CRC from the src->dst conversion matches a reference, it is not
necessary to perform a dst->yuva420p conversion and check the SSD.

Originally committed as revision 32213 to svn://

6bbae4c8 09/12/2010 06:15 PM Ramiro Polla

swscale-test: always use SWS_BILINEAR to convert from ref to src

Originally committed as revision 32212 to svn://

3e1e7800 09/12/2010 06:14 PM Ramiro Polla

swscale-test: move conversion from ref to source back to doTest()

The source format parameters are kept in static variables and conversion from
ref to source is only made when any parameter changes.

Originally committed as revision 32211 to svn://

4389d606 09/08/2010 11:36 PM Ramiro Polla

av_fill_image_linesizes -> av_image_fill_linesizes

Originally committed as revision 32106 to svn://

8d884020 08/19/2010 02:36 PM Ramiro Polla

swscale-test: add CRC output

Originally committed as revision 31982 to svn://

a4fc3bd5 08/08/2010 06:18 PM Ramiro Polla


Originally committed as revision 31949 to svn://

06c93cb7 08/08/2010 06:14 PM Ramiro Polla

swscale-test: get strides using av_fill_image_linesizes() from libavcore

Originally committed as revision 31948 to svn://

e07b1939 07/31/2010 10:02 PM Ramiro Polla

swscale-test: merge declaration and initialization

Originally committed as revision 31879 to svn://

73016d29 07/23/2010 08:27 PM Ramiro Polla

swscale-test: scale from reference to source only once for each algorithm

Originally committed as revision 31777 to svn://

be1c5d35 07/23/2010 08:26 PM Ramiro Polla


Originally committed as revision 31776 to svn://

da78053a 07/23/2010 08:26 PM Ramiro Polla

swscale-test: change order tests are run, maintaining the same algorithm for
sequential geometries instead of running all algorithms sequentially for each

Originally committed as revision 31775 to svn://

9bb9875e 07/22/2010 07:05 PM Ramiro Polla

swscale-test: use only 3 characters to print width/height since they're always
smaller than 1000

Originally committed as revision 31771 to svn://

b6f1e7ec 07/22/2010 07:02 PM Ramiro Polla

swscale-test: print test name before running test, so that it's available in
the output even if the test crashes.

Originally committed as revision 31770 to svn://

67e1d527 07/22/2010 03:30 PM Ramiro Polla

swscale-test: allocate more memory to prevent scalers from writing out of bounds

Some converters (ie. unscaled rgb24 -> argb) may write some bytes out of
bounds. Ideally the converters should be fixed, but in the meantime we allocate
more memory to prevent heap corruption....

92bfd746 07/20/2010 10:20 PM Ramiro Polla

swscale-test: use av_pix_fmt_descriptors[].name directly

Originally committed as revision 31759 to svn://

91cfeac6 03/04/2010 01:02 AM Stefano Sabatini

Revert r30825, it was not supposed to be committed.

127.32L to me, beware when using git svn dcommit for committing stuff
to svn...

Originally committed as revision 30827 to svn://

3fec44c6 03/04/2010 12:31 AM Stefano Sabatini

Make swscale-test take in input the name of the input and the output

Make swscale-test only perform the test from the input to the output
format rather than perform all.

Also implement, for performing all the tests.

Improve flexibility of the swscale-test tool, this way is simpler to...

7dac0c43 01/30/2010 01:31 PM Stefano Sabatini

Fix randomness of the swscale-test output.

See the thread:
Subject: [FFmpeg-devel] [RFC] Make swscale-test perform only one convertion
Date: Fri, 29 Jan 2010 01:52:23 +0100

Originally committed as revision 30457 to svn://

b51de6d8 01/27/2010 12:25 AM Stefano Sabatini

Rename swscale-example to swscale-test, to better reflect the intended
use of the program.

Originally committed as revision 30439 to svn://