tests/fate: add dnxhr encoding tests

added sws_flags flags and tested against x86_32

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/231/head
Mark Reid 9 years ago committed by Michael Niedermayer
parent 6e971f7d66
commit 6108cb2ce3
  1. 2
      tests/fate/seek.mak
  2. 26
      tests/fate/vcodec.mak
  3. 40
      tests/ref/seek/vsynth_lena-dnxhd-4k-hr-lb
  4. 4
      tests/ref/vsynth/vsynth1-dnxhd-2k-hr-hq
  5. 4
      tests/ref/vsynth/vsynth1-dnxhd-4k-hr-lb
  6. 4
      tests/ref/vsynth/vsynth1-dnxhd-720p-hr-lb
  7. 4
      tests/ref/vsynth/vsynth1-dnxhd-uhd-hr-sq
  8. 4
      tests/ref/vsynth/vsynth2-dnxhd-2k-hr-hq
  9. 4
      tests/ref/vsynth/vsynth2-dnxhd-4k-hr-lb
  10. 4
      tests/ref/vsynth/vsynth2-dnxhd-720p-hr-lb
  11. 4
      tests/ref/vsynth/vsynth2-dnxhd-uhd-hr-sq
  12. 4
      tests/ref/vsynth/vsynth3-dnxhd-2k-hr-hq
  13. 4
      tests/ref/vsynth/vsynth3-dnxhd-4k-hr-lb
  14. 4
      tests/ref/vsynth/vsynth3-dnxhd-720p-hr-lb
  15. 4
      tests/ref/vsynth/vsynth3-dnxhd-uhd-hr-sq
  16. 4
      tests/ref/vsynth/vsynth_lena-dnxhd-2k-hr-hq
  17. 4
      tests/ref/vsynth/vsynth_lena-dnxhd-4k-hr-lb
  18. 4
      tests/ref/vsynth/vsynth_lena-dnxhd-720p-hr-lb
  19. 4
      tests/ref/vsynth/vsynth_lena-dnxhd-uhd-hr-sq

@ -64,6 +64,7 @@ FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, ASV1, AVI) += asv1
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, ASV2, AVI) += asv2 FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, ASV2, AVI) += asv2
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, DNXHD, DNXHD) += dnxhd-720p FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, DNXHD, DNXHD) += dnxhd-720p
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, DNXHD, DNXHD) += dnxhd-720p-rd FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, DNXHD, DNXHD) += dnxhd-720p-rd
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, DNXHD, DNXHD) += dnxhd-4k-hr-lb
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, DNXHD, MOV) += dnxhd-1080i FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, DNXHD, MOV) += dnxhd-1080i
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, DVVIDEO, DV) += dv FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, DVVIDEO, DV) += dv
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, DVVIDEO, DV) += dv-411 FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, DVVIDEO, DV) += dv-411
@ -111,6 +112,7 @@ fate-seek-vsynth_lena-asv2: SRC = fate/vsynth_lena-asv2.avi
fate-seek-vsynth_lena-dnxhd-1080i: SRC = fate/vsynth_lena-dnxhd-1080i.mov fate-seek-vsynth_lena-dnxhd-1080i: SRC = fate/vsynth_lena-dnxhd-1080i.mov
fate-seek-vsynth_lena-dnxhd-720p: SRC = fate/vsynth_lena-dnxhd-720p.dnxhd fate-seek-vsynth_lena-dnxhd-720p: SRC = fate/vsynth_lena-dnxhd-720p.dnxhd
fate-seek-vsynth_lena-dnxhd-720p-rd: SRC = fate/vsynth_lena-dnxhd-720p.dnxhd fate-seek-vsynth_lena-dnxhd-720p-rd: SRC = fate/vsynth_lena-dnxhd-720p.dnxhd
fate-seek-vsynth_lena-dnxhd-4k-hr-lb: SRC = fate/vsynth_lena-dnxhd-4k-hr-lb.dnxhd
fate-seek-vsynth_lena-dv: SRC = fate/vsynth_lena-dv.dv fate-seek-vsynth_lena-dv: SRC = fate/vsynth_lena-dv.dv
fate-seek-vsynth_lena-dv-411: SRC = fate/vsynth_lena-dv-411.dv fate-seek-vsynth_lena-dv-411: SRC = fate/vsynth_lena-dv-411.dv
fate-seek-vsynth_lena-dv-50: SRC = fate/vsynth_lena-dv-50.dv fate-seek-vsynth_lena-dv-50: SRC = fate/vsynth_lena-dv-50.dv

