[FFmpeg-devel] [PATCHv2 2/2] fate/vp60-interlace: add test

Peter Ross pross at xvid.org
Fri Oct 18 11:55:26 EEST 2024


---
samples files to be copied into $SAMPLES/vp6/

https://pross.sdf.org/sandpit/interlaced32x32.avi
https://pross.sdf.org/sandpit/interlaced32x64.avi

 tests/fate/vpx.mak             |   6 ++
 tests/ref/fate/vp60-interlace1 | 156 +++++++++++++++++++++++++++++++++
 tests/ref/fate/vp60-interlace2 | 156 +++++++++++++++++++++++++++++++++
 3 files changed, 318 insertions(+)
 create mode 100644 tests/ref/fate/vp60-interlace1
 create mode 100644 tests/ref/fate/vp60-interlace2

diff --git a/tests/fate/vpx.mak b/tests/fate/vpx.mak
index 6c479a6fb5..b8750190b3 100644
--- a/tests/fate/vpx.mak
+++ b/tests/fate/vpx.mak
@@ -46,6 +46,12 @@ fate-vp60: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/ea-vp6/g36.vp6
 FATE_VP6-$(call FRAMECRC, EA, VP6) += fate-vp61
 fate-vp61: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/ea-vp6/MovieSkirmishGondor.vp6 -t 4
 
+FATE_VP6-$(call FRAMECRC, AVI, VP6) += fate-vp60-interlace1
+fate-vp60-interlace1: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp6/interlaced32x32.avi
+
+FATE_VP6-$(call FRAMECRC, AVI, VP6) += fate-vp60-interlace2
+fate-vp60-interlace2: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp6/interlaced32x64.avi
+
 FATE_VP6-$(call FRAMECRC, MOV, VP6A) += fate-vp6a
 fate-vp6a: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/flash-vp6/300x180-Scr-f8-056alpha.mov
 
