From patchwork Tue Feb 16 20:24:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 25663 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id C379A449BFC for ; Tue, 16 Feb 2021 22:25:59 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A7CD1689FD6; Tue, 16 Feb 2021 22:25:59 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3FDE0689CA7 for ; Tue, 16 Feb 2021 22:25:50 +0200 (EET) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id A5A9E24068A for ; Tue, 16 Feb 2021 21:25:49 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id hwDJO7i_LMPm for ; Tue, 16 Feb 2021 21:25:49 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id 1F640240694 for ; Tue, 16 Feb 2021 21:25:47 +0100 (CET) Received: by libav.khirnov.net (Postfix, from userid 1000) id C6E5B3A02C7; Tue, 16 Feb 2021 21:25:46 +0100 (CET) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Tue, 16 Feb 2021 21:24:16 +0100 Message-Id: <20210216202416.12116-6-anton@khirnov.net> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20210216202416.12116-1-anton@khirnov.net> References: <20210216202416.12116-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 6/6] tests/fate/apng: add a test for APNG_DISPOSE_OP_PREVIOUS X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" --- tests/fate/apng.mak | 3 + tests/ref/fate/apng-dispose-previous | 139 +++++++++++++++++++++++++++ 2 files changed, 142 insertions(+) create mode 100644 tests/ref/fate/apng-dispose-previous 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