Signed-off-by: Lukasz Marek <lukasz.m.lu...@gmail.com> --- tests/fate/libavcodec.mak | 4 + tests/ref/fate/libavcodec-options | 161 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 165 insertions(+) create mode 100644 tests/ref/fate/libavcodec-options
diff --git a/tests/fate/libavcodec.mak b/tests/fate/libavcodec.mak index 138a1b2..dad33bc 100644 --- a/tests/fate/libavcodec.mak +++ b/tests/fate/libavcodec.mak @@ -13,6 +13,10 @@ FATE_LIBAVCODEC-$(CONFIG_IIRFILTER) += fate-iirfilter fate-iirfilter: libavcodec/iirfilter-test$(EXESUF) fate-iirfilter: CMD = run libavcodec/iirfilter-test +FATE_LIBAVCODEC-yes += fate-libavcodec-options +fate-libavcodec-options: libavcodec/options-test$(EXESUF) +fate-libavcodec-options: CMD = run libavcodec/options-test + FATE_LIBAVCODEC-$(CONFIG_RANGECODER) += fate-rangecoder fate-rangecoder: libavcodec/rangecoder-test$(EXESUF) fate-rangecoder: CMD = run libavcodec/rangecoder-test diff --git a/tests/ref/fate/libavcodec-options b/tests/ref/fate/libavcodec-options new file mode 100644 index 0000000..17ec4f7 --- /dev/null +++ b/tests/ref/fate/libavcodec-options @@ -0,0 +1,161 @@ +testing avcodec_copy_context() +dummy_v1_codec -> dummy_v1_codec +closed: +dummy_v1_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v1_codec: 128x128 prv: set opts: 1500100900 i'm src default value +opened: +dummy_v1_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v1_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v1_codec -> dummy_v2_codec +closed: +dummy_v1_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v2_codec: 128x128 prv: set opts: 667 i'm dest value before copy +opened: +dummy_v1_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v2_codec: 128x128 prv: set opts: 667 i'm dest value before copy +dummy_v1_codec -> dummy_v3_codec +closed: +dummy_v1_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v3_codec: 128x128 prv: set +opened: +dummy_v1_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v3_codec: 128x128 prv: set +dummy_v1_codec -> dummy_v4_codec +closed: +dummy_v1_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v4_codec: 128x128 prv: null +opened: +dummy_v1_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v4_codec: 128x128 prv: null +dummy_v1_codec -> NULL +closed: +dummy_v1_codec: 128x128 prv: set opts: 1500100900 i'm src default value +NULL : 128x128 prv: null +opened: +dummy_v1_codec: 128x128 prv: set opts: 1500100900 i'm src default value +NULL : 128x128 prv: null +dummy_v2_codec -> dummy_v1_codec +closed: +dummy_v2_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v1_codec: 128x128 prv: set opts: 667 i'm dest value before copy +opened: +dummy_v2_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v1_codec: 128x128 prv: set opts: 667 i'm dest value before copy +dummy_v2_codec -> dummy_v2_codec +closed: +dummy_v2_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v2_codec: 128x128 prv: set opts: 1500100900 i'm src default value +opened: +dummy_v2_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v2_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v2_codec -> dummy_v3_codec +closed: +dummy_v2_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v3_codec: 128x128 prv: set +opened: +dummy_v2_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v3_codec: 128x128 prv: set +dummy_v2_codec -> dummy_v4_codec +closed: +dummy_v2_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v4_codec: 128x128 prv: null +opened: +dummy_v2_codec: 128x128 prv: set opts: 1500100900 i'm src default value +dummy_v4_codec: 128x128 prv: null +dummy_v2_codec -> NULL +closed: +dummy_v2_codec: 128x128 prv: set opts: 1500100900 i'm src default value +NULL : 128x128 prv: null +opened: +dummy_v2_codec: 128x128 prv: set opts: 1500100900 i'm src default value +NULL : 128x128 prv: null +dummy_v3_codec -> dummy_v1_codec +closed: +dummy_v3_codec: 128x128 prv: set +dummy_v1_codec: 128x128 prv: set opts: 667 i'm dest value before copy +opened: +dummy_v3_codec: 128x128 prv: set +dummy_v1_codec: 128x128 prv: set opts: 667 i'm dest value before copy +dummy_v3_codec -> dummy_v2_codec +closed: +dummy_v3_codec: 128x128 prv: set +dummy_v2_codec: 128x128 prv: set opts: 667 i'm dest value before copy +opened: +dummy_v3_codec: 128x128 prv: set +dummy_v2_codec: 128x128 prv: set opts: 667 i'm dest value before copy +dummy_v3_codec -> dummy_v3_codec +closed: +dummy_v3_codec: 128x128 prv: set +dummy_v3_codec: 128x128 prv: set +opened: +dummy_v3_codec: 128x128 prv: set +dummy_v3_codec: 128x128 prv: set +dummy_v3_codec -> dummy_v4_codec +closed: +dummy_v3_codec: 128x128 prv: set +dummy_v4_codec: 128x128 prv: null +opened: +dummy_v3_codec: 128x128 prv: set +dummy_v4_codec: 128x128 prv: null +dummy_v3_codec -> NULL +closed: +dummy_v3_codec: 128x128 prv: set +NULL : 128x128 prv: null +opened: +dummy_v3_codec: 128x128 prv: set +NULL : 128x128 prv: null +dummy_v4_codec -> dummy_v1_codec +closed: +dummy_v4_codec: 128x128 prv: null +dummy_v1_codec: 128x128 prv: set opts: 667 i'm dest value before copy +opened: +dummy_v4_codec: 128x128 prv: null +dummy_v1_codec: 128x128 prv: set opts: 667 i'm dest value before copy +dummy_v4_codec -> dummy_v2_codec +closed: +dummy_v4_codec: 128x128 prv: null +dummy_v2_codec: 128x128 prv: set opts: 667 i'm dest value before copy +opened: +dummy_v4_codec: 128x128 prv: null +dummy_v2_codec: 128x128 prv: set opts: 667 i'm dest value before copy +dummy_v4_codec -> dummy_v3_codec +closed: +dummy_v4_codec: 128x128 prv: null +dummy_v3_codec: 128x128 prv: set +opened: +dummy_v4_codec: 128x128 prv: null +dummy_v3_codec: 128x128 prv: set +dummy_v4_codec -> dummy_v4_codec +closed: +dummy_v4_codec: 128x128 prv: null +dummy_v4_codec: 128x128 prv: null +opened: +dummy_v4_codec: 128x128 prv: null +dummy_v4_codec: 128x128 prv: null +dummy_v4_codec -> NULL +closed: +dummy_v4_codec: 128x128 prv: null +NULL : 128x128 prv: null +opened: +dummy_v4_codec: 128x128 prv: null +NULL : 128x128 prv: null +NULL -> dummy_v1_codec +closed: +NULL : 128x128 prv: null +dummy_v1_codec: 128x128 prv: set opts: 667 i'm dest value before copy +NULL -> dummy_v2_codec +closed: +NULL : 128x128 prv: null +dummy_v2_codec: 128x128 prv: set opts: 667 i'm dest value before copy +NULL -> dummy_v3_codec +closed: +NULL : 128x128 prv: null +dummy_v3_codec: 128x128 prv: set +NULL -> dummy_v4_codec +closed: +NULL : 128x128 prv: null +dummy_v4_codec: 128x128 prv: null +NULL -> NULL +closed: +NULL : 128x128 prv: null +NULL : 128x128 prv: null -- 1.9.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel