From patchwork Tue Feb 16 20:24:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 25659 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 09A99449BFC for ; Tue, 16 Feb 2021 22:25:56 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CCA26689E51; Tue, 16 Feb 2021 22:25:55 +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 4EC92689C60 for ; Tue, 16 Feb 2021 22:25:49 +0200 (EET) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id C33D1240695 for ; Tue, 16 Feb 2021 21:25:48 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id 50ZsqX_4xtPO for ; Tue, 16 Feb 2021 21:25:46 +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 DCCAF24048A for ; Tue, 16 Feb 2021 21:25:46 +0100 (CET) Received: by libav.khirnov.net (Postfix, from userid 1000) id B2EB43A02A5; Tue, 16 Feb 2021 21:25:46 +0100 (CET) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Tue, 16 Feb 2021 21:24:11 +0100 Message-Id: <20210216202416.12116-1-anton@khirnov.net> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/6] tests: add a test for LSCR 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/video.mak | 3 +++ tests/ref/fate/lscr | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 tests/ref/fate/lscr diff --git a/tests/fate/video.mak b/tests/fate/video.mak index a5f3107c38..4b2c4ab665 100644 --- a/tests/fate/video.mak +++ b/tests/fate/video.mak @@ -207,6 +207,9 @@ fate-kgv1: CMD = framecrc -i $(TARGET_SAMPLES)/kega/kgv1.avi -pix_fmt rgb555le - FATE_VIDEO-$(call DEMDEC, AVI, KMVC) += fate-kmvc fate-kmvc: CMD = framecrc -i $(TARGET_SAMPLES)/KMVC/LOGO1.AVI -an -t 3 -pix_fmt rgb24 -vf scale +FATE_VIDEO-$(call DEMDEC, AVI, LSCR) += fate-lscr +fate-lscr: CMD = framecrc -i $(TARGET_SAMPLES)/lscr/lscr_compr9_short.avi + FATE_MAGICYUV += fate-magicyuv-y4444i \ fate-magicyuv-y400i \ fate-magicyuv-y420 \ diff --git a/tests/ref/fate/lscr b/tests/ref/fate/lscr new file mode 100644 index 0000000000..3b3fd4ce50 --- /dev/null +++ b/tests/ref/fate/lscr @@ -0,0 +1,21 @@ +#tb 0: 100/2397 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 320x240 +#sar 0: 0/1 +0, 0, 0, 1, 230400, 0x07c93bd9 +0, 1, 1, 1, 230400, 0xdcacc274 +0, 2, 2, 1, 230400, 0x6115dc34 +0, 3, 3, 1, 230400, 0x7317f35c +0, 4, 4, 1, 230400, 0xca18d9a6 +0, 5, 5, 1, 230400, 0x0c104d49 +0, 6, 6, 1, 230400, 0xc4c415cf +0, 7, 7, 1, 230400, 0xd1e4149f +0, 8, 8, 1, 230400, 0x5973ae25 +0, 9, 9, 1, 230400, 0xd77893e6 +0, 10, 10, 1, 230400, 0x7f9cac97 +0, 11, 11, 1, 230400, 0xc8f81940 +0, 12, 12, 1, 230400, 0xa2b6f5d4 +0, 13, 13, 1, 230400, 0x620c3222 +0, 14, 14, 1, 230400, 0x60d097a0 +0, 15, 15, 1, 230400, 0x47201c65