From patchwork Fri Apr 2 14:40:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 26707 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 3F28144AA9A for ; Fri, 2 Apr 2021 17:40:51 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0AA4F689FE4; Fri, 2 Apr 2021 17:40:51 +0300 (EEST) 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 A88C9687F1A for ; Fri, 2 Apr 2021 17:40:43 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 484E4240477 for ; Fri, 2 Apr 2021 16:40:42 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id dxRChebuf-qj for ; Fri, 2 Apr 2021 16:40:41 +0200 (CEST) Received: from libav.khirnov.net (unknown [IPv6:2a00:c500:561:201:68fd:4bee:f4:c149]) (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 3DB35240476 for ; Fri, 2 Apr 2021 16:40:39 +0200 (CEST) Received: by libav.khirnov.net (Postfix, from userid 1000) id A45703A0449; Fri, 2 Apr 2021 16:40:37 +0200 (CEST) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Fri, 2 Apr 2021 16:40:27 +0200 Message-Id: <20210402144033.17410-1-anton@khirnov.net> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/7] tests/fate: add a test for APNG_DISPOSE_OP_BACKGROUND 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-background | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 tests/ref/fate/apng-dispose-background diff --git a/tests/fate/apng.mak b/tests/fate/apng.mak index 0a5f542f19..901fc0a10e 100644 --- a/tests/fate/apng.mak +++ b/tests/fate/apng.mak @@ -7,6 +7,9 @@ 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 += fate-apng-dispose-background +fate-apng-dispose-background: CMD = framecrc -i $(TARGET_SAMPLES)/apng/015.png + FATE_APNG-$(call DEMDEC, APNG, APNG) += $(FATE_APNG) FATE_SAMPLES_FFMPEG += $(FATE_APNG-yes) diff --git a/tests/ref/fate/apng-dispose-background b/tests/ref/fate/apng-dispose-background new file mode 100644 index 0000000000..41e6d0fe2a --- /dev/null +++ b/tests/ref/fate/apng-dispose-background @@ -0,0 +1,8 @@ +#tb 0: 1/10 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 128x64 +#sar 0: 0/1 +0, 0, 0, 1, 32768, 0x2d11c3b1 +0, 1, 1, 1, 32768, 0x2d11c3b1 +0, 2, 2, 1, 32768, 0x6d15d2c1