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 67BDF41187 for ; Sat, 9 Dec 2023 19:50:11 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 68F3768D0A4; Sat, 9 Dec 2023 21:50:02 +0200 (EET) Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2B6E068D087; Sat, 9 Dec 2023 21:49:50 +0200 (EET) Received: by mail-qt1-f173.google.com with SMTP id d75a77b69052e-4257902247cso7066811cf.0; Sat, 09 Dec 2023 11:49:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702151388; x=1702756188; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lLyunhXpgVZIbo5F2YnKekvnWkBtwuY2ohBB2GUC4d8=; b=h5IuXL0qm5gl9e8DjVWFVXvYdTDw0oAaWU5sTTEwP5x3sKP6d2ptTuW/IRmlZP3Y2w skoNhO6+PgkVrS7FXstnab7TxwlVbsvd0BfR0XZj0aa5lWpPF1RKRW7/GPy0MIvMCo/7 IIXG+PqdcRIEGCuiwI6WrQKSp/fncvh3HtxV20RRwS2uYygtpTSzJzIBT73ZvQTQ2OPy 9U/1O0kmS8BxiVguF5JAd7yXtVFmmw0zOwC+r5+FQpNAmmDc/UUWV91j25HkbenddRUx G6HU3h4IlK7u70tUCroYiZVV5GOoX0EsCnaodEtn84WThBOVbQHdp6VZ4NJz/oRjuuSy +yUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702151388; x=1702756188; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lLyunhXpgVZIbo5F2YnKekvnWkBtwuY2ohBB2GUC4d8=; b=Ysqx6VLSUyDXZXLGGnkPiTu7kW2qOJrhNxlyIW/K6YDy5GR5jkuiWUxH/zmeyqCpGy 5FdT+CM5/b/Doe9Vm8+nvFFIfRG1LJ7t0RUQsQZIcrIRBseH29pPaseH8nyBIZGSv0fz o15kb32FursrD73lH6n4dewoMu5xLspITsghvhf5vAziFeRY51poYttwuQM8ktBY7DpB HRuINXzt9DQ5p3/4+11flNbCV2zlOvyjl8b5bfpPuch6SCGrIIHZqRJMee1s45l2dBIs EMNpuZk/7NKsnHomIY25iMq3qn8XwuGFLSG20yJdkC9KWcmLLRIwhejAQKT/PE3lBwR2 PpWQ== X-Gm-Message-State: AOJu0YxhzeFgEV6eoFqQxj1+ZbvttCs2tRaEQz9xChYUe/v5oyPk7XJq qcbQ0DI4tdMXOxdUl+B+FVmW1C2tXAg= X-Google-Smtp-Source: AGHT+IFtCAZ5bIU+Z3+qshs5ULWx3flMI0u3H6mI/ol9gao+WEppPsQ9qz3QrbIY2TdnSe24mTRHGQ== X-Received: by 2002:a05:620a:190c:b0:77f:4d84:d6d8 with SMTP id bj12-20020a05620a190c00b0077f4d84d6d8mr4425076qkb.6.1702151388564; Sat, 09 Dec 2023 11:49:48 -0800 (PST) Received: from gauss.local (c-68-56-149-176.hsd1.mi.comcast.net. [68.56.149.176]) by smtp.gmail.com with ESMTPSA id wa2-20020a05620a4d0200b007788dac6b24sm1613140qkn.41.2023.12.09.11.49.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Dec 2023 11:49:48 -0800 (PST) From: Leo Izen To: ffmpeg-devel@ffmpeg.org Date: Sat, 9 Dec 2023 14:49:38 -0500 Message-ID: <20231209194938.308992-2-leo.izen@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231209194938.308992-1-leo.izen@gmail.com> References: <20231209194938.308992-1-leo.izen@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/1] fate/jpegxl: add multiframe permuted TOC image parser 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: samples-request@ffmpeg.org, 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: This test verifies the parser's handling of multiframe JXL files that have an entropy-encoded permuted table of contents for each frame. The testcase is actually six JXL codestreams concatenated together, and the parser needs to be able to find the boundaries. Signed-off-by: Leo Izen --- tests/fate/jxl.mak | 3 +++ tests/ref/fate/jxl-multiframe-permuted-toc | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 tests/ref/fate/jxl-multiframe-permuted-toc diff --git a/tests/fate/jxl.mak b/tests/fate/jxl.mak index d653eb644a..1416b98f6d 100644 --- a/tests/fate/jxl.mak +++ b/tests/fate/jxl.mak @@ -19,6 +19,9 @@ fate-jxl-anim-demux: $(FATE_JPEGXL_ANIM_DEMUX) FATE_JPEGXL_PARSE += fate-jxl-small-ext-box fate-jxl-small-ext-box: CMD = framecrc -i $(TARGET_SAMPLES)/jxl/l.jxl -c copy +FATE_JPEGXL_PARSE += fate-jxl-multiframe-permuted-toc +fate-jxl-multiframe-permuted-toc: CMD = framecrc -i $(TARGET_SAMPLES)/jxl/orange.jxl -c copy + FATE_JPEGXL_PARSE += $(FATE_JPEGXL_PARSE-yes) FATE_SAMPLES_FFMPEG-$(call FRAMECRC, IMAGE_JPEGXL_PIPE, , JPEGXL_PARSER) += $(FATE_JPEGXL_PARSE) fate-jxl-parse: $(FATE_JPEGXL_PARSE) diff --git a/tests/ref/fate/jxl-multiframe-permuted-toc b/tests/ref/fate/jxl-multiframe-permuted-toc new file mode 100644 index 0000000000..94fc008143 --- /dev/null +++ b/tests/ref/fate/jxl-multiframe-permuted-toc @@ -0,0 +1,11 @@ +#tb 0: 1/25 +#media_type 0: video +#codec_id 0: jpegxl +#dimensions 0: 2400x2400 +#sar 0: 0/1 +0, 0, 0, 1, 197602, 0x6f8fc984 +0, 1, 1, 1, 52335, 0x30421469 +0, 2, 2, 1, 20784, 0xaecb1df0 +0, 3, 3, 1, 11204, 0x6c7b0759 +0, 4, 4, 1, 5653, 0xa2ac56da +0, 5, 5, 1, 11204, 0x6c7b0759 -- 2.43.0 _______________________________________________ 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".