diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-07-04 20:39:50 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-04 21:03:28 +0200 |
commit | 039e9fe01ca27606a0ec1a944d51041541e10aab (patch) | |
tree | 9fc96837e878cdb2c13b6016d9f3d69785570488 /tests | |
parent | 8b421fad24acbba69935caf2a2775bd04f8a707a (diff) | |
parent | 7c29377b702783680b223a12503df784b1808086 (diff) | |
download | ffmpeg-039e9fe01ca27606a0ec1a944d51041541e10aab.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master: (29 commits)
lavfi: reclassify showfiltfmts as a TESTPROG
graph2dot: fix printf format specifier
swscale: yuv2planeX 8bit >=sse2 functions need aligned stack on x86-32.
vp8: loopfilter >=sse2 functions need aligned stack on x86-32.
amr: remove shift out of the AMR_BIT() macro.
dsputilenc: group yasm and inline asm function pointer assignment.
mov: use forward declaration of a function instead of a table.
Clarify Doxygen comment for FF_API_* #defines.
configure: simplify get_version()
Create version.h headers for libraries that lack them
gitignore: Use full path instead of relative path to specify patterns
mpegvideo: remove VLAs
Add XTEA encryption support in libavutil
Add Blowfish encryption support in libavutil
eval: Add the isinf() function and tests for it
flacdec: move lpc filter to flacdsp
flacdec: split off channel decorrelation as flacdsp
avplay: Add an option for not limiting the input buffer size
FATE: add a test for WMA cover art.
FATE: add a test for apetag cover art
...
Conflicts:
.gitignore
configure
ffplay.c
libavcodec/Makefile
libavcodec/error_resilience.c
libavcodec/mpegvideo.c
libavcodec/ratecontrol.c
libavdevice/avdevice.h
libavfilter/Makefile
libavfilter/filtfmts.c
libavfilter/version.h
libavformat/mov.c
libavformat/version.h
libavutil/Makefile
libavutil/avutil.h
libavutil/version.h
libswscale/swscale.h
libswscale/x86/swscale_mmx.c
tests/fate/libavutil.mak
tests/lavfi-regression.sh
tools/graph2dot.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile | 4 | ||||
-rw-r--r-- | tests/fate/cover-art.mak | 19 | ||||
-rw-r--r-- | tests/fate/flac.mak | 19 | ||||
-rw-r--r-- | tests/fate/libavutil.mak | 8 | ||||
-rwxr-xr-x | tests/lavfi-regression.sh | 2 | ||||
-rw-r--r-- | tests/ref/fate/blowfish | 1 | ||||
-rw-r--r-- | tests/ref/fate/eval | 12 | ||||
-rw-r--r-- | tests/ref/fate/xtea | 1 |
8 files changed, 64 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile index eda938a3a5..9b52f07b4a 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -48,11 +48,13 @@ include $(SRC_PATH)/tests/fate/atrac.mak include $(SRC_PATH)/tests/fate/audio.mak include $(SRC_PATH)/tests/fate/bmp.mak include $(SRC_PATH)/tests/fate/cdxl.mak +include $(SRC_PATH)/tests/fate/cover-art.mak include $(SRC_PATH)/tests/fate/dct.mak include $(SRC_PATH)/tests/fate/demux.mak include $(SRC_PATH)/tests/fate/dfa.mak include $(SRC_PATH)/tests/fate/dpcm.mak include $(SRC_PATH)/tests/fate/ea.mak +include $(SRC_PATH)/tests/fate/flac.mak include $(SRC_PATH)/tests/fate/fft.mak include $(SRC_PATH)/tests/fate/h264.mak include $(SRC_PATH)/tests/fate/image.mak @@ -106,7 +108,7 @@ FATE += $(FATE_LIBAVUTIL) $(FATE_FFMPEG) $(FATE_LAVF_FATE) $(FATE_SAMPLES_AVCONV) $(FATE_SAMPLES_FFMPEG): ffmpeg$(EXESUF) $(FATE_LAVF): $(AREF) $(VREF) -$(FATE_LAVFI): $(VREF) tools/lavfi-showfiltfmts$(EXESUF) +$(FATE_LAVFI): $(VREF) libavfilter/filtfmts-test$(EXESUF) $(FATE_SEEK): fate-acodec fate-vsynth2 fate-lavf libavformat/seek-test$(EXESUF) $(FATE_LAVF_FATE): CMD = lavffatetest diff --git a/tests/fate/cover-art.mak b/tests/fate/cover-art.mak new file mode 100644 index 0000000000..f35e9bb729 --- /dev/null +++ b/tests/fate/cover-art.mak @@ -0,0 +1,19 @@ +FATE_COVER_ART += fate-cover-art-ape +fate-cover-art-ape: CMD = md5 -i $(SAMPLES)/cover_art/luckynight_cover.ape -an -c:v copy -f rawvideo +fate-cover-art-ape: REF = 45333c983c45af54449dff10af144317 + +FATE_COVER_ART += fate-cover-art-m4a +fate-cover-art-m4a: CMD = md5 -i $(SAMPLES)/cover_art/Owner-iTunes_9.0.3.15.m4a -an -c:v copy -f rawvideo +fate-cover-art-m4a: REF = 08ba70a3b594ff6345a93965e96a9d3e + +FATE_COVER_ART += fate-cover-art-wma +fate-cover-art-wma: CMD = md5 -i $(SAMPLES)/cover_art/Californication_cover.wma -an -c:v copy -f rawvideo +fate-cover-art-wma: REF = 0808bd0e1b61542a16e1906812dd924b + +FATE_COVER_ART += fate-cover-art-wv +fate-cover-art-wv: CMD = md5 -i $(SAMPLES)/cover_art/luckynight_cover.wv -an -c:v copy -f rawvideo +fate-cover-art-wv: REF = 45333c983c45af54449dff10af144317 + +$(FATE_COVER_ART): CMP = oneline +FATE_SAMPLES_AVCONV += $(FATE_COVER_ART) +fate-cover-art: $(FATE_COVER_ART) diff --git a/tests/fate/flac.mak b/tests/fate/flac.mak new file mode 100644 index 0000000000..c5340590d1 --- /dev/null +++ b/tests/fate/flac.mak @@ -0,0 +1,19 @@ +FATE_FLAC += fate-flac-chmode-indep \ + fate-flac-chmode-left_side \ + fate-flac-chmode-mid_side \ + fate-flac-chmode-right_side \ + fate-flac-fixed \ + fate-flac-lpc-cholesky \ + fate-flac-lpc-levinson \ + +fate-flac-chmode-%: OPTS = -ch_mode $(@:fate-flac-chmode-%=%) +fate-flac-fixed: OPTS = -lpc_type fixed +fate-flac-lpc-%: OPTS = -lpc_type $(@:fate-flac-lpc-%=%) + +fate-flac-%: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav +fate-flac-%: CMD = enc_dec_pcm flac wav s16le $(REF) -c flac $(OPTS) +fate-flac-%: CMP = oneoff +fate-flac-%: FUZZ = 0 + +FATE_AVCONV += $(FATE_FLAC) +fate-flac: $(FATE_FLAC) diff --git a/tests/fate/libavutil.mak b/tests/fate/libavutil.mak index e9bced8e3b..488ec6b674 100644 --- a/tests/fate/libavutil.mak +++ b/tests/fate/libavutil.mak @@ -12,6 +12,10 @@ FATE_LIBAVUTIL += fate-base64 fate-base64: libavutil/base64-test$(EXESUF) fate-base64: CMD = run libavutil/base64-test +FATE_LIBAVUTIL += fate-blowfish +fate-blowfish: libavutil/blowfish-test$(EXESUF) +fate-blowfish: CMD = run libavutil/blowfish-test + FATE_LIBAVUTIL += fate-bprint fate-bprint: libavutil/bprint-test$(EXESUF) fate-bprint: CMD = run libavutil/bprint-test @@ -49,4 +53,8 @@ FATE_LIBAVUTIL += fate-sha fate-sha: libavutil/sha-test$(EXESUF) fate-sha: CMD = run libavutil/sha-test +FATE_LIBAVUTIL += fate-xtea +fate-xtea: libavutil/xtea-test$(EXESUF) +fate-xtea: CMD = run libavutil/xtea-test + fate-libavutil: $(FATE_LIBAVUTIL) diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh index 78a68c570f..dd5e2dac62 100755 --- a/tests/lavfi-regression.sh +++ b/tests/lavfi-regression.sh @@ -67,7 +67,7 @@ do_lavfi_pixfmts(){ filter=$1 filter_args=$2 - showfiltfmts="$target_exec $target_path/tools/lavfi-showfiltfmts" + showfiltfmts="$target_exec $target_path/libavfilter/filtfmts-test" scale_exclude_fmts=${outfile}${1}_scale_exclude_fmts scale_in_fmts=${outfile}${1}_scale_in_fmts scale_out_fmts=${outfile}${1}_scale_out_fmts diff --git a/tests/ref/fate/blowfish b/tests/ref/fate/blowfish new file mode 100644 index 0000000000..fed0b4dd3b --- /dev/null +++ b/tests/ref/fate/blowfish @@ -0,0 +1 @@ +Test encryption/decryption success. diff --git a/tests/ref/fate/eval b/tests/ref/fate/eval index 1931650867..b0723dff14 100644 --- a/tests/ref/fate/eval +++ b/tests/ref/fate/eval @@ -112,6 +112,18 @@ Evaluating 'isnan(1)' Evaluating 'isnan(NAN)' 'isnan(NAN)' -> 1.000000 +Evaluating 'isnan(INF)' +'isnan(INF)' -> 0.000000 + +Evaluating 'isinf(1)' +'isinf(1)' -> 0.000000 + +Evaluating 'isinf(NAN)' +'isinf(NAN)' -> 0.000000 + +Evaluating 'isinf(INF)' +'isinf(INF)' -> 1.000000 + Evaluating 'floor(NAN)' 'floor(NAN)' -> nan diff --git a/tests/ref/fate/xtea b/tests/ref/fate/xtea new file mode 100644 index 0000000000..fed0b4dd3b --- /dev/null +++ b/tests/ref/fate/xtea @@ -0,0 +1 @@ +Test encryption/decryption success. |