[FFmpeg-devel] [PATCH 3/3] fate: rv60 test cases

Peter Ross pross at xvid.org
Wed Oct 18 11:07:11 EEST 2023


---

samples:

https://pross.sdf.org/sandpit/test72x72.rmhd (32 KiB)
https://pross.sdf.org/sandpit/test512x512.rmhd (64 KiB)

 tests/fate/video.mak        |  8 ++++++++
 tests/ref/fate/rv60-512x512 |  9 +++++++++
 tests/ref/fate/rv60-72x72   | 40 +++++++++++++++++++++++++++++++++++++
 3 files changed, 57 insertions(+)
 create mode 100644 tests/ref/fate/rv60-512x512
 create mode 100644 tests/ref/fate/rv60-72x72

diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index 4e7a77537f..62e6ff1d6b 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -376,6 +376,14 @@ fate-smvjpeg: CMD = framecrc -idct simple -flags +bitexact -i $(TARGET_SAMPLES)/
 FATE_VIDEO-$(call FRAMECRC, AVI, VQC) += fate-vqc
 fate-vqc: CMD = framecrc -i $(TARGET_SAMPLES)/vqc/samp1.avi
 
+FATE_VIDEO-$(call FRAMECRC, RM, RV60) += fate-rv60-512x512
+fate-rv60-512x512: CMD = framecrc -i $(TARGET_SAMPLES)/rv60/test512x512.rmhd -an
+
+FATE_VIDEO-$(call FRAMECRC, RM, RV60) += fate-rv60-72x72
+fate-rv60-72x72: CMD = framecrc -i $(TARGET_SAMPLES)/rv60/test72x72.rmhd -an
+
+fate-rv60: fate-rv60-72x72 fate-rv60-512x512
+
 FATE_VIDEO += $(FATE_VIDEO-yes)
 
 FATE_SAMPLES_FFMPEG += $(FATE_VIDEO)
diff --git a/tests/ref/fate/rv60-512x512 b/tests/ref/fate/rv60-512x512
new file mode 100644
index 0000000000..ac2a48f996
--- /dev/null
+++ b/tests/ref/fate/rv60-512x512
@@ -0,0 +1,9 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 512x512
+#sar 0: 0/1
+0,          0,          0,        1,   393216, 0x559b76dc
+0,          1,          1,        1,   393216, 0x419ee67f
+0,          2,          2,        1,   393216, 0xda985622
+0,          3,          3,        1,   393216, 0x25957f66
diff --git a/tests/ref/fate/rv60-72x72 b/tests/ref/fate/rv60-72x72
new file mode 100644
index 0000000000..2f01c2d1f2
--- /dev/null
+++ b/tests/ref/fate/rv60-72x72
@@ -0,0 +1,40 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 72x72
+#sar 0: 0/1
+0,          0,          0,        1,     7776, 0x7cef305a
+0,          1,          1,        1,     7776, 0xe85633d8
+0,          2,          2,        1,     7776, 0x38b13204
+0,          3,          3,        1,     7776, 0x62c22ba8
+0,          4,          4,        1,     7776, 0x38b42d19
+0,          5,          5,        1,     7776, 0x80ed2acc
+0,          6,          6,        1,     7776, 0xbe1f28b7
+0,          7,          7,        1,     7776, 0xfa7726d3
+0,          8,          8,        1,     7776, 0x473123c3
+0,          9,          9,        1,     7776, 0x79072354
+0,         10,         10,        1,     7776, 0x1c141c43
+0,         11,         11,        1,     7776, 0x50ec1c56
+0,         12,         12,        1,     7776, 0x6ccc17bf
+0,         13,         13,        1,     7776, 0x68101a13
+0,         14,         14,        1,     7776, 0x63a21e20
+0,         15,         15,        1,     7776, 0xab352043
+0,         16,         16,        1,     7776, 0xb81323d6
+0,         17,         17,        1,     7776, 0xd08b2931
+0,         18,         18,        1,     7776, 0x3ce82ac8
+0,         19,         19,        1,     7776, 0x62382cd6
+0,         20,         20,        1,     7776, 0x72252ff0
+0,         21,         21,        1,     7776, 0x15043309
+0,         22,         22,        1,     7776, 0xa6b93378
+0,         23,         23,        1,     7776, 0x032c35bf
+0,         24,         24,        1,     7776, 0xaf5e36ab
+0,         25,         25,        1,     7776, 0x2c682ef1
+0,         26,         26,        1,     7776, 0x07f6319e
+0,         27,         27,        1,     7776, 0x028e3257
+0,         28,         28,        1,     7776, 0x92cb3763
+0,         29,         29,        1,     7776, 0x7d7536d1
+0,         30,         30,        1,     7776, 0xe8743875
+0,         31,         31,        1,     7776, 0x06763a63
+0,         32,         32,        1,     7776, 0xe1973be5
+0,         33,         33,        1,     7776, 0x26283bde
+0,         36,         36,        1,     7776, 0xbcda3aca
-- 
2.42.0

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231018/2344989b/attachment.sig>


More information about the ffmpeg-devel mailing list