From 7b6f4191763a5ffde02fa198101aabc3ddb5bf61 Mon Sep 17 00:00:00 2001 From: Kevin Wheatley Date: Mon, 26 Jan 2015 16:39:24 +0100 Subject: avformat/movenc: Add simplistic 'colr' tag writing support to mov container Signed-off-by: Michael Niedermayer --- tests/fate/vcodec.mak | 6 +++++- tests/ref/vsynth/vsynth1-dnxhd-1080i-colr | 4 ++++ tests/ref/vsynth/vsynth2-dnxhd-1080i-colr | 4 ++++ tests/ref/vsynth/vsynth3-dnxhd-1080i-colr | 4 ++++ tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr | 4 ++++ 5 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 tests/ref/vsynth/vsynth1-dnxhd-1080i-colr create mode 100644 tests/ref/vsynth/vsynth2-dnxhd-1080i-colr create mode 100644 tests/ref/vsynth/vsynth3-dnxhd-1080i-colr create mode 100644 tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr (limited to 'tests') diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak index 807699ea89..a3aa11c1ad 100644 --- a/tests/fate/vcodec.mak +++ b/tests/fate/vcodec.mak @@ -37,11 +37,15 @@ fate-vsynth%-dnxhd-720p-10bit: ENCOPTS = -s hd720 -b 90M \ -pix_fmt yuv422p10 -frames 5 -qmax 8 fate-vsynth%-dnxhd-720p-10bit: FMT = dnxhd -FATE_VCODEC-$(call ENCDEC, DNXHD, MOV) += dnxhd-1080i +FATE_VCODEC-$(call ENCDEC, DNXHD, MOV) += dnxhd-1080i dnxhd-1080i-colr fate-vsynth%-dnxhd-1080i: ENCOPTS = -s hd1080 -b 120M -flags +ildct \ -pix_fmt yuv422p -frames 5 -qmax 8 fate-vsynth%-dnxhd-1080i: FMT = mov +fate-vsynth%-dnxhd-1080i-colr: ENCOPTS = -s hd1080 -b 120M -flags +ildct -movflags write_colr \ + -pix_fmt yuv422p -frames 5 -qmax 8 +fate-vsynth%-dnxhd-1080i-colr: FMT = mov + FATE_VCODEC-$(call ENCDEC, DVVIDEO, DV) += dv dv-411 dv-50 fate-vsynth%-dv: CODEC = dvvideo fate-vsynth%-dv: ENCOPTS = -dct int -s pal diff --git a/tests/ref/vsynth/vsynth1-dnxhd-1080i-colr b/tests/ref/vsynth/vsynth1-dnxhd-1080i-colr new file mode 100644 index 0000000000..87942cb516 --- /dev/null +++ b/tests/ref/vsynth/vsynth1-dnxhd-1080i-colr @@ -0,0 +1,4 @@ +b6fbfdfe7027fde6853930abad87eaab *tests/data/fate/vsynth1-dnxhd-1080i-colr.mov +3031929 tests/data/fate/vsynth1-dnxhd-1080i-colr.mov +a09132c6db44f415e831dcaa630a351b *tests/data/fate/vsynth1-dnxhd-1080i-colr.out.rawvideo +stddev: 6.29 PSNR: 32.15 MAXDIFF: 64 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth2-dnxhd-1080i-colr b/tests/ref/vsynth/vsynth2-dnxhd-1080i-colr new file mode 100644 index 0000000000..edf3c2cc67 --- /dev/null +++ b/tests/ref/vsynth/vsynth2-dnxhd-1080i-colr @@ -0,0 +1,4 @@ +d510bc0d58c7cae875e3e67023771d6f *tests/data/fate/vsynth2-dnxhd-1080i-colr.mov +3031929 tests/data/fate/vsynth2-dnxhd-1080i-colr.mov +099001db73036eeb9545c463cf90f0ba *tests/data/fate/vsynth2-dnxhd-1080i-colr.out.rawvideo +stddev: 1.53 PSNR: 44.43 MAXDIFF: 31 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth3-dnxhd-1080i-colr b/tests/ref/vsynth/vsynth3-dnxhd-1080i-colr new file mode 100644 index 0000000000..c651c9204c --- /dev/null +++ b/tests/ref/vsynth/vsynth3-dnxhd-1080i-colr @@ -0,0 +1,4 @@ +3b06d8675f9623db77b6a42916663608 *tests/data/fate/vsynth3-dnxhd-1080i-colr.mov +3031929 tests/data/fate/vsynth3-dnxhd-1080i-colr.mov +382fc519604abb5d87071bdce013cef9 *tests/data/fate/vsynth3-dnxhd-1080i-colr.out.rawvideo +stddev: 7.81 PSNR: 30.28 MAXDIFF: 61 bytes: 86700/ 8670 diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr new file mode 100644 index 0000000000..6c32bc9b3a --- /dev/null +++ b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr @@ -0,0 +1,4 @@ +4deae1b3d9a5c8fbd28075e8dca0034e *tests/data/fate/vsynth_lena-dnxhd-1080i-colr.mov +3031929 tests/data/fate/vsynth_lena-dnxhd-1080i-colr.mov +744ba46da5d4c19a28562ea31061d170 *tests/data/fate/vsynth_lena-dnxhd-1080i-colr.out.rawvideo +stddev: 1.31 PSNR: 45.77 MAXDIFF: 23 bytes: 7603200/ 760320 -- cgit v1.2.3