@ -27,7 +27,11 @@ fate-vsynth%-cljr: ENCOPTS = -strict -1
FATE_VCODEC-$(call ENCDEC, DNXHD, DNXHD) += dnxhd-720p \ FATE_VCODEC-$(call ENCDEC, DNXHD, DNXHD) += dnxhd-720p \
dnxhd-720p-rd \ dnxhd-720p-rd \
dnxhd-720p-10bit dnxhd-720p-10bit \
dnxhd-720p-hr-lb \
dnxhd-4k-hr-lb \
dnxhd-uhd-hr-sq \
dnxhd-2k-hr-hq
FATE_VCODEC-$(call ENCDEC, VC2 DIRAC, MOV) += vc2-420p vc2-420p10 vc2-420p12 \ FATE_VCODEC-$(call ENCDEC, VC2 DIRAC, MOV) += vc2-420p vc2-420p10 vc2-420p12 \
vc2-422p vc2-422p10 vc2-422p12 \ vc2-422p vc2-422p10 vc2-422p12 \
@ -54,6 +58,26 @@ fate-vsynth%-dnxhd-720p-10bit: ENCOPTS = -s hd720 -b 90M \
-pix_fmt yuv422p10 -frames 5 -qmax 8 -pix_fmt yuv422p10 -frames 5 -qmax 8
fate-vsynth%-dnxhd-720p-10bit: FMT = dnxhd fate-vsynth%-dnxhd-720p-10bit: FMT = dnxhd
fate-vsynth%-dnxhd-720p-hr-lb: ENCOPTS = -s hd720 -profile:v dnxhr_lb \
-pix_fmt yuv422p -frames 5
fate-vsynth%-dnxhd-720p-hr-lb: DECOPTS = -sws_flags area+accurate_rnd+bitexact
fate-vsynth%-dnxhd-720p-hr-lb: FMT = dnxhd
fate-vsynth%-dnxhd-4k-hr-lb: ENCOPTS = -s 4k -profile:v dnxhr_lb \
-pix_fmt yuv422p -frames 5
fate-vsynth%-dnxhd-4k-hr-lb: DECOPTS = -sws_flags area+accurate_rnd+bitexact
fate-vsynth%-dnxhd-4k-hr-lb: FMT = dnxhd
fate-vsynth%-dnxhd-uhd-hr-sq: ENCOPTS = -s uhd2160 -profile:v dnxhr_sq \
-pix_fmt yuv422p -frames 5
fate-vsynth%-dnxhd-uhd-hr-sq: DECOPTS = -sws_flags area+accurate_rnd+bitexact
fate-vsynth%-dnxhd-uhd-hr-sq: FMT = dnxhd
fate-vsynth%-dnxhd-2k-hr-hq: ENCOPTS = -s 2k -profile:v dnxhr_hq \
-pix_fmt yuv422p -frames 5
fate-vsynth%-dnxhd-2k-hr-hq: DECOPTS = -sws_flags area+accurate_rnd+bitexact
fate-vsynth%-dnxhd-2k-hr-hq: FMT = dnxhd
FATE_VCODEC-$(call ENCDEC, DNXHD, MOV) += dnxhd-1080i dnxhd-1080i-10bit 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 \ fate-vsynth%-dnxhd-1080i: ENCOPTS = -s hd1080 -b 120M -flags +ildct \
-pix_fmt yuv422p -frames 5 -qmax 8 -pix_fmt yuv422p -frames 5 -qmax 8

@ -0,0 +1,40 @@
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size:798720
ret: 0 st:-1 flags:0 ts:-1.000000
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size:798720
ret: 0 st:-1 flags:1 ts: 1.894167
ret: 0 st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:3194880 size:798720
ret:-1 st: 0 flags:0 ts: 0.788334
ret:-1 st: 0 flags:1 ts:-0.317499
ret:-1 st:-1 flags:0 ts: 2.576668
ret: 0 st:-1 flags:1 ts: 1.470835
ret: 0 st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:3194880 size:798720
ret:-1 st: 0 flags:0 ts: 0.365002
ret:-1 st: 0 flags:1 ts:-0.740831
ret:-1 st:-1 flags:0 ts: 2.153336
ret: 0 st:-1 flags:1 ts: 1.047503
ret: 0 st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:3194880 size:798720
ret: 0 st: 0 flags:0 ts:-0.058330
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size:798720
ret: 0 st: 0 flags:1 ts: 2.835837
ret: 0 st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:3194880 size:798720
ret:-1 st:-1 flags:0 ts: 1.730004
ret: 0 st:-1 flags:1 ts: 0.624171
ret: 0 st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:3194880 size:798720
ret: 0 st: 0 flags:0 ts:-0.481662
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size:798720
ret: 0 st: 0 flags:1 ts: 2.412505
ret: 0 st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:3194880 size:798720
ret:-1 st:-1 flags:0 ts: 1.306672
ret: 0 st:-1 flags:1 ts: 0.200839
ret: 0 st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:3194880 size:798720
ret: 0 st: 0 flags:0 ts:-0.904994
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size:798720
ret: 0 st: 0 flags:1 ts: 1.989173
ret: 0 st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:3194880 size:798720
ret:-1 st:-1 flags:0 ts: 0.883340
ret:-1 st:-1 flags:1 ts:-0.222493
ret:-1 st: 0 flags:0 ts: 2.671674
ret: 0 st: 0 flags:1 ts: 1.565841
ret: 0 st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:3194880 size:798720
ret:-1 st:-1 flags:0 ts: 0.460008
ret:-1 st:-1 flags:1 ts:-0.645825