diff --git a/tests/ref/fate/vp60-interlace1 b/tests/ref/fate/vp60-interlace1
new file mode 100644
index 0000000000..ebdf3428bf
--- /dev/null
+++ b/tests/ref/fate/vp60-interlace1
@@ -0,0 +1,156 @@
+#tb 0: 1/23
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 32x32
+#sar 0: 0/1
+0,          0,          0,        1,     1536, 0xea9250ee
+0,          1,          1,        1,     1536, 0x5d8d6ee5
+0,          2,          2,        1,     1536, 0x89629903
+0,          3,          3,        1,     1536, 0x36c0b5f3
+0,          4,          4,        1,     1536, 0x477ce2e5
+0,          5,          5,        1,     1536, 0x8bc60152
+0,          6,          6,        1,     1536, 0x020a2c51
+0,          7,          7,        1,     1536, 0x466b4a20
+0,          8,          8,        1,     1536, 0x0f07729f
+0,          9,          9,        1,     1536, 0x965d845c
+0,         10,         10,        1,     1536, 0x80d288fd
+0,         11,         11,        1,     1536, 0x288b89e7
+0,         12,         12,        1,     1536, 0x19dd8a8e
+0,         13,         13,        1,     1536, 0xceee8ac4
+0,         14,         14,        1,     1536, 0x87728a7d
+0,         15,         15,        1,     1536, 0x326e8a68
+0,         16,         16,        1,     1536, 0xbdc38afa
+0,         17,         17,        1,     1536, 0x09978a87
+0,         18,         18,        1,     1536, 0x408e8a8d
+0,         19,         19,        1,     1536, 0x0b018a6d
+0,         20,         20,        1,     1536, 0xaeec8a49
+0,         21,         21,        1,     1536, 0xfa638a51
+0,         22,         22,        1,     1536, 0x3c2c8a81
+0,         23,         23,        1,     1536, 0xf0d78961
+0,         24,         24,        1,     1536, 0xbd94895b
+0,         25,         25,        1,     1536, 0x366289d0
+0,         26,         26,        1,     1536, 0x9ac28930
+0,         27,         27,        1,     1536, 0x27dc89c4
+0,         28,         28,        1,     1536, 0x943c8ad7
+0,         29,         29,        1,     1536, 0x13318afc
+0,         30,         30,        1,     1536, 0x35ed8c41
+0,         31,         31,        1,     1536, 0x46f98e04
+0,         32,         32,        1,     1536, 0x24178f02
+0,         33,         33,        1,     1536, 0x097d8ffc
+0,         34,         34,        1,     1536, 0xd0bf93cd
+0,         35,         35,        1,     1536, 0xb3be9447
+0,         36,         36,        1,     1536, 0xb94d9623
+0,         37,         37,        1,     1536, 0x91b99794
+0,         38,         38,        1,     1536, 0xa5f3988e
+0,         39,         39,        1,     1536, 0x1ca09bea
+0,         40,         40,        1,     1536, 0xf3a89ebb
+0,         41,         41,        1,     1536, 0x7f99a125
+0,         42,         42,        1,     1536, 0x936da323
+0,         43,         43,        1,     1536, 0x24a5a67f
+0,         44,         44,        1,     1536, 0x2b08a903
+0,         45,         45,        1,     1536, 0xbad1ab9e
+0,         46,         46,        1,     1536, 0x4ef5ae90
+0,         47,         47,        1,     1536, 0x3f99b00f
+0,         48,         48,        1,     1536, 0x6db7b1ec
+0,         49,         49,        1,     1536, 0xf030b53e
+0,         50,         50,        1,     1536, 0x0f58b83e
+0,         51,         51,        1,     1536, 0xa834bbf7
+0,         52,         52,        1,     1536, 0x1604c012
+0,         53,         53,        1,     1536, 0xb617c1ce
+0,         54,         54,        1,     1536, 0x5ea0c4cb
+0,         55,         55,        1,     1536, 0xdc4ccb22
+0,         56,         56,        1,     1536, 0xd62fceda
+0,         57,         57,        1,     1536, 0xfae4d237
+0,         58,         58,        1,     1536, 0x8a23d362
+0,         59,         59,        1,     1536, 0x9882d23f
+0,         60,         60,        1,     1536, 0xd717cf91
+0,         61,         61,        1,     1536, 0x0f40cbe3
+0,         62,         62,        1,     1536, 0xd684c8e8
+0,         63,         63,        1,     1536, 0xa03dc642
+0,         64,         64,        1,     1536, 0xeb49c29f
+0,         65,         65,        1,     1536, 0xd310c14f
+0,         66,         66,        1,     1536, 0x24b6beeb
+0,         67,         67,        1,     1536, 0x648cbb4f
+0,         68,         68,        1,     1536, 0x6814b9f6
+0,         69,         69,        1,     1536, 0x5299b9b5
+0,         70,         70,        1,     1536, 0xab1db64b
+0,         71,         71,        1,     1536, 0xf7d2b41e
+0,         72,         72,        1,     1536, 0x64beb209
+0,         73,         73,        1,     1536, 0x7a3ab1f6
+0,         74,         74,        1,     1536, 0x6fc0aff9
+0,         75,         75,        1,     1536, 0xa1f1b065
+0,         76,         76,        1,     1536, 0x4f4baf4b
+0,         77,         77,        1,     1536, 0x3f68adf4
+0,         78,         78,        1,     1536, 0x2c63ad7b
+0,         79,         79,        1,     1536, 0xbb92afa0
+0,         80,         80,        1,     1536, 0x04ecb064
+0,         81,         81,        1,     1536, 0x2ce1af07
+0,         82,         82,        1,     1536, 0xdc19b2d0
+0,         83,         83,        1,     1536, 0xc214b900
+0,         84,         84,        1,     1536, 0x4fc6c364
+0,         85,         85,        1,     1536, 0x4a7ad23a
+0,         86,         86,        1,     1536, 0x9b68e2ee
+0,         87,         87,        1,     1536, 0xf48be311
+0,         88,         88,        1,     1536, 0x9c0fdee9
+0,         89,         89,        1,     1536, 0x0fc5d87d
+0,         90,         90,        1,     1536, 0x7d1fd237
+0,         91,         91,        1,     1536, 0xe7dcccb4
+0,         92,         92,        1,     1536, 0x4bc6c6ba
+0,         93,         93,        1,     1536, 0x47a6c1ca
+0,         94,         94,        1,     1536, 0x5bcbbda6
+0,         95,         95,        1,     1536, 0x2465b9e2
+0,         96,         96,        1,     1536, 0x9558b4bf
+0,         97,         97,        1,     1536, 0x9363b1f3
+0,         98,         98,        1,     1536, 0xc539b090
+0,         99,         99,        1,     1536, 0x8528aff8
+0,        100,        100,        1,     1536, 0xeb52af34
+0,        101,        101,        1,     1536, 0x7be7ae53
+0,        102,        102,        1,     1536, 0xfcc3ad3c
+0,        103,        103,        1,     1536, 0xf12aaafe
+0,        104,        104,        1,     1536, 0xfe7da957
+0,        105,        105,        1,     1536, 0x5590a58f
+0,        106,        106,        1,     1536, 0x4e5fa35d
+0,        107,        107,        1,     1536, 0xa50a9fd0
+0,        108,        108,        1,     1536, 0x53a1a038
+0,        109,        109,        1,     1536, 0xbf8da136
+0,        110,        110,        1,     1536, 0x4b0da008
+0,        111,        111,        1,     1536, 0xb1dd9d26
+0,        112,        112,        1,     1536, 0x6c7e9ab1
+0,        113,        113,        1,     1536, 0x9fa597e7
+0,        114,        114,        1,     1536, 0xec3c94d1
+0,        115,        115,        1,     1536, 0x369b92fb
+0,        116,        116,        1,     1536, 0x073b9227
+0,        117,        117,        1,     1536, 0x8dda9294
+0,        118,        118,        1,     1536, 0xe006922e
+0,        119,        119,        1,     1536, 0xc36b8fe3
+0,        120,        120,        1,     1536, 0x33ae8fc6
+0,        121,        121,        1,     1536, 0xf6468dec
+0,        122,        122,        1,     1536, 0x01328b77
+0,        123,        123,        1,     1536, 0xb105889e
+0,        124,        124,        1,     1536, 0xff7585f6
+0,        125,        125,        1,     1536, 0x65408439
+0,        126,        126,        1,     1536, 0x318b83b3
+0,        127,        127,        1,     1536, 0x2ff682d2
+0,        128,        128,        1,     1536, 0x51b081f8
+0,        129,        129,        1,     1536, 0xae468044
+0,        130,        130,        1,     1536, 0x03427f32
+0,        131,        131,        1,     1536, 0xcd677e87
+0,        132,        132,        1,     1536, 0x1b2f7e6e
+0,        133,        133,        1,     1536, 0xfde47ea3
+0,        134,        134,        1,     1536, 0x62be7ebd
+0,        135,        135,        1,     1536, 0x95707eb8
+0,        136,        136,        1,     1536, 0x77327ec7
+0,        137,        137,        1,     1536, 0xb3987e64
+0,        138,        138,        1,     1536, 0x51297e97
+0,        139,        139,        1,     1536, 0x1d137e96
+0,        140,        140,        1,     1536, 0x498d7eaa
+0,        141,        141,        1,     1536, 0x57ea37cc
+0,        142,        142,        1,     1536, 0xecb2ec3f
+0,        143,        143,        1,     1536, 0xe597ec6c
+0,        144,        144,        1,     1536, 0xfb0cebab
+0,        145,        145,        1,     1536, 0xa97eeb36
+0,        146,        146,        1,     1536, 0xb866f9f3
+0,        147,        147,        1,     1536, 0xa99ee2aa
+0,        148,        148,        1,     1536, 0x10d4e344
+0,        149,        149,        1,     1536, 0x8e78e5b0
+0,        150,        150,        1,     1536, 0x7ee4e852
diff --git a/tests/ref/fate/vp60-interlace2 b/tests/ref/fate/vp60-interlace2
new file mode 100644
index 0000000000..ea663729c6
--- /dev/null
+++ b/tests/ref/fate/vp60-interlace2
@@ -0,0 +1,156 @@
+#tb 0: 200/2397
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 32x64
+#sar 0: 0/1
+0,          0,          0,        1,     3072, 0x9d4fa1a4
+0,          1,          1,        1,     3072, 0x7e06de2f
+0,          2,          2,        1,     3072, 0x0516327e
+0,          3,          3,        1,     3072, 0x650f6ca6
+0,          4,          4,        1,     3072, 0xe3b0c571
+0,          5,          5,        1,     3072, 0x594e0371
+0,          6,          6,        1,     3072, 0x38895875
+0,          7,          7,        1,     3072, 0xedf59426
+0,          8,          8,        1,     3072, 0x2468e64c
+0,          9,          9,        1,     3072, 0x02520916
+0,         10,         10,        1,     3072, 0x49ee129d
+0,         11,         11,        1,     3072, 0x142d1482
+0,         12,         12,        1,     3072, 0xa47b1535
+0,         13,         13,        1,     3072, 0x8a9f1609
+0,         14,         14,        1,     3072, 0x6ccb1587
+0,         15,         15,        1,     3072, 0x13b915dd
+0,         16,         16,        1,     3072, 0x92cd16ae
+0,         17,         17,        1,     3072, 0x58f0161d
+0,         18,         18,        1,     3072, 0x65e515c7
+0,         19,         19,        1,     3072, 0x9f6a1617
+0,         20,         20,        1,     3072, 0x3474150e
+0,         21,         21,        1,     3072, 0x6a101500
+0,         22,         22,        1,     3072, 0x9f1f152e
+0,         23,         23,        1,     3072, 0xb07413a6
+0,         24,         24,        1,     3072, 0x22f9138d
+0,         25,         25,        1,     3072, 0xc1db13ef
+0,         26,         26,        1,     3072, 0xc3161377
+0,         27,         27,        1,     3072, 0xc74c148b
+0,         28,         28,        1,     3072, 0x85e01693
+0,         29,         29,        1,     3072, 0xd3f616af
+0,         30,         30,        1,     3072, 0xd0571935
+0,         31,         31,        1,     3072, 0xe49c1d00
+0,         32,         32,        1,     3072, 0xf2b61e4f
+0,         33,         33,        1,     3072, 0x92402139
+0,         34,         34,        1,     3072, 0x897f26d2
+0,         35,         35,        1,     3072, 0xccd528dd
+0,         36,         36,        1,     3072, 0x7e9a2cc2
+0,         37,         37,        1,     3072, 0xccf22f5a
+0,         38,         38,        1,     3072, 0xa93931b9
+0,         39,         39,        1,     3072, 0x2f9b36bc
+0,         40,         40,        1,     3072, 0x6af63cf9
+0,         41,         41,        1,     3072, 0x27ea41d6
+0,         42,         42,        1,     3072, 0x54dc4667
+0,         43,         43,        1,     3072, 0x75014d6f
+0,         44,         44,        1,     3072, 0x383b51b2
+0,         45,         45,        1,     3072, 0x61ec5782
+0,         46,         46,        1,     3072, 0x3e6b5d7f
+0,         47,         47,        1,     3072, 0xda8760d4
+0,         48,         48,        1,     3072, 0x66686397
+0,         49,         49,        1,     3072, 0x73716a8b
+0,         50,         50,        1,     3072, 0x05db70bc
+0,         51,         51,        1,     3072, 0xb6f47860
+0,         52,         52,        1,     3072, 0x7e3e80bf
+0,         53,         53,        1,     3072, 0x78fd8480
+0,         54,         54,        1,     3072, 0x6d638a54
+0,         55,         55,        1,     3072, 0xea4396b3
+0,         56,         56,        1,     3072, 0x03689e2a
+0,         57,         57,        1,     3072, 0x36b0a4a0
+0,         58,         58,        1,     3072, 0x715ba7e6
+0,         59,         59,        1,     3072, 0x314da5b8
+0,         60,         60,        1,     3072, 0xb0559f6f
+0,         61,         61,        1,     3072, 0xde5f98e1
+0,         62,         62,        1,     3072, 0x3b9d9232
+0,         63,         63,        1,     3072, 0x8fef8d6e
+0,         64,         64,        1,     3072, 0xaa658629
+0,         65,         65,        1,     3072, 0x21bf8160
+0,         66,         66,        1,     3072, 0x098a7df1
+0,         67,         67,        1,     3072, 0xc10778b8
+0,         68,         68,        1,     3072, 0xa9a2746c
+0,         69,         69,        1,     3072, 0x47207175
+0,         70,         70,        1,     3072, 0xbd566d15
+0,         71,         71,        1,     3072, 0x68536934
+0,         72,         72,        1,     3072, 0xff2a64c8
+0,         73,         73,        1,     3072, 0x560663f2
+0,         74,         74,        1,     3072, 0xfcb360d0
+0,         75,         75,        1,     3072, 0xf6c060a9
+0,         76,         76,        1,     3072, 0x3f6d5f0f
+0,         77,         77,        1,     3072, 0x81485d34
+0,         78,         78,        1,     3072, 0x6c635bdb
+0,         79,         79,        1,     3072, 0x57cf60b7
+0,         80,         80,        1,     3072, 0xfe1e60af
+0,         81,         81,        1,     3072, 0x15875f66
+0,         82,         82,        1,     3072, 0xe2dd6621
+0,         83,         83,        1,     3072, 0x7cfd7381
+0,         84,         84,        1,     3072, 0xc161877b
+0,         85,         85,        1,     3072, 0x7a50a37a
+0,         86,         86,        1,     3072, 0x402bc704
+0,         87,         87,        1,     3072, 0xc3bcc71f
+0,         88,         88,        1,     3072, 0xe3efbf26
+0,         89,         89,        1,     3072, 0xfd5db2a4
+0,         90,         90,        1,     3072, 0x62bfa4e9
+0,         91,         91,        1,     3072, 0xd25399cb
+0,         92,         92,        1,     3072, 0x8c828de5
+0,         93,         93,        1,     3072, 0x5d2483d5
+0,         94,         94,        1,     3072, 0xb99a7bb7
+0,         95,         95,        1,     3072, 0x4c6b743a
+0,         96,         96,        1,     3072, 0x3a126af0
+0,         97,         97,        1,     3072, 0x1bdc6589
+0,         98,         98,        1,     3072, 0x88ec61a4
+0,         99,         99,        1,     3072, 0x23c66059
+0,        100,        100,        1,     3072, 0xdb675f24
+0,        101,        101,        1,     3072, 0xbe1c5d6e
+0,        102,        102,        1,     3072, 0xb6d15ba4
+0,        103,        103,        1,     3072, 0x0ad3558c
+0,        104,        104,        1,     3072, 0x65aa52ed
+0,        105,        105,        1,     3072, 0x298c4d9f
+0,        106,        106,        1,     3072, 0x277247c3
+0,        107,        107,        1,     3072, 0x2d0541c6
+0,        108,        108,        1,     3072, 0x5bd04050
+0,        109,        109,        1,     3072, 0x88613dd3
+0,        110,        110,        1,     3072, 0x83ee404a
+0,        111,        111,        1,     3072, 0x802e3c82
+0,        112,        112,        1,     3072, 0x71563605
+0,        113,        113,        1,     3072, 0x58383036
+0,        114,        114,        1,     3072, 0xa4822a59
+0,        115,        115,        1,     3072, 0xcdcf2718
+0,        116,        116,        1,     3072, 0xd94d253f
+0,        117,        117,        1,     3072, 0x99232548
+0,        118,        118,        1,     3072, 0x7b6f241a
+0,        119,        119,        1,     3072, 0x44bd22f0
+0,        120,        120,        1,     3072, 0x3f882092
+0,        121,        121,        1,     3072, 0x96001c68
+0,        122,        122,        1,     3072, 0xa59d17aa
+0,        123,        123,        1,     3072, 0xd36110ea
+0,        124,        124,        1,     3072, 0x391d0c3a
+0,        125,        125,        1,     3072, 0x59e40943
+0,        126,        126,        1,     3072, 0xb7f5079d
+0,        127,        127,        1,     3072, 0x5cd60631
+0,        128,        128,        1,     3072, 0x2ec20363
+0,        129,        129,        1,     3072, 0xbde10030
+0,        130,        130,        1,     3072, 0x4d37fe03
+0,        131,        131,        1,     3072, 0x69e3fd2d
+0,        132,        132,        1,     3072, 0x262efcbd
+0,        133,        133,        1,     3072, 0x9e06fda7
+0,        134,        134,        1,     3072, 0xcbc6fd9d
+0,        135,        135,        1,     3072, 0x3465fd79
+0,        136,        136,        1,     3072, 0x9692fd14
+0,        137,        137,        1,     3072, 0xd6d6fceb
+0,        138,        138,        1,     3072, 0x72eafcdd
+0,        139,        139,        1,     3072, 0x4310fcc4
+0,        140,        140,        1,     3072, 0x8b10fccb
+0,        141,        141,        1,     3072, 0x30f96bff
+0,        142,        142,        1,     3072, 0xe5b9d83c
+0,        143,        143,        1,     3072, 0x0b1fd919
+0,        144,        144,        1,     3072, 0xd346d813
+0,        145,        145,        1,     3072, 0xe73fd6f6
+0,        146,        146,        1,     3072, 0x6612f4d1
+0,        147,        147,        1,     3072, 0x9874c583
+0,        148,        148,        1,     3072, 0xcde3c709
+0,        149,        149,        1,     3072, 0x275dcc64
+0,        150,        150,        1,     3072, 0x4261d055
-- 
2.45.2

-- 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/20241018/c84a1a07/attachment.sig>


More information about the ffmpeg-devel mailing list