From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id E9DD4427BD for ; Wed, 30 Mar 2022 14:55:00 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5691B68B290; Wed, 30 Mar 2022 17:54:29 +0300 (EEST) Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 433A768B262 for ; Wed, 30 Mar 2022 17:54:20 +0300 (EEST) Received: by mail-qk1-f182.google.com with SMTP id b189so16760094qkf.11 for ; Wed, 30 Mar 2022 07:54:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QBkEW2m+j3x8MnVsgyIfblwLAXez1He4Lfx1N2r5GMg=; b=Nyf/UaPQsjYFG3xsioIxiCcR0/ngfR56QPtt0V4HCmZmXyRX+pEPv68aRB0gg2PImU haeLG8pRhm4+ix5iH9UYCMCmx8teYMZc/ICte+v0TYwq/2SE4tamuv929/CUICNKMszi IynHdMcALgURjdaIJ0FLRoy7ERgFpNz1rWdMoFg4KrpJCiMMNsNjkmhCvVWh2lwE8JMB 16p4Mci56TtybFYubpx7ZEEYvIfbf5CwkF2Uwh7IlY7Hgph2eQAAfihkroxwV5rUyA5R PiSfC3x37OWlVH/LjC8DiPrqs30rw1zOqZUK6lT1oy0jg+wr/JO0Ykj7rTD3Uo7XQxAQ C+wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QBkEW2m+j3x8MnVsgyIfblwLAXez1He4Lfx1N2r5GMg=; b=Umh55VBpE53H8bFd1LN3Upx7uSltQwbnZYg0YXNqxHxYPrlJwlpN1mtUWI4fpPvo7s hqvwVmj6ku396Vk2TngB7cAc+yAU4VAx/MSHci82lKmUvOyPHzkk1xMyM5xDGLqhYRj1 JAYeGujNFsCZHrV5RweP/wQ0fqaMi3CRpiMwLTkYtTkZTrNJ6Ec9m73y5LyKbkJMwA0x trn9vXxjInrFnGahRzESdjAY5YjBO7eCWZYdl/qF5Bn/SQty5+V3u+L+da9nyIcrG2zJ HZF/yWjNAx342YjuUIL0seP8XSUn/SXfwP0BFp9tAn2yBWg2EWGPJNMqPPSI7Z5DGeeS 0bXA== X-Gm-Message-State: AOAM531mbhVZemZkcpiKtk/uM/u8lQjIsnyqenfSoenHc9ypuEKXYlGq ardN8B06DcRwMWpsJRhbvJuVgqUhhEI= X-Google-Smtp-Source: ABdhPJzkwV3XTYScdsYnLT5jz0WrNKiGg4rsBzhHvyzojSA5AUgo+x2WSfZIIkY9OEqlBysUcvoQJA== X-Received: by 2002:a05:620a:4706:b0:67d:a135:c912 with SMTP id bs6-20020a05620a470600b0067da135c912mr5470qkb.344.1648652059068; Wed, 30 Mar 2022 07:54:19 -0700 (PDT) Received: from gauss.local (c-68-41-54-207.hsd1.mi.comcast.net. [68.41.54.207]) by smtp.gmail.com with ESMTPSA id e15-20020a05622a110f00b002e1ed105652sm18258650qty.2.2022.03.30.07.54.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 07:54:18 -0700 (PDT) From: Leo Izen To: ffmpeg-devel@ffmpeg.org Date: Wed, 30 Mar 2022 10:53:28 -0400 Message-Id: <20220330145328.52279-5-leo.izen@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220330145328.52279-1-leo.izen@gmail.com> References: <20220330145328.52279-1-leo.izen@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v10 5/5] fate/jpegxl: add Jpeg XL demux and parse FATE test 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 Cc: Leo Izen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Add a fate test for the Jpeg XL parser in libavcodec and its image2 wrapper inside libavformat. --- tests/fate/image.mak | 10 ++++++++++ tests/ref/fate/jxl-parse-codestream | 6 ++++++ tests/ref/fate/jxl-parse-container | 6 ++++++ 3 files changed, 22 insertions(+) create mode 100644 tests/ref/fate/jxl-parse-codestream create mode 100644 tests/ref/fate/jxl-parse-container diff --git a/tests/fate/image.mak b/tests/fate/image.mak index 573d398915..15b6145c58 100644 --- a/tests/fate/image.mak +++ b/tests/fate/image.mak @@ -357,6 +357,16 @@ FATE_JPEGLS-$(call DEMDEC, IMAGE2, JPEGLS) += $(FATE_JPEGLS) FATE_IMAGE += $(FATE_JPEGLS-yes) fate-jpegls: $(FATE_JPEGLS-yes) +FATE_JPEGXL += fate-jxl-parse-codestream +fate-jxl-parse-codestream: CMD = framecrc -i $(TARGET_SAMPLES)/jxl/belgium.jxl -c:v copy + +FATE_JPEGXL += fate-jxl-parse-container +fate-jxl-parse-container: CMD = framecrc -i $(TARGET_SAMPLES)/jxl/lenna-256.jxl -c:v copy + +FATE_JPEGXL-$(call DEMDEC, IMAGE2) += $(FATE_JPEGXL) +FATE_IMAGE += $(FATE_JPEGXL-yes) +fate-jxl: $(FATE_JPEGXL-yes) + FATE_IMAGE-$(call DEMDEC, IMAGE2, QDRAW) += fate-pict fate-pict: CMD = framecrc -i $(TARGET_SAMPLES)/quickdraw/TRU256.PCT -pix_fmt rgb24 diff --git a/tests/ref/fate/jxl-parse-codestream b/tests/ref/fate/jxl-parse-codestream new file mode 100644 index 0000000000..b2fe5035ac --- /dev/null +++ b/tests/ref/fate/jxl-parse-codestream @@ -0,0 +1,6 @@ +#tb 0: 1/25 +#media_type 0: video +#codec_id 0: jpegxl +#dimensions 0: 768x512 +#sar 0: 0/1 +0, 0, 0, 1, 32, 0xa2930a20 diff --git a/tests/ref/fate/jxl-parse-container b/tests/ref/fate/jxl-parse-container new file mode 100644 index 0000000000..99233d612a --- /dev/null +++ b/tests/ref/fate/jxl-parse-container @@ -0,0 +1,6 @@ +#tb 0: 1/25 +#media_type 0: video +#codec_id 0: jpegxl +#dimensions 0: 256x256 +#sar 0: 0/1 +0, 0, 0, 1, 8088, 0xbbfea9bd -- 2.35.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".