[FFmpeg-cvslog] tests/fate/apng: add a test for APNG_DISPOSE_OP_PREVIOUS

Anton Khirnov git at videolan.org
Wed Feb 24 18:18:09 EET 2021


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Feb 16 21:19:38 2021 +0100| [eed2125f3f1762f940bb42d49ae608b90a7f79ae] | committer: Anton Khirnov

tests/fate/apng: add a test for APNG_DISPOSE_OP_PREVIOUS

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eed2125f3f1762f940bb42d49ae608b90a7f79ae
---

 tests/fate/apng.mak                  |   3 +
 tests/ref/fate/apng-dispose-previous | 139 +++++++++++++++++++++++++++++++++++
 2 files changed, 142 insertions(+)

diff --git a/tests/fate/apng.mak b/tests/fate/apng.mak
index bc138b42d1..0a5f542f19 100644
--- a/tests/fate/apng.mak
+++ b/tests/fate/apng.mak
@@ -4,6 +4,9 @@ fate-apng-clock: CMD = framecrc -i $(TARGET_SAMPLES)/apng/clock.png
 FATE_APNG += fate-apng-osample
 fate-apng-osample: CMD = framecrc -i $(TARGET_SAMPLES)/apng/o_sample.png
 
+FATE_APNG += fate-apng-dispose-previous
+fate-apng-dispose-previous: CMD = framecrc -i $(TARGET_SAMPLES)/apng/apng_out_of_order_frames.png
+
 FATE_APNG-$(call DEMDEC, APNG, APNG) += $(FATE_APNG)
 
 FATE_SAMPLES_FFMPEG += $(FATE_APNG-yes)
