summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* latmenc: copy pce config from proper location.Reimar Döffinger2012-04-12
| | | | | | | | | For the FATE test sample used, this only avoids a warning message. However for other samples like al05_44.mp4 the converted file can be played only after this fix. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* latmenc: fix muxing of byte-aligned DSE.Reimar Döffinger2012-04-12
| | | | | | | | This will only work for DSEs that are first in a packet, but that is enough to fix handling of the reference files in fate-suite/aac (though most of them still have other issues). Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* lavf: always call avio_flush in av_write_trailer.Reimar Döffinger2012-04-12
| | | | | | | | | | Otherwise for muxers like e.g. latmenc that never call avio_flush (and do not have a write_trailer function) a part of the data will always be missing. Also update references for the voc muxer, which was also buggy before and did not write out all data. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) rv40dsp x86: use only one register, for both increment and loop counter rv40dsp: implement prescaled versions for biweight. avconv: use default channel layouts when they are unknown avconv: parse channel layout string nutdec: K&R formatting cosmetics vda: Signal 4 byte NAL headers to the decoder regardless of what's in the extradata mem: Consistently return NULL for av_malloc(0) vf_overlay: implement poll_frame() vf_scale: support named constants for sws flags. lavc doxy: add all installed headers to doxy groups. lavc doxy: add avfft to the main lavc group. lavc doxy: add remaining avcodec.h functions to a misc doxygen group. lavc doxy: add AVPicture functions to a doxy group. lavc doxy: add resampling functions to a doxy group. lavc doxy: replace \ with / lavc doxy: add encoding functions to a doxy group. lavc doxy: add decoding functions to a doxy group. lavc doxy: fix formatting of AV_PKT_DATA_{PARAM_CHANGE,H263_MB_INFO} lavc doxy: add AVPacket-related stuff to a separate doxy group. lavc doxy: add core functions/definitions to a doxy group. ... Conflicts: ffmpeg.c libavcodec/avcodec.h libavcodec/vda.c libavcodec/x86/rv40dsp.asm libavfilter/vf_scale.c libavformat/nutdec.c libavutil/mem.c tests/ref/acodec/pcm_s24daud Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avconv: use default channel layouts when they are unknownJustin Ruggles2012-04-10
| | | | | | | | | | | | | | | | | | If either input or output layout is known and the channel counts match, use the known layout for both. Otherwise choose the default layout based on av_get_default_channel_layout(). Changed some FATE references due to some WAVE files now having a non-zero channel mask.
* | Fix gif regression test on big-endian.Reimar Döffinger2012-04-09
| | | | | | | | | | | | | | Decode output must be converted to rgb24 to avoid CRC difference due to palette being stored in machine endianness. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add gif and xbm regression tests.Reimar Döffinger2012-04-09
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | vf_scale: ensure the palette is set for output.Reimar Döffinger2012-04-09
| | | | | | | | | | | | | | | | Since those are pseudo-palette formats, swscale does not write into data[1], swscale must initialize the palette properly itself. This lead to frames that actually decoded as all-gray before. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add v408 codec regression test.Reimar Döffinger2012-04-09
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add roqaudio regression test.Reimar Döffinger2012-04-09
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Allow running fate-wmv8-x8intra manually.Reimar Döffinger2012-04-08
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Allow manually running disabled FATE tests.Reimar Döffinger2012-04-08
| | | | | | | | | | | | | | | | This makes it easy to allow people to run tests that are disabled (e.g. because they are broken) without having to hack Makefiles by adding the test name to FATE_TESTS-no. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Update reference for disabled fate-wmv8-x8intra test to new format.Reimar Döffinger2012-04-08
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add nellymoser "fuzzy" FATE test.Reimar Döffinger2012-04-08
| | | | | | | | | | | | | | | | Since we cannot specify decode parameters (and also because it is better in principle) the 1-channel reference file needs to be enabled, too. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Fixes for third argument do_image_formats.Reimar Döffinger2012-04-08
| | | | | | | | | | | | | | | | | | Remove it from two places where it is useless, do not apply it to the encode command and make it apply to the output instead of the input of the decode command. Should fix the dpx test. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Do not decode the mp3 data in lavf test since that is not bit-exact.Reimar Döffinger2012-04-07
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | dcaenc: Allow encoding without specifying a channel_layout.Reimar Döffinger2012-04-07
| | | | | | | | | | | | | | It will print a warning, making the behaviour consistent with the AC3 encoder. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Test mp3 container muxing (and thus ID3 writing).Reimar Döffinger2012-04-07
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Fix DCA regression test to work across architectures.Reimar Döffinger2012-04-07
| | | | | | | | | | | | Only the decoding step is not bit-exact, so avoid checksum for that. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | fate: try to force le for the dpx decoder side tooMichael Niedermayer2012-04-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add AAC FATE encode tests.Reimar Döffinger2012-04-07
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Remove AAC and nellymoser tests that do not work.Reimar Döffinger2012-04-07
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add tests for audio encoders: aac, dca, ra144 and nellymoser.Reimar Döffinger2012-04-07
| | | | | | | | | | | | | | | | | | | | | | The PSNR values are of varying usefulness, though at least the DTS and AAC ones are useful with the right shift value. Note: due to usage of floats some of these may fail on other architectures. In that case they should be converted into a CMD = stddev FATE test, but it seems useful to try this way first. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | adpcmenc: fix encoded s_0 value.Michael Niedermayer2012-04-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: try to fix >8bit dpx reg testMichael Niedermayer2012-04-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tiny_psnr: allow searching for optimal shift value.Reimar Döffinger2012-04-06
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add regression test for mov rtp hinting.Reimar Döffinger2012-04-06
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | dpxenc: also test 10 and 16 bit formats.Reimar Döffinger2012-04-06
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | fix fate tests after 76c79aa28fc8cf0bfe52915317a3cfc72383d0efMichael Niedermayer2012-04-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-05
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: h264: Factorize declaration of mb_sizes array. vsrc_buffer: when no frame is available, return an error instead of segfaulting. configure: add dl to frei0r extralibs. dsputil x86: use SSE float instruction instead of SSE2 integer equivalent dsputil x86: remove deprecated parameter from scalarproduct_int16 prototype vp8dsp x86: perform rounding shift with a single instruction fate: add BMP tests. swscale: handle complete dimensions for monoblack/white. aacenc: Mark deinterleave_input_samples argument as const. vf_unsharp: Mark readonly variable as const. h264: fix 4:2:2 PCM-macroblocks decoding Conflicts: configure libavcodec/h264.h libavcodec/x86/dsputil_mmx.c libavfilter/vf_unsharp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: add BMP tests.Ronald S. Bultje2012-04-04
| |
| * FATE: Add RALF decoding testDerek Buitenhuis2012-04-01
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | lavfi/colormatrix: add forgotten tests.Clément Bœsch2012-04-05
| |
* | asfenc: properly write index informationRamiro Polla2012-04-05
| | | | | | | | | | | | | | The index must take into account the pre-roll time and must seek backwards, not forwards. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | asfenc: start at object 1 instead of 0Ramiro Polla2012-04-05
| | | | | | | | | | | | This is how it is done in the official muxer. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavfilter: add colormatrix filtermultiple authors2012-04-04
| | | | | | | | | | | | Ported by: Baptiste Coudurier cleanup+fate by ubitux For detailed authorship of the original code please see avisynth
* | Add forgotten avio-direct reference file.Reimar Döffinger2012-04-04
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add AVIO_FLAG_DIRECT.Reimar Döffinger2012-04-04
| | | | | | | | | | | | | | | | Allows avoiding the buffer when using avio read, write and seek functions. When using the ffmpeg executable -avioflags direct can be used to enable this mode for input files, but has no effect on output files. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | The lt and lte functions were swapped.maxlazarov2012-04-01
| |
* | FATE: Add RALF decoding testDerek Buitenhuis2012-03-31
| | | | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: update regression checksum due to 95ce0ddcfe99182365e0e57f5f41d7f1a01c57ebMichael Niedermayer2012-03-31
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate/vp8-size-change: set bitexact flagMichael Niedermayer2012-03-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-29
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: asf: only set index_read if the index contained entries. cabac: add overread protection to BRANCHLESS_GET_CABAC(). cabac: increment jump locations by one in callers of BRANCHLESS_GET_CABAC(). cabac: remove unused argument from BRANCHLESS_GET_CABAC_UPDATE(). cabac: use struct+offset instead of memory operand in BRANCHLESS_GET_CABAC(). h264: add overread protection to get_cabac_bypass_sign_x86(). h264: reindent get_cabac_bypass_sign_x86(). h264: use struct offsets in get_cabac_bypass_sign_x86(). h264: fix overreads in cabac reader. wmall: fix seeking. lagarith: fix buffer overreads. dvdec: drop unnecessary dv_tablegen.h #include build: fix doc generation errors in parallel builds Replace memset(0) by zero initializations. faandct: Remove FAAN_POSTSCALE define and related code. dvenc: print allowed profiles if the video doesn't conform to any of them. avcodec_encode_{audio,video}: only reallocate output packet when it has non-zero size. FATE: add a test for vp8 with changing frame size. fate: add kgv1 fate test. oggdec: calculate correct timestamps in Ogg/FLAC Conflicts: libavcodec/4xm.c libavcodec/cook.c libavcodec/dvdata.c libavcodec/dvdsubdec.c libavcodec/lagarith.c libavcodec/lagarithrac.c libavcodec/utils.c tests/fate/video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * FATE: add a test for vp8 with changing frame size.Anton Khirnov2012-03-28
| |
| * fate: add kgv1 fate test.Ronald S. Bultje2012-03-27
| | | | | | | | Tested to be bit-exact across x86-64, x86-32 and ppc.
* | vf_hflip: accept PIX_FMT_RGB444 and PIX_FMT_BGR444 pixel formatsPaul B Mahol2012-03-26
| | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> added fate checksum update Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-24
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: rv34: error out on size changes with frame threading aacsbr: Add a debug check to sbr_mapping. aac: Reset some state variables when turning SBR off aac: Reset PS parameters on header decode failure. fate: add wmalossless test. aacsbr: handle m_max values smaller than 4. Conflicts: libavcodec/aacsbr.c tests/fate/lossless-audio.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: add wmalossless test.Ronald S. Bultje2012-03-23
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-22
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: FATE: Add ZeroCodec test oggparseogm: fix order of arguments of avpriv_set_pts_info(). pngenc: better upper bound for encoded frame size. aiffdec: set block_duration to 1 for PCM codecs that are supported in AIFF-C aiffdec: factor out handling of integer PCM for AIFF-C and plain AIFF aiffdec: use av_get_audio_frame_duration() to set block_duration for AIFF-C aiffdec: do not set bit rate if block duration is unknown wmall: output packet only if we have decoded some samples Conflicts: libavcodec/pngenc.c tests/fate/lossless-video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * FATE: Add ZeroCodec testDerek Buitenhuis2012-03-22
| | | | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>