summaryrefslogtreecommitdiff
path: root/libavcodec/tests
Commit message (Collapse)AuthorAge
* avcodec/tests: Add codec_desc to .gitignoreFeRD (Frank Dana)2019-01-22
| | | | | | | | | The compiled libavcodec/tests/codec_desc was left out of that dir's .gitignore when the test was added, so it shows up in 'git status' as an untracked file if it's been built. Signed-off-by: FeRD (Frank Dana) <ferdnyc@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/tests/rangecoder: initialize array to avoid valgrind warningMichael Niedermayer2019-01-14
| | | | | Found-by: jamrial Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/rangecoder: Add and test ff_rac_check_termination()Michael Niedermayer2018-12-31
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/tests/rangecoder: Test coder more completelyMichael Niedermayer2018-12-31
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/rangecoder: factorize termination version codeMichael Niedermayer2018-12-31
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/proresdec : rename dsp part for 10b and check dspinit for supported ↵Martin Vignali2018-12-02
| | | | | | bits per raw sample based on patch by Kieran Kunhya
* h264_levels, h264_metadata_bsf: Fix levels typoAndreas Rheinhardt2018-11-13
| | | | | | | profile_idc for level 1b should be 11, not 10. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* lavc/h264: Add common code for level handlingMark Thompson2018-09-23
| | | | Including a unit test.
* avutil/pixdesc: add AV_PIX_FMT_FLAG_ALPHA to AV_PIX_FMT_PAL8Marton Balint2018-04-30
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* simple_idct: Template functions to support an input bitdepth parameterKieran Kunhya2018-04-02
|
* lav*,tests: remove several register_all callsJosh de Kock2018-04-02
| | | | | | | avdevice_register_all() is still required to register devices into lavf (this is required due to lavd being somewhat of a hack). Signed-off-by: Josh de Kock <josh@itanimul.li>
* fate/libavcodec: add codec_desc testMuhammad Faiz2018-02-12
| | | | | | | | Remove runtime check at codec_desc.c Reviewed-by: wm4 <nfxjfg@googlemail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* Ignore libavcodec/tests/mpeg12framerate, a test programJim DeLaHunt2017-11-18
| | | | | | | | | | | | | | | | | | | | | | | | Add to libavcodec/tests/.gitignore an entry for test program libavcodec/tests/mpeg12framerate . Other similar test programs, e.g. jpeg2000dwt and dct, are ignored in a similar way. On initially checking out master, and doing "./configure" and "make clean", "git status" reports no untracked files. After running "make fate", "git status" reports untracked file "libavcodec/tests/mpeg12framerate". mpeg12framerate is a unit test program. It was apparently introduced in commit 278c308ceae6b8d7bac1dfc24518821aae603988, on Tue Sep 12 22:11:56 2017 +0100. It added a new function ff_mpeg12_find_best_frame_rate() to libavcodec/mpeg12framerate.c , and the code in libavcodec/tests/mpeg12framerate.c to exercise that function. This commit also added the new program to the FATE suite, but it omitted a .gitignore entry. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* mpeg12: Add a common function to find the best frame rateMark Thompson2017-10-17
| | | | | | | This will be used later in both the mpeg2_metadata filter and the VAAPI MPEG-2 encoder. Also adds a unit test. (cherry picked from commit b5859e0b04bdbe12c97cb12ac10a45d51d2d73c9)
* add missing ignore filesJesse Liu2017-09-10
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/tests/dct: Add Mean square error testMichael Niedermayer2017-08-11
| | | | | | based on quotes of IEEE 1180 / ISO/IEC 23002-1 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/tests/dct: Add peak mean error checkMichael Niedermayer2017-08-11
| | | | | | based on quotes of IEEE 1180 / ISO/IEC 23002-1 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc/htmlsubtitles: improve line breaks handlingClément Bœsch2017-08-01
|
* lavc/tests: add htmlsubtitlesClément Bœsch2017-08-01
|
* avcodec/x86: add an 8-bit simple IDCT function based on the x86-64 high ↵James Darnley2017-06-28
| | | | | | | | depth functions Includes add/put functions Rounding contributed by Ronald S. Bultje
* lavc/tests/golomb: Add unit test for set_ue_golomb_long.Jun Zhao2017-06-24
| | | | | | | Add unit test for set_ue_golomb_long. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* build: Generalize yasm/nasm-related variable namesDiego Biurrun2017-06-21
| | | | | | | | None of them are specific to the YASM assembler. (Cherry-picked from libav commit 39e208f4d4756367c7cd2d581847e0c1b8a429c1) Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/x86: move simple_idct to external assemblyJames Darnley2017-05-30
|
* avcodec/tests/celp_math: Change IsAlmostEqual() to a functionMichael Niedermayer2017-03-24
| | | | | | Fixes empty statement, found by ubitux Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/tests: added test for celp_math.cThomas Turner2017-03-24
| | | | | Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit '2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428'James Almer2017-03-21
|\ | | | | | | | | | | | | * commit '2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428': idct: Change type of array stride parameters to ptrdiff_t Merged-by: James Almer <jamrial@gmail.com>
| * idct: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-29
| | | | | | | | ptrdiff_t is the correct type for array strides and similar.
* | lavc/tests/dct/aarch64: add ff_simple_idct_neon testMatthieu Bouron2017-03-16
| |
* | avcodec/tests/mjpegenc_huffman: Remove static in main() tableMichael Niedermayer2017-02-10
| | | | | | | | | | | | Avoids false positives when greping for non constant statics Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | tests/mjpegenc_huffman: align static tablesRostislav Pehlivanov2017-02-09
| | | | | | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | tests/mjpegenc_huffman: replace assert() with av_assert0()Rostislav Pehlivanov2017-02-09
| | | | | | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | Implement optimal huffman encoding for (M)JPEG.Jerry Jiang2017-02-08
| | | | | | | | | | | | | | > seems to break > make fate-vsynth1-mjpeg-444 Fixed.
* | avcodec/tests/fft: Fix indention of dct_init()Michael Niedermayer2017-01-01
| | | | | | | | | | | | Fixes CID1396253 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavcodec/tests: Add avpacket test to .gitignoreDerek Buitenhuis2016-12-10
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Added test for libavcodec/avpacket.cThomas Turner2016-12-06
| | | | | | | | | | Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: add test for avfftPetru Rares Sincraian2016-07-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/tests/options: Set timebaseMichael Niedermayer2016-06-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196'Clément Bœsch2016-06-22
|/ | | | | | | * commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196': tests: Move all test programs to a subdirectory Merged-by: Clément Bœsch <clement@stupeflix.com>
* tests: Move all test programs to a subdirectoryDiego Biurrun2016-05-13