From patchwork Sat May 8 11:13:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 27696 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:b214:0:0:0:0:0 with SMTP id b20csp1323975iof; Sat, 8 May 2021 04:13:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHAVd4xHbQwOCS/NgPd6u8jL3t6YH45ZTsFML1BiIB8OYya586GOfO5kdM+mJgvo7BtJ7P X-Received: by 2002:a17:906:3646:: with SMTP id r6mr15214481ejb.43.1620472423909; Sat, 08 May 2021 04:13:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620472423; cv=none; d=google.com; s=arc-20160816; b=qURgdmBPqBFOj0Yhva7uEiLRCM82IMdaiaumXL3tI1F28p4XuLx++xzWFzA79NA5XR uzDlgXmZa+YYxWdjII2EVigK+LwLap8LqS3xIxZh+oRYIdW2a2tNhaDW2vxjcK5xGBqe c+t3Q8PFDre7NE5OSimoynyIx0I1ydGItQAz9UZMnRLx05ZLkmZCiODwGHrZb6acryVG /szKZbxAwih7JYdVCKa1ORY5GV2betrMNxOvqnB0HmPWjgZOB+9Nuah8V9Fqvvh7d9bJ 4SnzZlBjN397c5nlyXgSVpvMW1bN0huDkHqZIG3QgxmT2JhheruOXIzh+l4yz4Sfnskh VVDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:delivered-to; bh=/yC67ZkDyF0pk1E8Gcr17QIIMpxECwH4AbGrHJl1JAo=; b=TEtOdGdQ5k6wRg+91c7CfnwtI9/OzCXI9UUDnRf3flCyEVDsp9g96CMR7DbyPxjuGb 54TtCubxvhjMGaUKbiAwtbp9nQMFQVsVdWjYY5Xnf4o414WZujUx/Iq7BQ670YAydKVy u8/NLSkpHs/122STTLWAGSK0lFFJR0eGScI7kVZtWJpUy9ewyZanpqs+SwBe4ycIrFht NytgO8uoZcQkf5Ml4dVcTUqIwjnY072K3oUUEHjke3cy58sV1SA/Qe5fNd9LcE0dSW5d fpcWNMP62kNw/Kyui7tAMMfidFan52aZa42ukqitzrXnZiMETomEA75uYN0L+pAsp5yF dCMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id c13si7576287eje.45.2021.05.08.04.13.43; Sat, 08 May 2021 04:13:43 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8659C6801F1; Sat, 8 May 2021 14:13:31 +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 38326680466 for ; Sat, 8 May 2021 14:13:24 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id DB6FE24042A for ; Sat, 8 May 2021 13:13:23 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id Z_94bX_sVmPn for ; Sat, 8 May 2021 13:13:22 +0200 (CEST) Received: from libav.khirnov.net (unknown [IPv6:2a00:c500:561:201:2bd:e41:185e:6294]) (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 04D9A240476 for ; Sat, 8 May 2021 13:13:22 +0200 (CEST) Received: by libav.khirnov.net (Postfix, from userid 1000) id 3919C3A103B; Sat, 8 May 2021 13:13:19 +0200 (CEST) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Sat, 8 May 2021 13:13:03 +0200 Message-Id: <20210508111303.27757-2-anton@khirnov.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210508111303.27757-1-anton@khirnov.net> References: <20210508111303.27757-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/2] fate: add a more extensive test for APNG_DISPOSE_OP_BACKGROUND X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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" X-TUID: uvbQmgEDFfAE Uses the sample from #9184. --- tests/fate/apng.mak | 3 +++ tests/ref/fate/apng-dispose-background2 | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 tests/ref/fate/apng-dispose-background2 diff --git a/tests/fate/apng.mak b/tests/fate/apng.mak index 901fc0a10e..e9d3cf2a02 100644 --- a/tests/fate/apng.mak +++ b/tests/fate/apng.mak @@ -10,6 +10,9 @@ fate-apng-dispose-previous: CMD = framecrc -i $(TARGET_SAMPLES)/apng/apng_out_of FATE_APNG += fate-apng-dispose-background fate-apng-dispose-background: CMD = framecrc -i $(TARGET_SAMPLES)/apng/015.png +FATE_APNG += fate-apng-dispose-background2 +fate-apng-dispose-background2: CMD = framecrc -i $(TARGET_SAMPLES)/apng/alogo.png + FATE_APNG-$(call DEMDEC, APNG, APNG) += $(FATE_APNG) FATE_SAMPLES_FFMPEG += $(FATE_APNG-yes) diff --git a/tests/ref/fate/apng-dispose-background2 b/tests/ref/fate/apng-dispose-background2 new file mode 100644 index 0000000000..db1216e836 --- /dev/null +++ b/tests/ref/fate/apng-dispose-background2 @@ -0,0 +1,25 @@ +#tb 0: 3/40 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 100x100 +#sar 0: 0/1 +0, 0, 0, 1, 40000, 0x15284fcd +0, 1, 1, 1, 40000, 0xc77f0451 +0, 2, 2, 1, 40000, 0x895c4029 +0, 3, 3, 1, 40000, 0x9474bd69 +0, 4, 4, 1, 40000, 0xdd67407e +0, 5, 5, 1, 40000, 0x2ff049ee +0, 6, 6, 1, 40000, 0xd944c1bb +0, 7, 7, 1, 40000, 0x56850692 +0, 8, 8, 1, 40000, 0x8816ce06 +0, 9, 9, 1, 40000, 0x0d7170a8 +0, 10, 10, 1, 40000, 0x85290373 +0, 11, 11, 1, 40000, 0xd2899862 +0, 12, 12, 1, 40000, 0x8730ed6d +0, 13, 13, 1, 40000, 0x914257ad +0, 14, 14, 1, 40000, 0x513b88a4 +0, 15, 15, 1, 40000, 0x695a8ff0 +0, 16, 16, 1, 40000, 0xec63be20 +0, 17, 17, 1, 40000, 0x024a7b99 +0, 18, 18, 1, 40000, 0x28b05fc4 +0, 19, 19, 1, 40000, 0xcf1fceb2