@ -0,0 +1,4 @@
75cade089b56bb2f7a7a2133403cd3ac *tests/data/fate/vsynth1-dnxhd-2k-hr-hq.dnxhd
4894720 tests/data/fate/vsynth1-dnxhd-2k-hr-hq.dnxhd
1bab73266d809d523edb6ab7802001a8 *tests/data/fate/vsynth1-dnxhd-2k-hr-hq.out.rawvideo
stddev: 5.73 PSNR: 32.96 MAXDIFF: 55 bytes: 7603200/ 760320

@ -0,0 +1,4 @@
c6b6b35ffd147297983da4ad94887ac6 *tests/data/fate/vsynth1-dnxhd-4k-hr-lb.dnxhd
3993600 tests/data/fate/vsynth1-dnxhd-4k-hr-lb.dnxhd
1dc1984e4a315a35e97ed9e99940d124 *tests/data/fate/vsynth1-dnxhd-4k-hr-lb.out.rawvideo
stddev: 5.58 PSNR: 33.19 MAXDIFF: 55 bytes: 7603200/ 760320

@ -0,0 +1,4 @@
08cbfe9b9f671cdb9dddc9307121d107 *tests/data/fate/vsynth1-dnxhd-720p-hr-lb.dnxhd
409600 tests/data/fate/vsynth1-dnxhd-720p-hr-lb.dnxhd
22eb87f0f8a50278355006fef70073a9 *tests/data/fate/vsynth1-dnxhd-720p-hr-lb.out.rawvideo
stddev: 7.49 PSNR: 30.63 MAXDIFF: 64 bytes: 7603200/ 608256

@ -0,0 +1,4 @@
2c53759ba6cfa1136604558224879054 *tests/data/fate/vsynth1-dnxhd-uhd-hr-sq.dnxhd
12042240 tests/data/fate/vsynth1-dnxhd-uhd-hr-sq.dnxhd
c91ca079d81d02dca7b6ae0161f6e2db *tests/data/fate/vsynth1-dnxhd-uhd-hr-sq.out.rawvideo
stddev: 5.62 PSNR: 33.12 MAXDIFF: 55 bytes: 7603200/ 760320

@ -0,0 +1,4 @@
dea0fb4bd16c552837e4ad0ddd67194a *tests/data/fate/vsynth2-dnxhd-2k-hr-hq.dnxhd
4894720 tests/data/fate/vsynth2-dnxhd-2k-hr-hq.dnxhd
5fc4378c1f2e577e4366baa9b22cbda3 *tests/data/fate/vsynth2-dnxhd-2k-hr-hq.out.rawvideo
stddev: 1.56 PSNR: 44.26 MAXDIFF: 34 bytes: 7603200/ 760320

@ -0,0 +1,4 @@
90a59e7600362d156922be89aa966199 *tests/data/fate/vsynth2-dnxhd-4k-hr-lb.dnxhd
3993600 tests/data/fate/vsynth2-dnxhd-4k-hr-lb.dnxhd
ed9d27aa5a9686cf0055085c5157ff7a *tests/data/fate/vsynth2-dnxhd-4k-hr-lb.out.rawvideo
stddev: 1.51 PSNR: 44.54 MAXDIFF: 32 bytes: 7603200/ 760320

@ -0,0 +1,4 @@
cefe318822be828a03c9eab92f4b2187 *tests/data/fate/vsynth2-dnxhd-720p-hr-lb.dnxhd
409600 tests/data/fate/vsynth2-dnxhd-720p-hr-lb.dnxhd
d7a6f4bdb30f2b24bc6d4df890e03957 *tests/data/fate/vsynth2-dnxhd-720p-hr-lb.out.rawvideo
stddev: 1.94 PSNR: 42.37 MAXDIFF: 35 bytes: 7603200/ 760320

@ -0,0 +1,4 @@
63b4e6456d98b12d5d88617e21a56220 *tests/data/fate/vsynth2-dnxhd-uhd-hr-sq.dnxhd
12042240 tests/data/fate/vsynth2-dnxhd-uhd-hr-sq.dnxhd
6f480e2c0c106b172d4d477ca0cba130 *tests/data/fate/vsynth2-dnxhd-uhd-hr-sq.out.rawvideo
stddev: 1.52 PSNR: 44.46 MAXDIFF: 33 bytes: 7603200/ 760320

@ -0,0 +1,4 @@
fa0cc58e64c981a45d1c6d667ba4e584 *tests/data/fate/vsynth3-dnxhd-2k-hr-hq.dnxhd
4894720 tests/data/fate/vsynth3-dnxhd-2k-hr-hq.dnxhd
1128a9cf1a6ccb4614be69adef557bf1 *tests/data/fate/vsynth3-dnxhd-2k-hr-hq.out.rawvideo
stddev: 6.91 PSNR: 31.33 MAXDIFF: 50 bytes: 86700/ 8670

@ -0,0 +1,4 @@
1dc788461df79c2a1e7b64309cd9f131 *tests/data/fate/vsynth3-dnxhd-4k-hr-lb.dnxhd
3993600 tests/data/fate/vsynth3-dnxhd-4k-hr-lb.dnxhd
2d70a847288c6b194e7c38f42ed3c840 *tests/data/fate/vsynth3-dnxhd-4k-hr-lb.out.rawvideo
stddev: 6.92 PSNR: 31.32 MAXDIFF: 50 bytes: 86700/ 8670

@ -0,0 +1,4 @@
09f95ea080635205a4b6e681822b25d6 *tests/data/fate/vsynth3-dnxhd-720p-hr-lb.dnxhd
409600 tests/data/fate/vsynth3-dnxhd-720p-hr-lb.dnxhd
b3349ba1bba0281d575f7650aa8e7c72 *tests/data/fate/vsynth3-dnxhd-720p-hr-lb.out.rawvideo
stddev: 6.92 PSNR: 31.32 MAXDIFF: 50 bytes: 86700/ 8670

@ -0,0 +1,4 @@
067a66401b915f54171b65f086822bbb *tests/data/fate/vsynth3-dnxhd-uhd-hr-sq.dnxhd
12042240 tests/data/fate/vsynth3-dnxhd-uhd-hr-sq.dnxhd
8491cb6cf111fdeccdf5e4f5712a33c1 *tests/data/fate/vsynth3-dnxhd-uhd-hr-sq.out.rawvideo
stddev: 6.92 PSNR: 31.32 MAXDIFF: 50 bytes: 86700/ 8670

@ -0,0 +1,4 @@
aea59b04d0e5b095559d4f3079be208c *tests/data/fate/vsynth_lena-dnxhd-2k-hr-hq.dnxhd
4894720 tests/data/fate/vsynth_lena-dnxhd-2k-hr-hq.dnxhd
a001dd521e7ac397f88077653b1f5ad0 *tests/data/fate/vsynth_lena-dnxhd-2k-hr-hq.out.rawvideo
stddev: 1.34 PSNR: 45.56 MAXDIFF: 23 bytes: 7603200/ 760320

@ -0,0 +1,4 @@
c166f5e1355784eae8b82bbaeef79273 *tests/data/fate/vsynth_lena-dnxhd-4k-hr-lb.dnxhd
3993600 tests/data/fate/vsynth_lena-dnxhd-4k-hr-lb.dnxhd
49c22d3eb9de0194b572f75491444772 *tests/data/fate/vsynth_lena-dnxhd-4k-hr-lb.out.rawvideo
stddev: 1.30 PSNR: 45.82 MAXDIFF: 21 bytes: 7603200/ 760320

@ -0,0 +1,4 @@
2cc387afd3e5a244dca45add1e0742bb *tests/data/fate/vsynth_lena-dnxhd-720p-hr-lb.dnxhd
409600 tests/data/fate/vsynth_lena-dnxhd-720p-hr-lb.dnxhd
8a7fe93d1fb2971d82dd8c8f14498567 *tests/data/fate/vsynth_lena-dnxhd-720p-hr-lb.out.rawvideo
stddev: 1.63 PSNR: 43.86 MAXDIFF: 23 bytes: 7603200/ 760320

@ -0,0 +1,4 @@
5ae3072820e217e21ca9a818d9150acc *tests/data/fate/vsynth_lena-dnxhd-uhd-hr-sq.dnxhd
12042240 tests/data/fate/vsynth_lena-dnxhd-uhd-hr-sq.dnxhd
77c6a7feb43d6eff94baf08570368bda *tests/data/fate/vsynth_lena-dnxhd-uhd-hr-sq.out.rawvideo
stddev: 1.32 PSNR: 45.69 MAXDIFF: 21 bytes: 7603200/ 760320
Loading…
Cancel
Save