summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-06
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: fate: Allow setting the ld parameter from the config file x86: dsputil: Do not redundantly check for CPU caps before calling init funcs configure: Disable some warnings in MSVC x86: vp56: cmov version of vp56_rac_get_prob requires inline asm avopt: fix examples to match the same style about default values as the actual code. configure: Add support for MSVC cl.exe/link.exe lavu: add snprintf(), vsnprint() and strtod() replacements for MS runtime. Conflicts: libavutil/opt.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: Allow setting the ld parameter from the config fileMartin Storsjö2012-09-06
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * adpcmenc: Calculate the IMA_QT predictor without overflowMichael Niedermayer2012-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the value given to put_bits was 10 bits long for positive predictors, even though 9 bits were to be written. The extra bit could in some cases overwrite existing bits in the bitstream writer cache. This fixes a failed assert in put_bits.h, when running a version built with -DDEBUG. The fate test result gets slightly improved, thanks to getting rid of the overwritten bits in the bitstream writer cache. Signed-off-by: Martin Storsjö <martin@martin.st>
* | tests/lavfi-regression: name temporary files after $testname in ↵Stefano Sabatini2012-09-06
| | | | | | | | | | | | | | | | | | | | | | do_lavfi_pixfmts() Fix a failure when running do_lavfi_pixfmts() for the lavfi-tinterlace_merge and lavfi-tinterlace_pad tests concurrently. Since they were using the same names for the temporary files, the first ending test was removing them, and the second test was failing at removing unexisting files.
* | tests: add tinterlace filter testsStefano Sabatini2012-09-06
| | | | | | | | Only the merge and pad modes are tested.
* | tests/lavfi-regressions: support user-specified test name in do_lavfi_pixfmts()Stefano Sabatini2012-09-06
| | | | | | | | | | | | | | | | Make do_lavfi_pixfmts() support an user-specified name for the test. This allows to specify two pixfmts tests for the same filter, e.g. to test a filter with different parameters. Useful for the pending tinterlace tests.
* | fate: add ansi256 test casePeter Ross2012-09-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ansi: erase screen on first framePeter Ross2012-09-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ansi: support 256-colorsPeter Ross2012-09-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate-utvideoenc: remove unneeded -f aviMichael Niedermayer2012-09-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'ec36aa69448f20a78d8c4588265022e0b2272ab5'Michael Niedermayer2012-08-31
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ec36aa69448f20a78d8c4588265022e0b2272ab5': x86: Fix linking with some or all of yasm, mmx, optimizations disabled configure: Add more fine-grained SSE CPU capabilities flags avfilter: x86: Use more precise compile template names x86: cosmetics: Comment some #endifs for better readability g723_1: add comfort noise generation utvideoenc: Switch to dsputils' median prediction utvideoenc: Avoid writing into the input picture avtools: remove the distinction between func_arg and func2_arg. avconv: make the -passlogfile option per-stream. avconv: make the -pass option per-stream. cmdutils: make -codecs print lossy/lossless flags. lavc: add lossy/lossless codec properties. Conflicts: Changelog cmdutils.c configure doc/APIchanges ffmpeg.h ffmpeg_opt.c ffprobe.c libavcodec/codec_desc.c libavcodec/g723_1.c libavcodec/utvideoenc.c libavcodec/version.h libavcodec/x86/mpegaudiodec.c libavcodec/x86/rv40dsp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * g723_1: add comfort noise generationKostya Shishkov2012-08-30
| |
| * utvideoenc: use ff_huff_gen_len_tableMichael Niedermayer2012-08-28
| | | | | | | | | | | | Avoid code duplication and provide faster and better compression. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | aacdec: fix priming/skip for AAC HE/HE2Michael Niedermayer2012-08-30
| | | | | | | | | | | | | | There is a remaining error of 2 - 8 samples in some but not all cases, the source of the error is unknown ATM. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dpx: 10 and 12 bit decodingGeorg Lippitsch2012-08-27
| | | | | | | | | | | | | | | | Rewrite 10 bit dpx decoder to decode into GBRP10 color space instead of converting to RGB48. Add 12 bit decoder to decode into GBRP12 color space. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-26
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: audio_frame_queue: Clean up ff_af_queue_log_state debug function dwt: Remove unused code. cavs: convert cavsdata.h to a .c file cavs: Move inline functions only used in one file out of the header cavs: Move data tables used in only one place to that file fate: Add a single symbol Ut Video decoder test vf_hqdn3d: x86 asm vf_hqdn3d: support 16bit colordepth avconv: prefer user-forced input framerate when choosing output framerate Conflicts: ffmpeg.c libavcodec/audio_frame_queue.c libavcodec/dwt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: Add a single symbol Ut Video decoder testJan Ekström2012-08-26
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | nutenc: Support writing an indexMichael Niedermayer2012-08-26
| | | | | | | | | | | | | | The seek test improves in accuracy Fixes Ticket877 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-26
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: x86: fft: remove unused fft_dispatch* functions avconv: remove unused variable opt_shortest FATE: Add Canopus Lossless tests cllc: Pad swapped buffer Conflicts: ffmpeg_opt.c tests/ref/fate/cllc-argb tests/ref/fate/cllc-rgb Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * FATE: Add Canopus Lossless testsDerek Buitenhuis2012-08-25
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-23
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: doc/APIchanges: add an entry for codec descriptors. vorbisenc: set AVCodecContext.bit_rate to 0 vorbisenc: fix quality parameter FATE: add ALAC encoding tests lpc: fix alignment of windowed samples for odd maximum LPC order alacenc: use s16p sample format as input alacenc: remove unneeded sample_fmt check alacenc: fix max_frame_size calculation for the final frame adpcm_swf: Use correct sample offsets when using trellis. rtmp: support strict rtmp servers mjpegdec: support AVRn interlaced x86: remove FASTDIV inline asm Conflicts: doc/APIchanges libavcodec/mjpegdec.c libavcodec/vorbisenc.c libavutil/x86/intmath.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * FATE: add ALAC encoding testsJustin Ruggles2012-08-22
| |
| * fate: flac: Only run tests requiring samples when samples are availableDiego Biurrun2012-08-22
| |
| * fate: make Ut Video encoder tests use bitexact swscale flagsJan Ekström2012-08-21
| | | | | | | | | | | | | | | | | | The failures on various architectures and compilers on the RGB(A) tests seem to have been because of one-off YCbCr->RGB conversion results. This should make the conversion results match on most if not all code paths. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * fate: fix utvideoenc testsMans Rullgard2012-08-20
| | | | | | | | | | | | | | For some reason, the prerequisites have to be specified like this. Make works in mysterious ways. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | FATE: Add Canopus Lossless testsDerek Buitenhuis2012-08-22
| | | | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | utvideoenc: use ff_generate_len()Michael Niedermayer2012-08-22
| | | | | | | | | | | | | | | | | | | | | | | | 19% faster smaller files this may also fix possible integer overflows due to previous 32bit useage Tested with libutvideo and our utvideo decoder, this patch does not change decoder output in the test Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mov: Change default aac priming fallback from 2112 to 1024Justin Greer2012-08-21
| | | | | | | | | | | | This fixes priming for faac Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: make Ut Video encoder tests use bitexact swscale flagsJan Ekström2012-08-21
| | | | | | | | | | | | | | | | | | The failures on various architectures and compilers on the RGB(A) tests seem to have been because of one-off YCbCr->RGB conversion results. This should make the conversion results match on most if not all code paths. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | fate: fix utvideoenc testsMans Rullgard2012-08-20
| | | | | | | | | | | | | | For some reason, the prerequisites have to be specified like this. Make works in mysterious ways. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: fate: Add FATE tests for the Ut Video encoder lavc: add Ut Video encoder mpegvideo_enc: remove stray duplicate line from 7f9aaa4 swscale: x86: fix #endif comments in rgb2rgb template file avconv: mark more options as expert. avconv: split printing "main options" into global and per-file. avconv: refactor help printing. Conflicts: Changelog ffmpeg_opt.c ffserver.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: Add FATE tests for the Ut Video encoderJan Ekström2012-08-20
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | lavfi: add edgedetect filter.Clément Bœsch2012-08-16
| |
* | srtenc: Add timing-less "subrip" encoder.Philip Langdale2012-08-15
| | | | | | | | | | | | | | | | | | Unsurprisingly, if a timing-less subrip decoder is desireable, an encoder is as well. With this in place, we can move on to remove the use of the old encoder/decoder with embedded timing and move all timing handling the (de)muxer where they belong. Signed-off-by: Philip Langdale <philipl@overt.org>
* | prores_kostya: fix incorrect picture_size field.Boris Maksalov2012-08-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffmpeg: copy subtitles frame dimensions.Nicolas George2012-08-14
| | | | | | | | | | The sub-movtextenc ref file changes because the dimensions (400×60) are stored by the format.
* | fate: split asyncts from aresample testMichael Niedermayer2012-08-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-12
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavf: Detect discontinuities in timestamps for framerate/analyzeduration calculation lavf: Initialize the stream info timestamps in avformat_new_stream id3v2: Match PIC mimetype/format case-insensitively configure: Rename check_asm() to more fitting check_inline_asm() fate: Only test enabled filters avresample: De-doxygenize some comments where Doxygen is not appropriate rtmp: split chunk_size var into in_chunk_size and out_chunk_size rtmp: Factorize the code by adding find_tracked_method Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: Only test enabled filtersDiego Biurrun2012-08-11
| | | | | | | | This fixes running FATE without --enable-gpl.
* | ffmpeg: Do not discard slightly invalid timestamps.Michael Niedermayer2012-08-12
| | | | | | | | | | | | | | | | | | | | Fixes Ticket1627 The fate change is due to ffmpeg no longer pushing audio timestamps aggressively up (which is what caused the AV sync issues in the ticket) but leaving them as they are. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: g723.1: fix addition overflow g723.1: simplify and fix multiplication overflow g723.1: deobfuscate an expression g723.1: remove unused #includes ARM: add missing "cc" clobber in av_clipl_int32_arm() rtmp: Factorize the code by adding handle_invoke_error rtmp: Factorize the code by adding handle_invoke_status rtmp: Factorize the code by adding handle_invoke_result libavutil: remove unused av_abort() macro ffmenc: replace if/abort with assert() libavutil: drop offsetof() fallback definition libavutil: drop fallback definitions of INTxx_MIN/MAX configure: Check for a sctp struct instead of just the header configure: suncc: Add -xc99 to dependency flags, required on Solaris doxygen: Fix function parameter names to match the code doc: Drop obsolete shared libs cflags hint to workaround Cygwin gcc bugs swf: Move shared table out of the header file swf: Move swf_audio_codec_tags table to the only place it is used fate: add G.723.1 decoder tests Conflicts: configure doc/platform.texi libavformat/Makefile libavutil/arm/intmath.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * g723.1: fix addition overflowMans Rullgard2012-08-10
| | | | | | | | | | | | | | This addition must be done as 64-bit to avoid overflow and for the subsequent clipping to be meaningful. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * fate: add G.723.1 decoder testsKostya Shishkov2012-08-09
| |
* | yadif: redesign first and last 2 lines handling.Michael Niedermayer2012-08-10
| | | | | | | | | | | | | | | | | | | | | | | | The previous code dependent on the input buffer matching the buffer that has been provided by yadifs get_buffer. The API does in now way gurantee this though its often true. This fixes some out of array reads. The regression test checksums change due to "out of picture" values being initialized differently. There should be no visual difference in the filters output Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-09
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (23 commits) build: cosmetics: Reorder some lists in a more logical fashion x86: pngdsp: Fix assembly for OS/2 fate: add test for RTjpeg in nuv with frameheader rtmp: send check_bw as notification g723_1: clip argument for 15-bit version of normalize_bits() g723_1: use all LPC vectors in formant postfilter id3v2: Support v2.2 PIC avplay: fix build with lavfi disabled. avconv: split configuring filter configuration to a separate file. avconv: split option parsing into a separate file. mpc8: do not leave padding after last frame in buffer for the next decode call mpegaudioenc: list supported channel layouts. mpegaudiodec: don't print an error on > 1 frame in a packet. api-example: update to new audio encoding API. configure: add --enable/disable-random option doc: cygwin: Update list of FATE package requirements build: Remove all installed headers and header directories on uninstall build: change checkheaders to use regular build rules rtmp: Add a new option 'rtmp_subscribe' rtmp: Add support for subscribing live streams ... Conflicts: Makefile common.mak configure doc/examples/decoding_encoding.c ffmpeg.c libavcodec/g723_1.c libavcodec/mpegaudiodec.c libavcodec/x86/pngdsp.asm libavformat/version.h library.mak tests/fate/video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: add test for RTjpeg in nuv with frameheaderJanne Grunau2012-08-08
| | | | | | | | | | Renames the old test to allow using fate-nuv as group for all nuv tests.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-06
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: nuv: K&R formatting cosmetics build: generalise rules and variable settings for av* programs nuv: check RTjpeg header for validity Revert "nuv: check per-frame header for validity." imc: remove unused field IMCContext.one_div_log2 imc: fix size of a memset() imc: remove empty if() block fate: simplify variable setting filter.mak lavf: Declare an AVRational struct without a struct literal Conflicts: Makefile configure libavcodec/nuv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: simplify variable setting filter.makMans Rullgard2012-08-06
| | | | | | | | | | | | This removes some needless indirection and duplication. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | fate: add bitexact flag to fate-sub-movtextencMichael Niedermayer2012-08-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavr: fix handling of custom mix matrices fate: force pix_fmt in lagarith-rgb32 test fate: add tests for lagarith lossless video codec. ARMv6: vp8: fix stack allocation with Apple's assembler ARM: vp56: allow inline asm to build with clang fft: 3dnow: fix register name typo in DECL_IMDCT macro x86: dct32: port to cpuflags x86: build: replace mmx2 by mmxext Revert "wmapro: prevent division by zero when sample rate is unspecified" wmapro: prevent division by zero when sample rate is unspecified lagarith: fix color plane inversion for YUY2 output. lagarith: pad RGB buffer by 1 byte. dsputil: make add_hfyu_left_prediction_sse4() support unaligned src. Conflicts: doc/APIchanges libavcodec/lagarith.c libavfilter/x86/gradfun.c libavutil/cpu.h libavutil/version.h libswscale/utils.c libswscale/version.h libswscale/x86/yuv2rgb.c Merged-by: Michael Niedermayer <michaelni@gmx.at>