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 6A39E40241 for ; Wed, 23 Mar 2022 11:04:45 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id F0D8E68B1EA; Wed, 23 Mar 2022 13:04:10 +0200 (EET) Received: from mail-qv1-f45.google.com (mail-qv1-f45.google.com [209.85.219.45]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C32F068B1C1 for ; Wed, 23 Mar 2022 13:04:02 +0200 (EET) Received: by mail-qv1-f45.google.com with SMTP id kk12so882115qvb.13 for ; Wed, 23 Mar 2022 04:04:02 -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=L+lDXbq9OdL9iWZAFbeLjgLd2Bhc7hJe/362t9XzjcmQFd3z0Zwavl/P4nxcfGPM1Z Jd2MQRjQQcGUVks7paupFYVjjZljILOlomC+NQ+M/wEhMyytRaIhjKe1x+qbIAICsUOe 0CQbOGIwRaYmjlkgYRTWbyhxRtS5bfgGehMcp8zpimFo9WDA1H7ZPa4sqPxKEchXElPU tO7wIA3Ju4kz6K17sTlx9AyqbuKAq4AweFpTxA5+zbz6hxB+kJFwsoy5AJ/l2O0A7DK1 IvxUo9iS51edUFPD958U/e+7ZJ9Hp9Vy0z0k/nYcgmf0QorP1IdBskhDvIJFClxSpd0b O39A== 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=NJXKoL/v6MyJ1YERvcMZwFXpB913+yTXpGdZWYzcLCNNdAu8One4nTVr1+eyDWHsme 9ovNpPwFvj0olqMIDaqvEpTqDAWDgAAi6IKUckrP+h2Tz/thxugjTt+MgYsuFztqI03r CW53snHDteu/h8kARCrSMwvqiv1+Ym81zfGw7C0VES7kIZzqYcdEq73bdvI8FikQ8ZVa 44wfU91peFdcUjlatszh4baTeTgvoKcriC9+0Z98JHlnNvcSzh/pDwA8gUfvJbBVb7TI hIkDJXWvdI5ciQM0D2M/up4CDQWqq1/rKUJHhrvw32qXuGUk2458LwIGR+Esuw6tt6fr psdA== X-Gm-Message-State: AOAM531RaKFIqikSc1zCjXr2sp8h0caNcljOkEo9WQQRvvf8WCDiEOE0 5LSahN7DXZXBO/ZW2UdUJ3R/FUH1s8w= X-Google-Smtp-Source: ABdhPJw4Tu9MUGjSDki4xVSZ0/oojCdc0HfJ996u5wsLLdw4oAaoJGz3MJ+w9nAJfKJuLrPz5Tt61g== X-Received: by 2002:a05:6214:4017:b0:441:35e:fcbd with SMTP id kd23-20020a056214401700b00441035efcbdmr17135825qvb.110.1648033441529; Wed, 23 Mar 2022 04:04:01 -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 s13-20020a05620a0bcd00b0067afe7dd3ffsm11012061qki.49.2022.03.23.04.04.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Mar 2022 04:04:01 -0700 (PDT) From: Leo Izen To: ffmpeg-devel@ffmpeg.org Date: Wed, 23 Mar 2022 07:03:25 -0400 Message-Id: <20220323110325.5499-5-leo.izen@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220323110325.5499-1-leo.izen@gmail.com> References: <20220323110325.5499-1-leo.izen@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v9 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".