summaryrefslogtreecommitdiff
path: root/libswscale/swscale-test.c
Commit message (Collapse)AuthorAge
* swscale: support AV_PIX_FMT_YA16 as inputVittorio Giovara2014-08-04
| | | | Based on a long debug session with Kostya.
* avutil: rename AV_PIX_FMT_Y400A to AV_PIX_FMT_YA8Vittorio Giovara2014-08-04
| | | | | | | The rationale is that you have a packed format in form <greyscale sample> <alpha sample> <greyscale sample> <alpha sample> and shortening greyscale to 'G' might make one thing about Greenscale instead. An alias pixel format and color space name are provided for compatibility.
* sws: do not use av_pix_fmt_descriptors directly.Anton Khirnov2012-10-12
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* swscale-test: fix stack overread.Ronald S. Bultje2012-01-12
| | | | | Fixes problems in swscale-test where it gives a 3-member array to a function expecting a 4-member array.
* swscale: K&R formatting cosmetics for code examplesDiego Biurrun2012-01-08
|
* swscale: Remove commented-out printf cruft.Diego Biurrun2011-05-26
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Remove a few if (p) av_freep(&p) formsClément Bœsch2011-02-04
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* swscale-test: cosmetic alignmentRamiro Polla2010-09-16
| | | | Originally committed as revision 32265 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: always use bilinear scaler to get output for SSDRamiro Polla2010-09-16
| | | | Originally committed as revision 32256 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: allow specifying src/dst pixel formatsRamiro Polla2010-09-12
| | | | Originally committed as revision 32215 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* indentRamiro Polla2010-09-12
| | | | Originally committed as revision 32214 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: take input from reference fileRamiro Polla2010-09-12
| | | | | | | 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://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: always use SWS_BILINEAR to convert from ref to srcRamiro Polla2010-09-12
| | | | Originally committed as revision 32212 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: move conversion from ref to source back to doTest()Ramiro Polla2010-09-12
| | | | | | | 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://svn.mplayerhq.hu/mplayer/trunk/libswscale
* av_fill_image_linesizes -> av_image_fill_linesizesRamiro Polla2010-09-08
| | | | Originally committed as revision 32106 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: add CRC outputRamiro Polla2010-08-19
| | | | Originally committed as revision 31982 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* indentRamiro Polla2010-08-08
| | | | Originally committed as revision 31949 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: get strides using av_fill_image_linesizes() from libavcoreRamiro Polla2010-08-08
| | | | Originally committed as revision 31948 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: merge declaration and initializationRamiro Polla2010-07-31
| | | | Originally committed as revision 31879 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: scale from reference to source only once for each algorithmRamiro Polla2010-07-23
| | | | Originally committed as revision 31777 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* indentRamiro Polla2010-07-23
| | | | Originally committed as revision 31776 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: change order tests are run, maintaining the same algorithm forRamiro Polla2010-07-23
| | | | | | | sequential geometries instead of running all algorithms sequentially for each geometry. Originally committed as revision 31775 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: use only 3 characters to print width/height since they're alwaysRamiro Polla2010-07-22
| | | | | | smaller than 1000 Originally committed as revision 31771 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: print test name before running test, so that it's available inRamiro Polla2010-07-22
| | | | | | the output even if the test crashes. Originally committed as revision 31770 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: allocate more memory to prevent scalers from writing out of boundsRamiro Polla2010-07-22
| | | | | | | | 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. Originally committed as revision 31768 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: use av_pix_fmt_descriptors[].name directlyRamiro Polla2010-07-20
| | | | Originally committed as revision 31759 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Revert r30825, it was not supposed to be committed.Stefano Sabatini2010-03-04
| | | | | | | 127.32L to me, beware when using git svn dcommit for committing stuff to svn... Originally committed as revision 30827 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make swscale-test take in input the name of the input and the outputStefano Sabatini2010-03-04
| | | | | | | | | | | | | | format. Make swscale-test only perform the test from the input to the output format rather than perform all. Also implement swscale-test-all.sh, for performing all the tests. Improve flexibility of the swscale-test tool, this way is simpler to perform only a subset of tests. Originally committed as revision 30825 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix randomness of the swscale-test output.Stefano Sabatini2010-01-30
| | | | | | | | 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://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Rename swscale-example to swscale-test, to better reflect the intendedStefano Sabatini2010-01-27
use of the program. Originally committed as revision 30439 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale