diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak index ccf88ce427..0e08894fb1 100644 --- a/tests/fate/vcodec.mak +++ b/tests/fate/vcodec.mak @@ -29,6 +29,19 @@ FATE_VCODEC-$(call ENCDEC, DNXHD, DNXHD) += dnxhd-720p \ dnxhd-720p-rd \ dnxhd-720p-10bit +FATE_VCODEC-$(call ENCDEC, VC2 DIRAC, MOV) += vc2-420p vc2-420p10 vc2-420p12 \ + vc2-422p vc2-422p10 vc2-422p12 \ + vc2-444p vc2-444p10 vc2-444p12 +fate-vsynth1-vc2-%: FMT = mov +fate-vsynth1-vc2-%: ENCOPTS = -pix_fmt yuv$(@:fate-vsynth1-vc2-%=%) \ + -vcodec vc2 -frames 5 -strict -1 +fate-vsynth2-vc2-%: FMT = mov +fate-vsynth2-vc2-%: ENCOPTS = -pix_fmt yuv$(@:fate-vsynth2-vc2-%=%) \ + -vcodec vc2 -frames 5 -strict -1 +fate-vsynth_lena-vc2-%: FMT = mov +fate-vsynth_lena-vc2-%: ENCOPTS = -pix_fmt yuv$(@:fate-vsynth_lena-vc2-%=%) \ + -vcodec vc2 -frames 5 -strict -1 + fate-vsynth%-dnxhd-720p: ENCOPTS = -s hd720 -b 90M \ -pix_fmt yuv422p -frames 5 -qmax 8 fate-vsynth%-dnxhd-720p: FMT = dnxhd @@ -356,7 +369,9 @@ FATE_VSYNTH2 = $(FATE_VCODEC:%=fate-vsynth2-%) FATE_VSYNTH_LENA = $(FATE_VCODEC:%=fate-vsynth_lena-%) # Redundant tests because they just resize the input RESIZE_OFF = dnxhd-720p dnxhd-720p-rd dnxhd-720p-10bit dnxhd-1080i \ - dv dv-411 dv-50 avui snow snow-hpel snow-ll + dv dv-411 dv-50 avui snow snow-hpel snow-ll vc2-420p \ + vc2-420p10 vc2-420p12 vc2-422p vc2-422p10 vc2-422p12 \ + vc2-444p vc2-444p10 vc2-444p12 # Incorrect parameters - usually size or color format restrictions INC_PAR_OFF = cinepak h261 h261-trellis h263 h263p h263-obmc msvideo1 \ roqvideo rv10 rv20 y41p qtrlegray diff --git a/tests/ref/vsynth/vsynth1-vc2-420p b/tests/ref/vsynth/vsynth1-vc2-420p new file mode 100644 index 0000000000..e925c53bae --- /dev/null +++ b/tests/ref/vsynth/vsynth1-vc2-420p @@ -0,0 +1,4 @@ +fb8fffcfc17558c87dd11a67ccb0f615 *tests/data/fate/vsynth1-vc2-420p.mov +1155415 tests/data/fate/vsynth1-vc2-420p.mov +387696707c79cf1a6c9aeff4024226b9 *tests/data/fate/vsynth1-vc2-420p.out.rawvideo +stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth1-vc2-420p10 b/tests/ref/vsynth/vsynth1-vc2-420p10 new file mode 100644 index 0000000000..037c77cacf --- /dev/null +++ b/tests/ref/vsynth/vsynth1-vc2-420p10 @@ -0,0 +1,4 @@ +1365742985b6315f6796c765aa17f39e *tests/data/fate/vsynth1-vc2-420p10.mov +1417047 tests/data/fate/vsynth1-vc2-420p10.mov +d3deedfa461a2696f82910890412fa2d *tests/data/fate/vsynth1-vc2-420p10.out.rawvideo +stddev: 0.60 PSNR: 52.47 MAXDIFF: 1 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth1-vc2-420p12 b/tests/ref/vsynth/vsynth1-vc2-420p12 new file mode 100644 index 0000000000..b0c56afcd5 --- /dev/null +++ b/tests/ref/vsynth/vsynth1-vc2-420p12 @@ -0,0 +1,4 @@ +08a844d17940cd612da269fb08430628 *tests/data/fate/vsynth1-vc2-420p12.mov +1746007 tests/data/fate/vsynth1-vc2-420p12.mov +5a78509638a96b0fa17c1b7e9159fd24 *tests/data/fate/vsynth1-vc2-420p12.out.rawvideo +stddev: 0.67 PSNR: 51.48 MAXDIFF: 1 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth1-vc2-422p b/tests/ref/vsynth/vsynth1-vc2-422p new file mode 100644 index 0000000000..8fc61887d7 --- /dev/null +++ b/tests/ref/vsynth/vsynth1-vc2-422p @@ -0,0 +1,4 @@ +19f01a985e87e14664e0e5d14c02d046 *tests/data/fate/vsynth1-vc2-422p.mov +1229783 tests/data/fate/vsynth1-vc2-422p.mov +57a7f41235e7f9f094aa7ba5bdc82f02 *tests/data/fate/vsynth1-vc2-422p.out.rawvideo +stddev: 1.89 PSNR: 42.58 MAXDIFF: 23 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth1-vc2-422p10 b/tests/ref/vsynth/vsynth1-vc2-422p10 new file mode 100644 index 0000000000..ac1072f3d1 --- /dev/null +++ b/tests/ref/vsynth/vsynth1-vc2-422p10 @@ -0,0 +1,4 @@ +88e3488e4689cf06e75959c71e2f9d96 *tests/data/fate/vsynth1-vc2-422p10.mov +1684055 tests/data/fate/vsynth1-vc2-422p10.mov +f35dd1c1df4726bb1d75d95e321b0698 *tests/data/fate/vsynth1-vc2-422p10.out.rawvideo +stddev: 1.88 PSNR: 42.61 MAXDIFF: 23 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth1-vc2-422p12 b/tests/ref/vsynth/vsynth1-vc2-422p12 new file mode 100644 index 0000000000..0ad4798e6b --- /dev/null +++ b/tests/ref/vsynth/vsynth1-vc2-422p12 @@ -0,0 +1,4 @@ +b162a7c531fb06f436c79b38fb3d7403 *tests/data/fate/vsynth1-vc2-422p12.mov +2135131 tests/data/fate/vsynth1-vc2-422p12.mov +1b56b3d127320c0e6c643e3430b7ffd1 *tests/data/fate/vsynth1-vc2-422p12.out.rawvideo +stddev: 1.88 PSNR: 42.62 MAXDIFF: 23 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth1-vc2-444p b/tests/ref/vsynth/vsynth1-vc2-444p new file mode 100644 index 0000000000..d01e9381b3 --- /dev/null +++ b/tests/ref/vsynth/vsynth1-vc2-444p @@ -0,0 +1,4 @@ +b3f0d987dcb0b5d1eb0b87f356ad21c4 *tests/data/fate/vsynth1-vc2-444p.mov +1593810 tests/data/fate/vsynth1-vc2-444p.mov +791cf0f21558ad4a4cad43da05628e06 *tests/data/fate/vsynth1-vc2-444p.out.rawvideo +stddev: 2.69 PSNR: 39.51 MAXDIFF: 37 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth1-vc2-444p10 b/tests/ref/vsynth/vsynth1-vc2-444p10 new file mode 100644 index 0000000000..af00746782 --- /dev/null +++ b/tests/ref/vsynth/vsynth1-vc2-444p10 @@ -0,0 +1,4 @@ +ef286696c5d37277b4064c4f87f6e564 *tests/data/fate/vsynth1-vc2-444p10.mov +2167643 tests/data/fate/vsynth1-vc2-444p10.mov +0e2cd6d0e1d68ffee64d269dcb57d66d *tests/data/fate/vsynth1-vc2-444p10.out.rawvideo +stddev: 2.69 PSNR: 39.53 MAXDIFF: 37 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth1-vc2-444p12 b/tests/ref/vsynth/vsynth1-vc2-444p12 new file mode 100644 index 0000000000..6a71b6735b --- /dev/null +++ b/tests/ref/vsynth/vsynth1-vc2-444p12 @@ -0,0 +1,4 @@ +21aaed7828fa847ce5b75399efbc768c *tests/data/fate/vsynth1-vc2-444p12.mov +2755159 tests/data/fate/vsynth1-vc2-444p12.mov +55998114d7386d219a49011c8b804a58 *tests/data/fate/vsynth1-vc2-444p12.out.rawvideo +stddev: 2.69 PSNR: 39.53 MAXDIFF: 37 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth2-vc2-420p b/tests/ref/vsynth/vsynth2-vc2-420p new file mode 100644 index 0000000000..f355e8d30c --- /dev/null +++ b/tests/ref/vsynth/vsynth2-vc2-420p @@ -0,0 +1,4 @@ +ac4df937fed73532bd8713b0e07870c9 *tests/data/fate/vsynth2-vc2-420p.mov +860743 tests/data/fate/vsynth2-vc2-420p.mov +01389f7ae4f2a3dc0d7b8384d435fd83 *tests/data/fate/vsynth2-vc2-420p.out.rawvideo +stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth2-vc2-420p10 b/tests/ref/vsynth/vsynth2-vc2-420p10 new file mode 100644 index 0000000000..9de40d2275 --- /dev/null +++ b/tests/ref/vsynth/vsynth2-vc2-420p10 @@ -0,0 +1,4 @@ +1197f8108683b9eb6b0777adb2db1aa8 *tests/data/fate/vsynth2-vc2-420p10.mov +1181271 tests/data/fate/vsynth2-vc2-420p10.mov +75174cb90e76c433f6d769531d573ac2 *tests/data/fate/vsynth2-vc2-420p10.out.rawvideo +stddev: 0.63 PSNR: 52.11 MAXDIFF: 1 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth2-vc2-420p12 b/tests/ref/vsynth/vsynth2-vc2-420p12 new file mode 100644 index 0000000000..660a1eeb5c --- /dev/null +++ b/tests/ref/vsynth/vsynth2-vc2-420p12 @@ -0,0 +1,4 @@ +0e6b3aefd70fca45e67dc8cbc99640e8 *tests/data/fate/vsynth2-vc2-420p12.mov +1525079 tests/data/fate/vsynth2-vc2-420p12.mov +b4d45651e20faa7a0bb84a0738638c48 *tests/data/fate/vsynth2-vc2-420p12.out.rawvideo +stddev: 0.73 PSNR: 50.84 MAXDIFF: 1 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth2-vc2-422p b/tests/ref/vsynth/vsynth2-vc2-422p new file mode 100644 index 0000000000..83689a73ef --- /dev/null +++ b/tests/ref/vsynth/vsynth2-vc2-422p @@ -0,0 +1,4 @@ +b2573399e0ed62ede66b1708de86412a *tests/data/fate/vsynth2-vc2-422p.mov +1035207 tests/data/fate/vsynth2-vc2-422p.mov +c14eb0038a5dba9382f42f750d46ed3c *tests/data/fate/vsynth2-vc2-422p.out.rawvideo +stddev: 0.35 PSNR: 57.21 MAXDIFF: 7 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth2-vc2-422p10 b/tests/ref/vsynth/vsynth2-vc2-422p10 new file mode 100644 index 0000000000..af9a0b15f7 --- /dev/null +++ b/tests/ref/vsynth/vsynth2-vc2-422p10 @@ -0,0 +1,4 @@ +ca65de033b17c67be94356e0b6e0b128 *tests/data/fate/vsynth2-vc2-422p10.mov +1321687 tests/data/fate/vsynth2-vc2-422p10.mov +8f629e5cea24cc804d6aeadceacf0b2a *tests/data/fate/vsynth2-vc2-422p10.out.rawvideo +stddev: 0.37 PSNR: 56.66 MAXDIFF: 7 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth2-vc2-422p12 b/tests/ref/vsynth/vsynth2-vc2-422p12 new file mode 100644 index 0000000000..16f978a87f --- /dev/null +++ b/tests/ref/vsynth/vsynth2-vc2-422p12 @@ -0,0 +1,4 @@ +4e95706b063adbcc1f7f82a4e7d7d027 *tests/data/fate/vsynth2-vc2-422p12.mov +1752535 tests/data/fate/vsynth2-vc2-422p12.mov +7241b922e7c17d14701567db6c743a9e *tests/data/fate/vsynth2-vc2-422p12.out.rawvideo +stddev: 0.37 PSNR: 56.73 MAXDIFF: 7 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth2-vc2-444p b/tests/ref/vsynth/vsynth2-vc2-444p new file mode 100644 index 0000000000..83979964dd --- /dev/null +++ b/tests/ref/vsynth/vsynth2-vc2-444p @@ -0,0 +1,4 @@ +644a39d1b853f44722a4332d5a13797e *tests/data/fate/vsynth2-vc2-444p.mov +1202386 tests/data/fate/vsynth2-vc2-444p.mov +6b35f3ddc3b52f4424237d4191a2461f *tests/data/fate/vsynth2-vc2-444p.out.rawvideo +stddev: 0.44 PSNR: 55.07 MAXDIFF: 10 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth2-vc2-444p10 b/tests/ref/vsynth/vsynth2-vc2-444p10 new file mode 100644 index 0000000000..7d9367a4c5 --- /dev/null +++ b/tests/ref/vsynth/vsynth2-vc2-444p10 @@ -0,0 +1,4 @@ +36cfc3da2ab6ff6d48f17ab43e77774d *tests/data/fate/vsynth2-vc2-444p10.mov +1603927 tests/data/fate/vsynth2-vc2-444p10.mov +d5c80ee1881a0306b0487e3c868529a3 *tests/data/fate/vsynth2-vc2-444p10.out.rawvideo +stddev: 0.48 PSNR: 54.46 MAXDIFF: 10 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth2-vc2-444p12 b/tests/ref/vsynth/vsynth2-vc2-444p12 new file mode 100644 index 0000000000..00098309af --- /dev/null +++ b/tests/ref/vsynth/vsynth2-vc2-444p12 @@ -0,0 +1,4 @@ +6117c2ee6d5c22ee5a0b0ac6b70e6c17 *tests/data/fate/vsynth2-vc2-444p12.mov +2145499 tests/data/fate/vsynth2-vc2-444p12.mov +38836be5c12b951c9b280d15fe3b31ce *tests/data/fate/vsynth2-vc2-444p12.out.rawvideo +stddev: 0.48 PSNR: 54.46 MAXDIFF: 10 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth_lena-vc2-420p b/tests/ref/vsynth/vsynth_lena-vc2-420p new file mode 100644 index 0000000000..89966c2a54 --- /dev/null +++ b/tests/ref/vsynth/vsynth_lena-vc2-420p @@ -0,0 +1,4 @@ +b920eaf484af9ed3fbff4a85d043b544 *tests/data/fate/vsynth_lena-vc2-420p.mov +849735 tests/data/fate/vsynth_lena-vc2-420p.mov +b1c660113acab8eb4075f3d9fbb9cee9 *tests/data/fate/vsynth_lena-vc2-420p.out.rawvideo +stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth_lena-vc2-420p10 b/tests/ref/vsynth/vsynth_lena-vc2-420p10 new file mode 100644 index 0000000000..6428dd1788 --- /dev/null +++ b/tests/ref/vsynth/vsynth_lena-vc2-420p10 @@ -0,0 +1,4 @@ +5bccec653c330f03b90065a84fad9b4b *tests/data/fate/vsynth_lena-vc2-420p10.mov +1154775 tests/data/fate/vsynth_lena-vc2-420p10.mov +32265ec286c54104b3be8f11c519da1b *tests/data/fate/vsynth_lena-vc2-420p10.out.rawvideo +stddev: 0.61 PSNR: 52.34 MAXDIFF: 1 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth_lena-vc2-420p12 b/tests/ref/vsynth/vsynth_lena-vc2-420p12 new file mode 100644 index 0000000000..e62b2b6d38 --- /dev/null +++ b/tests/ref/vsynth/vsynth_lena-vc2-420p12 @@ -0,0 +1,4 @@ +d27a6d3517cc9a6d22e338f4b206545c *tests/data/fate/vsynth_lena-vc2-420p12.mov +1516759 tests/data/fate/vsynth_lena-vc2-420p12.mov +bc62f1c3bade7224c55219dba8a3c6af *tests/data/fate/vsynth_lena-vc2-420p12.out.rawvideo +stddev: 0.68 PSNR: 51.39 MAXDIFF: 1 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth_lena-vc2-422p b/tests/ref/vsynth/vsynth_lena-vc2-422p new file mode 100644 index 0000000000..6f958387c1 --- /dev/null +++ b/tests/ref/vsynth/vsynth_lena-vc2-422p @@ -0,0 +1,4 @@ +94d3a24e9eec6cb88c84780796adbec5 *tests/data/fate/vsynth_lena-vc2-422p.mov +1049287 tests/data/fate/vsynth_lena-vc2-422p.mov +c4b2e69278c822f22655344068ea486d *tests/data/fate/vsynth_lena-vc2-422p.out.rawvideo +stddev: 0.26 PSNR: 59.82 MAXDIFF: 5 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth_lena-vc2-422p10 b/tests/ref/vsynth/vsynth_lena-vc2-422p10 new file mode 100644 index 0000000000..11904c2d8e --- /dev/null +++ b/tests/ref/vsynth/vsynth_lena-vc2-422p10 @@ -0,0 +1,4 @@ +fc955b863eb3f22694d37e8a70085a6c *tests/data/fate/vsynth_lena-vc2-422p10.mov +1294039 tests/data/fate/vsynth_lena-vc2-422p10.mov +e5ea17416bda234ae58f27dea27e8135 *tests/data/fate/vsynth_lena-vc2-422p10.out.rawvideo +stddev: 0.30 PSNR: 58.58 MAXDIFF: 5 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth_lena-vc2-422p12 b/tests/ref/vsynth/vsynth_lena-vc2-422p12 new file mode 100644 index 0000000000..51a62d0cc8 --- /dev/null +++ b/tests/ref/vsynth/vsynth_lena-vc2-422p12 @@ -0,0 +1,4 @@ +2cef57ce35f32642c829f24a0ca3e260 *tests/data/fate/vsynth_lena-vc2-422p12.mov +1768027 tests/data/fate/vsynth_lena-vc2-422p12.mov +bd374304997834410a69ee6c6e047d19 *tests/data/fate/vsynth_lena-vc2-422p12.out.rawvideo +stddev: 0.29 PSNR: 58.76 MAXDIFF: 5 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth_lena-vc2-444p b/tests/ref/vsynth/vsynth_lena-vc2-444p new file mode 100644 index 0000000000..bf779181f9 --- /dev/null +++ b/tests/ref/vsynth/vsynth_lena-vc2-444p @@ -0,0 +1,4 @@ +cbdf2421fdd6cf0789c1f308009666f6 *tests/data/fate/vsynth_lena-vc2-444p.mov +1174738 tests/data/fate/vsynth_lena-vc2-444p.mov +f9306b14ff827ced1a992301d1ab02ca *tests/data/fate/vsynth_lena-vc2-444p.out.rawvideo +stddev: 0.38 PSNR: 56.43 MAXDIFF: 6 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth_lena-vc2-444p10 b/tests/ref/vsynth/vsynth_lena-vc2-444p10 new file mode 100644 index 0000000000..10a33e22db --- /dev/null +++ b/tests/ref/vsynth/vsynth_lena-vc2-444p10 @@ -0,0 +1,4 @@ +acda7042ecc5b917824d9cf62ee3b46c *tests/data/fate/vsynth_lena-vc2-444p10.mov +1577815 tests/data/fate/vsynth_lena-vc2-444p10.mov +da13c67fe1c6d98dd73e92a6ba006edc *tests/data/fate/vsynth_lena-vc2-444p10.out.rawvideo +stddev: 0.42 PSNR: 55.56 MAXDIFF: 7 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth_lena-vc2-444p12 b/tests/ref/vsynth/vsynth_lena-vc2-444p12 new file mode 100644 index 0000000000..7d6c21161c --- /dev/null +++ b/tests/ref/vsynth/vsynth_lena-vc2-444p12 @@ -0,0 +1,4 @@ +a31f2e6a54896fb8c02272c9f50db716 *tests/data/fate/vsynth_lena-vc2-444p12.mov +2134875 tests/data/fate/vsynth_lena-vc2-444p12.mov +a505434ec95362772a57d274f63a3f5a *tests/data/fate/vsynth_lena-vc2-444p12.out.rawvideo +stddev: 0.42 PSNR: 55.58 MAXDIFF: 7 bytes: 7603200/ 760320