summaryrefslogtreecommitdiff
path: root/libswscale/swscale-test.c
Commit message (Collapse)AuthorAge
* sws-test: parse command line args before initing contextsMichael Niedermayer2012-10-17
| | | | | | This fixes parsing comand line args after ref Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* sws-test: raise limigts a bit.Michael Niedermayer2012-10-13
| | | | | | these cases arent used but theres no point in failing on them Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* sws-test: check W/HMichael Niedermayer2012-10-13
| | | | | Fixes CID733834 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '9953ff3cd844eb5f6d8dfce98cad94b78a0fc7dc'Michael Niedermayer2012-10-12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9953ff3cd844eb5f6d8dfce98cad94b78a0fc7dc': mpegvideo: fix indentation sws: do not use av_pix_fmt_descriptors directly. Conflicts: libavcodec/mpegvideo.c libswscale/swscale_internal.h libswscale/swscale_unscaled.c libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * sws: do not use av_pix_fmt_descriptors directly.Anton Khirnov2012-10-12
| |
* | swscale-test: fix freeing of uninitialized variableMichael Niedermayer2012-10-11
| | | | | | | | | | Fixes: CID733844 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '716d413c13981da15323c7a3821860536eefdbbb'Michael Niedermayer2012-10-08
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '716d413c13981da15323c7a3821860536eefdbbb': Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat Conflicts: doc/examples/muxing.c ffmpeg.h ffmpeg_filter.c ffmpeg_opt.c ffplay.c ffprobe.c libavcodec/8bps.c libavcodec/aasc.c libavcodec/aura.c libavcodec/avcodec.h libavcodec/avs.c libavcodec/bfi.c libavcodec/bmp.c libavcodec/bmpenc.c libavcodec/c93.c libavcodec/cscd.c libavcodec/cyuv.c libavcodec/dpx.c libavcodec/dpxenc.c libavcodec/eatgv.c libavcodec/escape124.c libavcodec/ffv1.c libavcodec/flashsv.c libavcodec/fraps.c libavcodec/h264.c libavcodec/huffyuv.c libavcodec/iff.c libavcodec/imgconvert.c libavcodec/indeo3.c libavcodec/kmvc.c libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/libx264.c libavcodec/ljpegenc.c libavcodec/mjpegdec.c libavcodec/mjpegenc.c libavcodec/motionpixels.c libavcodec/mpeg12.c libavcodec/mpeg12enc.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo_enc.c libavcodec/pamenc.c libavcodec/pcxenc.c libavcodec/pgssubdec.c libavcodec/pngdec.c libavcodec/pngenc.c libavcodec/pnm.c libavcodec/pnmdec.c libavcodec/pnmenc.c libavcodec/ptx.c libavcodec/qdrw.c libavcodec/qpeg.c libavcodec/qtrleenc.c libavcodec/raw.c libavcodec/rawdec.c libavcodec/rl2.c libavcodec/sgidec.c libavcodec/sgienc.c libavcodec/snowdec.c libavcodec/snowenc.c libavcodec/sunrast.c libavcodec/targa.c libavcodec/targaenc.c libavcodec/tiff.c libavcodec/tiffenc.c libavcodec/tmv.c libavcodec/truemotion2.c libavcodec/utils.c libavcodec/vb.c libavcodec/vp3.c libavcodec/wnv1.c libavcodec/xl.c libavcodec/xwddec.c libavcodec/xwdenc.c libavcodec/yop.c libavdevice/v4l2.c libavdevice/x11grab.c libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/buffersrc.c libavfilter/drawutils.c libavfilter/formats.c libavfilter/src_movie.c libavfilter/vf_ass.c libavfilter/vf_drawtext.c libavfilter/vf_fade.c libavfilter/vf_format.c libavfilter/vf_hflip.c libavfilter/vf_lut.c libavfilter/vf_overlay.c libavfilter/vf_pad.c libavfilter/vf_scale.c libavfilter/vf_transpose.c libavfilter/vf_yadif.c libavfilter/video.c libavfilter/vsrc_testsrc.c libavformat/movenc.c libavformat/mxf.h libavformat/utils.c libavformat/yuv4mpeg.c libavutil/imgutils.c libavutil/pixdesc.c libswscale/input.c libswscale/output.c libswscale/swscale_internal.h libswscale/swscale_unscaled.c libswscale/utils.c libswscale/x86/swscale_template.c libswscale/x86/yuv2rgb.c libswscale/x86/yuv2rgb_template.c libswscale/yuv2rgb.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: FATE: add tests for targa ARM: fix Thumb-mode simple_idct_arm ARM: 4-byte align start of all asm functions rgb2rgb: rgb12to15() swscale-test: fix stack overread. swscale: fix invalid conversions and memory problems. cabac: split cabac.h into declarations and function definitions cabac: Mark ff_h264_mps_state array as static, it is only used within cabac.c. cabac: Remove ff_h264_lps_state array. Conflicts: libswscale/rgb2rgb.h libswscale/swscale_unscaled.c tests/fate/image.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: fate: Add tests for more AAC features. aacps: Add missing newline in error message. fate: Add tests for vc1/wmapro in ism. aacdec: Add a fate test for 5.1 channel SBR. aacdec: Turn off PS for multichannel files that use PCE based configs. cabac: remove put_cabac_u/ueg from cabac-test. swscale: RGB4444 and BGR444 input FATE: add test for xWMA demuxer. FATE: add test for SMJPEG demuxer and associated IMA ADPCM audio decoder. mpegaudiodec: optimized iMDCT transform mpegaudiodec: change imdct window arrangment for better pointer alignment mpegaudiodec: move imdct and windowing function to mpegaudiodsp mpegaudiodec: interleave iMDCT buffer to simplify future SIMD implementations swscale: convert yuy2/uyvy/nv12/nv21ToY/UV from inline asm to yasm. FATE: test to exercise WTV demuxer. mjpegdec: K&R formatting cosmetics swscale: K&R formatting cosmetics for code examples swscale: K&R reformatting cosmetics for header files FATE test: cvid-grayscale; ensures that the grayscale Cinepak variant is exercised. Conflicts: libavcodec/cabac.c libavcodec/mjpegdec.c libavcodec/mpegaudiodec.c libavcodec/mpegaudiodsp.c libavcodec/mpegaudiodsp.h libavcodec/mpegaudiodsp_template.c libavcodec/x86/Makefile libavcodec/x86/imdct36_sse.asm libavcodec/x86/mpegaudiodec_mmx.c libswscale/swscale-test.c libswscale/swscale.c libswscale/swscale_internal.h libswscale/x86/swscale_template.c tests/fate/demux.mak tests/fate/microsoft.mak tests/fate/video.mak tests/fate/wma.mak tests/ref/lavfi/pixfmts_scale Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | sws: update copyright datesMichael Niedermayer2011-11-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws-test: Fix data alignmentMichael Niedermayer2011-10-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: Remove commented-out printf cruft.Diego Biurrun2011-05-28
| |
* | Merge libavcore into libavutilReinhard Tartler2011-02-16
| | | | | | | | Done to keep ABI compatible. Otherwise this is just silly
* | Remove a few if (p) av_freep(&p) formsClément Bœsch2011-02-06
|/ | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 523d9407d57e9210428b6d962f0ebf48aae55638)
* 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