From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTPS id 9C7234E09A
	for <ffmpegdev@gitmailbox.com>; Sun, 27 Apr 2025 18:14:13 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 964C768B144;
	Sun, 27 Apr 2025 21:14:09 +0300 (EEST)
Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com
 [209.85.221.65])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 01E70687D61
 for <ffmpeg-devel@ffmpeg.org>; Sun, 27 Apr 2025 21:14:02 +0300 (EEST)
Received: by mail-wr1-f65.google.com with SMTP id
 ffacd0b85a97d-39c0dfad22aso2950751f8f.2
 for <ffmpeg-devel@ffmpeg.org>; Sun, 27 Apr 2025 11:14:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=jkqxz-net.20230601.gappssmtp.com; s=20230601; t=1745777642; x=1746382442;
 darn=ffmpeg.org; 
 h=content-transfer-encoding:mime-version:message-id:date:subject:to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=DSvOpVkP9Hva5b9esF6bwE2GcpIzgcJolE2+E8UZRq8=;
 b=eYtXVXyE/RdW9VFurkL+wB0IMde9jEZ9GQ+8V0gusyPIeXdKYF8yEgM1C+M0/J1GUC
 N8CIHTt8v42WYLGhzVOhF3Z5srvnZPDSLk5qiTk/c3kTo4Y7au4RHmOYRFLJn6DuURTD
 UVmdrPZ5nBphjiijZ+5FrE9VF5Kf1cjWlyNJ2tL3Ji0ix+O939uVAHVBoxGmfIRehUQS
 xXhepo605nwzUINjzRvzA3E0tQcgd7Q7Ap4Bw3cWtGp5qb+N1w6me18qtwKwX/iwCCNn
 DYuW6M1c5n89RPTnnMnQkmEQomar4dWtvhsSDq7c8gjMOT6LB47zHFMySAFBNk5O4nQW
 naVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1745777642; x=1746382442;
 h=content-transfer-encoding:mime-version:message-id:date:subject:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=DSvOpVkP9Hva5b9esF6bwE2GcpIzgcJolE2+E8UZRq8=;
 b=iBombXUWDmAMg1pMdsOZYuEw0COA1IVNlL5OP1Mmbs5mGoEuaJTcGsimhWn6RRPdqY
 10b6kyfuVK5j4UGHC2pPbdGLPAAo8Bb3+wj/o/MFwWwXRMRC+KjTBAmwXVu4xFmRw9Nm
 V7SW/PRaFNdTmP2wJvgTbqsDzRbRucgu1Xll0K0IVfiE+u+A/LUBUPaTtmv8olj5PlZt
 EfQfxr7qj19oZ7DOOYFyFcWxa2RP8ePXJpJVXU3jBL3TEd93SZIN2DuAQedCI+R4TMes
 qP1LKlb7kb5n/vcqmqjLdMXvXFDXDaFADIEBqm9PDK2Dk+z/TWdGS1A0SPGLMjFPOrev
 Z/mg==
X-Gm-Message-State: AOJu0YxDT6MqDDDxHt07ZON58zbTb+U6fjZXveN83Hz1pafBLUlApZVX
 22KV2omGaRtcTqKukPmbnIWN7ysYzL6NcvHxSuSEUDeGvaVkif9Z0eq1MH9+kY1sMeJ3An4C1zc
 kClNpNCej
X-Gm-Gg: ASbGncuWqnPBySuOD+OQhGzoCoyGOW6157EQmHJ8ZQiY+7w0MgNMTzi2Kpy4K0X6YoR
 pkjaO3VI3e4qke2Ulv2ZBSidmdosWZzRfH+NgVzQF1VPOanarfwc7CHJgBthgO7MOU6/I8RhDpP
 CKRu60iISaIrYUkHgM5Zf2zptdh0GC41JTDdOZjYau6v6z9fUUuY05RlCjnTaf8Qqc2eRN4goAN
 GrDj/QuucDqpdemwO3Aj1wqI96lD15/j0bCHO2f2LJyE4//AF+b6i0z8Ikws+Dxw5vbi7o+AwxN
 GCqSc8WDSqUGiWxQUF1xCR1rtvsInH4hcTVYdq5eb0FE1gIHGJDCPd/K2Qs7ODj1oriTiTiHh9z
 70fOD9HcR/qUolJJOrov+YrU=
