diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-03-29 20:04:08 +0200 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-04-04 15:39:58 +0200 |
commit | b5f47d95c6cb8ffa9982eb8fd3e9ab5c9f97e914 (patch) | |
tree | b99ed60c0f376e78aa0506d4686f2d42051d30a2 | |
parent | 51dc4de1218a81ee8e5b3f941839c5e3125a6d4b (diff) | |
download | ffmpeg-b5f47d95c6cb8ffa9982eb8fd3e9ab5c9f97e914.tar.gz |
fate: Update RSCC tests
The current sample comes from an older version of the codec, which
supports a single output mode, so rename it accordingly.
Add tests for the new pixel formats.
-rw-r--r-- | tests/fate/screen.mak | 16 | ||||
-rw-r--r-- | tests/ref/fate/iscc (renamed from tests/ref/fate/rscc) | 0 | ||||
-rw-r--r-- | tests/ref/fate/rscc-16bit | 16 | ||||
-rw-r--r-- | tests/ref/fate/rscc-24bit | 2 | ||||
-rw-r--r-- | tests/ref/fate/rscc-32bit | 9 |
5 files changed, 41 insertions, 2 deletions
diff --git a/tests/fate/screen.mak b/tests/fate/screen.mak index 82d4861a5c..7a87dd2094 100644 --- a/tests/fate/screen.mak +++ b/tests/fate/screen.mak @@ -41,8 +41,20 @@ fate-g2m4: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/g2m/g2m4.asf FATE_SAMPLES_AVCONV-$(call DEMDEC, ASF, G2M) += $(FATE_G2M) fate-g2m: $(FATE_G2M) -FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, RSCC) += fate-rscc -fate-rscc: CMD = framecrc -i $(TARGET_SAMPLES)/rscc/pip.avi -an +FATE_RSCC += fate-iscc +fate-iscc: CMD = framecrc -i $(TARGET_SAMPLES)/rscc/pip.avi -an + +FATE_RSCC += fate-rscc-16bit +fate-rscc-16bit: CMD = framecrc -i $(TARGET_SAMPLES)/rscc/16bpp_555.avi -an + +FATE_RSCC += fate-rscc-24bit +fate-rscc-24bit: CMD = framecrc -i $(TARGET_SAMPLES)/rscc/24bpp.avi -an + +FATE_RSCC += fate-rscc-32bit +fate-rscc-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/rscc/32bpp.avi -an + +FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, RSCC) += $(FATE_RSCC) +fate-rscc: $(FATE_RSCC) FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, SCREENPRESSO) += fate-screenpresso fate-screenpresso: CMD = framecrc -i $(TARGET_SAMPLES)/spv1/bunny.avi diff --git a/tests/ref/fate/rscc b/tests/ref/fate/iscc index 69dbfe158e..69dbfe158e 100644 --- a/tests/ref/fate/rscc +++ b/tests/ref/fate/iscc diff --git a/tests/ref/fate/rscc-16bit b/tests/ref/fate/rscc-16bit new file mode 100644 index 0000000000..85d5494940 --- /dev/null +++ b/tests/ref/fate/rscc-16bit @@ -0,0 +1,16 @@ +#tb 0: 100/2397 +0, 0, 0, 1, 153600, 0x33759daf +0, 1, 1, 1, 153600, 0x43e0c910 +0, 2, 2, 1, 153600, 0x6c75a8f0 +0, 3, 3, 1, 153600, 0xaace1255 +0, 4, 4, 1, 153600, 0x42d3f439 +0, 5, 5, 1, 153600, 0xb225b396 +0, 6, 6, 1, 153600, 0xa615221c +0, 7, 7, 1, 153600, 0x5401f5a9 +0, 8, 8, 1, 153600, 0xd274cef3 +0, 9, 9, 1, 153600, 0x7935f992 +0, 10, 10, 1, 153600, 0x7669e7c6 +0, 11, 11, 1, 153600, 0x527bd6a1 +0, 12, 12, 1, 153600, 0x0f33b2ed +0, 13, 13, 1, 153600, 0xe62ddb32 +0, 14, 14, 1, 153600, 0x81541aa2 diff --git a/tests/ref/fate/rscc-24bit b/tests/ref/fate/rscc-24bit new file mode 100644 index 0000000000..e38702c733 --- /dev/null +++ b/tests/ref/fate/rscc-24bit @@ -0,0 +1,2 @@ +#tb 0: 100/2997 +0, 0, 0, 1, 1229760, 0x9c99ba99 diff --git a/tests/ref/fate/rscc-32bit b/tests/ref/fate/rscc-32bit new file mode 100644 index 0000000000..a4431865ab --- /dev/null +++ b/tests/ref/fate/rscc-32bit @@ -0,0 +1,9 @@ +#tb 0: 100/2397 +0, 0, 0, 1, 307200, 0xe36c2c38 +0, 1, 1, 1, 307200, 0xa2e3476b +0, 2, 2, 1, 307200, 0x65167c95 +0, 3, 3, 1, 307200, 0x6acd02ac +0, 4, 4, 1, 307200, 0x37935e0b +0, 5, 5, 1, 307200, 0x8e6918bc +0, 6, 6, 1, 307200, 0x0a246578 +0, 7, 7, 1, 307200, 0x9c1a2f4c |