Skip to content

Commit

Permalink
fate: add 10bits YUV4:2:2 dnxhd test
Browse files Browse the repository at this point in the history
It was useful to (accidentally?) spot an overflow in the column pass
of the x86 simple_idct10 implementation.

Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
cgisquet authored and michaelni committed Oct 13, 2015
1 parent 2fd14dd commit f1181e4
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/fate/vcodec.mak
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,16 @@ 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 dnxhd-1080i-colr
FATE_VCODEC-$(call ENCDEC, DNXHD, MOV) += dnxhd-1080i dnxhd-1080i-10bit 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-10bit: ENCOPTS = -s hd1080 -b 185M -flags +ildct \
-pix_fmt yuv422p10 -frames 5 -qmax 8
fate-vsynth%-dnxhd-1080i-10bit: DECOPTS = -sws_flags area+accurate_rnd+bitexact
fate-vsynth%-dnxhd-1080i-10bit: 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: DECOPTS = -sws_flags area+accurate_rnd+bitexact
Expand Down
4 changes: 4 additions & 0 deletions tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
f562845d1848bf5d3e524b418b742e01 *tests/data/fate/vsynth1-dnxhd-1080i-10bit.mov
4588391 tests/data/fate/vsynth1-dnxhd-1080i-10bit.mov
31032fcb7e6af79daaac02288254c6d6 *tests/data/fate/vsynth1-dnxhd-1080i-10bit.out.rawvideo
stddev: 5.69 PSNR: 33.02 MAXDIFF: 55 bytes: 7603200/ 760320
4 changes: 4 additions & 0 deletions tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
514607eecfd9004aa4da1d216f7620ce *tests/data/fate/vsynth2-dnxhd-1080i-10bit.mov
4588391 tests/data/fate/vsynth2-dnxhd-1080i-10bit.mov
e4ca9be476869afb94962d945f90bdf6 *tests/data/fate/vsynth2-dnxhd-1080i-10bit.out.rawvideo
stddev: 1.57 PSNR: 44.18 MAXDIFF: 33 bytes: 7603200/ 760320
4 changes: 4 additions & 0 deletions tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dea8862f8ae9fb03f665f358dde75962 *tests/data/fate/vsynth3-dnxhd-1080i-10bit.mov
4588391 tests/data/fate/vsynth3-dnxhd-1080i-10bit.mov
c192f36ef8687e56c72a3dc416c7e191 *tests/data/fate/vsynth3-dnxhd-1080i-10bit.out.rawvideo
stddev: 6.92 PSNR: 31.32 MAXDIFF: 50 bytes: 86700/ 8670
4 changes: 4 additions & 0 deletions tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
72144676d0c6e320ff2c9b28bc3e4fa2 *tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.mov
4588391 tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.mov
f2dc4375c58e0406d442e0cb28573e91 *tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.out.rawvideo
stddev: 1.36 PSNR: 45.40 MAXDIFF: 22 bytes: 7603200/ 760320

0 comments on commit f1181e4

Please sign in to comment.