X-Google-Smtp-Source: AGHT+IGjfMaFK5DdE6dpOpJkDPjlzeqqjoXaYgJekTxaekDFzlGjUMLTv/yd9ToKVOZGTfc2ER6Mdw==
X-Received: by 2002:a05:6000:1a88:b0:39c:1257:febb with SMTP id
 ffacd0b85a97d-3a074fafc80mr7446502f8f.59.1745777642024; 
 Sun, 27 Apr 2025 11:14:02 -0700 (PDT)
Received: from localhost.localdomain
 (cpc92320-cmbg19-2-0-cust719.5-4.cable.virginm.net. [82.13.66.208])
 by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-3a073e46538sm9034714f8f.64.2025.04.27.11.14.01
 for <ffmpeg-devel@ffmpeg.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 27 Apr 2025 11:14:01 -0700 (PDT)
From: Mark Thompson <sw@jkqxz.net>
To: ffmpeg-devel@ffmpeg.org
Date: Sun, 27 Apr 2025 19:13:45 +0100
Message-ID: <20250427181350.502684-1-sw@jkqxz.net>
X-Mailer: git-send-email 2.47.2
MIME-Version: 1.0
Subject: [FFmpeg-devel] [PATCH] fate: Add test for APV 422-10 profile
X-BeenThere: ffmpeg-devel@ffmpeg.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/20250427181350.502684-1-sw@jkqxz.net/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>

Bitstream generated using the reference encoder, then edited to fix the
colour description and an extra metadata block added.  FFmpeg decoder
output is identical to the reference decoder output.

The content used is the first three frames of "Waterfall" from the SVT
Open Content Video Test Suite 2022.  This is copyright Sveriges
Television AB and is used under the Creative Commons Attribution 4.0
International License.
---
Required sample is at <https://0x0.st/8WNx.apv>.  Please upload as "fate/apv/profile_422-10.apv" (new directory).

Currently the reference encoder only generates 422-10 profile output (profile_idc == 33).  The output stream looks right other than the profile_idc value for other profiles such as 444-10 or 400-10, but I think it is better to wait until they are officially supported before generating a reference sample.

Thanks,

- Mark

 tests/Makefile            | 1 +
 tests/fate/apv.mak        | 7 +++++++
 tests/ref/fate/apv-422-10 | 8 ++++++++
 3 files changed, 16 insertions(+)
 create mode 100644 tests/fate/apv.mak
 create mode 100644 tests/ref/fate/apv-422-10

diff --git a/tests/Makefile b/tests/Makefile
index 0c08f68713..68e68f5241 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -156,6 +156,7 @@ include $(SRC_PATH)/tests/fate/amrnb.mak
 include $(SRC_PATH)/tests/fate/amrwb.mak
 include $(SRC_PATH)/tests/fate/api.mak
 include $(SRC_PATH)/tests/fate/apng.mak
+include $(SRC_PATH)/tests/fate/apv.mak
 include $(SRC_PATH)/tests/fate/atrac.mak
 include $(SRC_PATH)/tests/fate/audio.mak
 include $(SRC_PATH)/tests/fate/bmp.mak
diff --git a/tests/fate/apv.mak b/tests/fate/apv.mak
new file mode 100644
index 0000000000..37e0b9f7be
--- /dev/null
+++ b/tests/fate/apv.mak
@@ -0,0 +1,7 @@
+FATE_APV = fate-apv-422-10
+
+FATE_SAMPLES_FFMPEG-$(call FRAMECRC, APV, APV, SCALE_FILTER) += $(FATE_APV)
+
+fate-apv:	$(FATE_APV)
+
+fate-apv-422-10:	CMD = framecrc -i $(TARGET_SAMPLES)/apv/profile_422-10.apv -pix_fmt yuv422p10le -vf scale
diff --git a/tests/ref/fate/apv-422-10 b/tests/ref/fate/apv-422-10
new file mode 100644
index 0000000000..d000751207
--- /dev/null
+++ b/tests/ref/fate/apv-422-10
@@ -0,0 +1,8 @@
+#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 320x180
+#sar 0: 1/1
+0,          0,          0,        1,   230400, 0x07f1e56d
+0,          1,          1,        1,   230400, 0x0bd1c913
+0,          2,          2,        1,   230400, 0xefd02824
-- 
2.47.2

_______________________________________________
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".