diff --git a/tests/ref/fate/apng-dispose-previous b/tests/ref/fate/apng-dispose-previous
new file mode 100644
index 0000000000..8c456390f0
--- /dev/null
+++ b/tests/ref/fate/apng-dispose-previous
@@ -0,0 +1,139 @@
+#tb 0: 1/10
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 85x128
+#sar 0: 0/1
+0,          0,          0,        1,    43520, 0xff012b7c
+0,          1,          1,        1,    43520, 0x76842464
+0,          2,          2,        1,    43520, 0xa35de191
+0,          3,          3,        1,    43520, 0x7ece479c
+0,          4,          4,        1,    43520, 0xea12fa4a
+0,          5,          5,        1,    43520, 0xcb2c2256
+0,          6,          6,        1,    43520, 0x7d225965
+0,          7,          7,        1,    43520, 0xc0d95d3f
+0,          8,          8,        1,    43520, 0xee864d84
+0,          9,          9,        1,    43520, 0x1fadbb0e
+0,         10,         10,        1,    43520, 0xab89647b
+0,         11,         11,        1,    43520, 0x206141bc
+0,         12,         12,        1,    43520, 0x6432e720
+0,         13,         13,        1,    43520, 0xe25ab561
+0,         14,         14,        1,    43520, 0xc2df7c6b
+0,         15,         15,        1,    43520, 0x372768c3
+0,         16,         16,        1,    43520, 0xfeea0d7b
+0,         17,         17,        1,    43520, 0x89c1f76d
+0,         18,         18,        1,    43520, 0xae16c8b3
+0,         19,         19,        1,    43520, 0x98949570
+0,         20,         20,        1,    43520, 0x5bb75099
+0,         21,         21,        1,    43520, 0xb4c73263
+0,         22,         22,        1,    43520, 0xcf26f441
+0,         23,         23,        1,    43520, 0xba47d23b
+0,         24,         24,        1,    43520, 0x4c3e87da
+0,         25,         25,        1,    43520, 0xe95b7398
+0,         26,         26,        1,    43520, 0x00575c74
+0,         27,         27,        1,    43520, 0xea1d59f6
+0,         28,         28,        1,    43520, 0xbede4d2e
+0,         29,         29,        1,    43520, 0x9ed736a6
+0,         30,         30,        1,    43520, 0x8b027f56
+0,         31,         31,        1,    43520, 0x1db24f15
+0,         32,         32,        1,    43520, 0x1835a2dd
+0,         33,         33,        1,    43520, 0xfda26b24
+0,         34,         34,        1,    43520, 0x52f3e8eb
+0,         35,         35,        1,    43520, 0xda01102f
+0,         36,         36,        1,    43520, 0x443adff3
+0,         37,         37,        1,    43520, 0x46c72f9a
+0,         38,         38,        1,    43520, 0x3ec78642
+0,         39,         39,        1,    43520, 0x12033c40
+0,         40,         40,        1,    43520, 0x41fe0964
+0,         41,         41,        1,    43520, 0xc7a53be5
+0,         42,         42,        1,    43520, 0x4b185aa0
+0,         43,         43,        1,    43520, 0xf45cc1f0
+0,         44,         44,        1,    43520, 0x8bdc77cd
+0,         45,         45,        1,    43520, 0x94c5ac41
+0,         46,         46,        1,    43520, 0xfbabeefe
+0,         47,         47,        1,    43520, 0x92d657d9
+0,         48,         48,        1,    43520, 0x09dbd475
+0,         49,         49,        1,    43520, 0x5f9926e4
+0,         50,         50,        1,    43520, 0x4fdb5a64
+0,         51,         51,        1,    43520, 0xc0a382f6
+0,         52,         52,        1,    43520, 0x104f9b45
+0,         53,         53,        1,    43520, 0xfaf5d8f7
+0,         54,         54,        1,    43520, 0x2559e38b
+0,         55,         55,        1,    43520, 0x82890381
+0,         56,         56,        1,    43520, 0xfe7aec01
+0,         57,         57,        1,    43520, 0x4543f499
+0,         58,         58,        1,    43520, 0x60d7cbd1
+0,         59,         59,        1,    43520, 0x576fc249
+0,         60,         60,        1,    43520, 0xc96d9035
+0,         61,         61,        1,    43520, 0x40857b3a
+0,         62,         62,        1,    43520, 0x422a2eef
+0,         63,         63,        1,    43520, 0xb1510101
+0,         64,         64,        1,    43520, 0x3f619ad7
+0,         65,         65,        1,    43520, 0x497f42fa
+0,         66,         66,        1,    43520, 0x8b4b1ce2
+0,         67,         67,        1,    43520, 0x21f2f75b
+0,         68,         68,        1,    43520, 0x8b4b1ce2
+0,         69,         69,        1,    43520, 0x497f42fa
+0,         70,         70,        1,    43520, 0x3f619ad7
+0,         71,         71,        1,    43520, 0xb1510101
+0,         72,         72,        1,    43520, 0x422a2eef
+0,         73,         73,        1,    43520, 0x40857b3a
+0,         74,         74,        1,    43520, 0xc96d9035
+0,         75,         75,        1,    43520, 0x576fc249
+0,         76,         76,        1,    43520, 0x60d7cbd1
+0,         77,         77,        1,    43520, 0x4543f499
+0,         78,         78,        1,    43520, 0xfe7aec01
+0,         79,         79,        1,    43520, 0x82890381
+0,         80,         80,        1,    43520, 0x2559e38b
+0,         81,         81,        1,    43520, 0xfaf5d8f7
+0,         82,         82,        1,    43520, 0x104f9b45
+0,         83,         83,        1,    43520, 0xc0a382f6
+0,         84,         84,        1,    43520, 0x4fdb5a64
+0,         85,         85,        1,    43520, 0x5f9926e4
+0,         86,         86,        1,    43520, 0x09dbd475
+0,         87,         87,        1,    43520, 0x92d657d9
+0,         88,         88,        1,    43520, 0xfbabeefe
+0,         89,         89,        1,    43520, 0x94c5ac41
+0,         90,         90,        1,    43520, 0x8bdc77cd
+0,         91,         91,        1,    43520, 0xf45cc1f0
+0,         92,         92,        1,    43520, 0x4b185aa0
+0,         93,         93,        1,    43520, 0xc7a53be5
+0,         94,         94,        1,    43520, 0x41fe0964
+0,         95,         95,        1,    43520, 0x12033c40
+0,         96,         96,        1,    43520, 0x3ec78642
+0,         97,         97,        1,    43520, 0x46c72f9a
+0,         98,         98,        1,    43520, 0x443adff3
+0,         99,         99,        1,    43520, 0xda01102f
+0,        100,        100,        1,    43520, 0x52f3e8eb
+0,        101,        101,        1,    43520, 0xfda26b24
+0,        102,        102,        1,    43520, 0x1835a2dd
+0,        103,        103,        1,    43520, 0x1db24f15
+0,        104,        104,        1,    43520, 0x8b027f56
+0,        105,        105,        1,    43520, 0x9ed736a6
+0,        106,        106,        1,    43520, 0xbede4d2e
+0,        107,        107,        1,    43520, 0xea1d59f6
+0,        108,        108,        1,    43520, 0x00575c74
+0,        109,        109,        1,    43520, 0xe95b7398
+0,        110,        110,        1,    43520, 0x4c3e87da
+0,        111,        111,        1,    43520, 0xba47d23b
+0,        112,        112,        1,    43520, 0xcf26f441
+0,        113,        113,        1,    43520, 0xb4c73263
+0,        114,        114,        1,    43520, 0x5bb75099
+0,        115,        115,        1,    43520, 0x98949570
+0,        116,        116,        1,    43520, 0xae16c8b3
+0,        117,        117,        1,    43520, 0x89c1f76d
+0,        118,        118,        1,    43520, 0xfeea0d7b
+0,        119,        119,        1,    43520, 0x372768c3
+0,        120,        120,        1,    43520, 0xc2df7c6b
+0,        121,        121,        1,    43520, 0xe25ab561
+0,        122,        122,        1,    43520, 0x6432e720
+0,        123,        123,        1,    43520, 0x206141bc
+0,        124,        124,        1,    43520, 0xab89647b
+0,        125,        125,        1,    43520, 0x1fadbb0e
+0,        126,        126,        1,    43520, 0xee864d84
+0,        127,        127,        1,    43520, 0xc0d95d3f
+0,        128,        128,        1,    43520, 0x7d225965
+0,        129,        129,        1,    43520, 0xcb2c2256
+0,        130,        130,        1,    43520, 0xea12fa4a
+0,        131,        131,        1,    43520, 0x7ece479c
+0,        132,        132,        1,    43520, 0xa35de191
+0,        133,        133,        1,    43520, 0x76842464



More information about the ffmpeg-cvslog mailing list