From patchwork Fri Apr 29 20:22:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 35513 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:a885:b0:7f:4be2:bd17 with SMTP id ca5csp500705pzb; Fri, 29 Apr 2022 13:23:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHD73ENEaGLSXrf3BRmLR++bcUkW9EAJ9yz7dVKbfJqcVHxnl3azNbJTN6bhvA8aSuv7Kn X-Received: by 2002:a17:907:7b83:b0:6e8:c2c8:1f14 with SMTP id ne3-20020a1709077b8300b006e8c2c81f14mr985444ejc.356.1651263818937; Fri, 29 Apr 2022 13:23:38 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id l13-20020aa7d94d000000b0042146612117si6578548eds.562.2022.04.29.13.23.38; Fri, 29 Apr 2022 13:23:38 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@outlook.com header.s=selector1 header.b="bBES7/0Y"; arc=fail (body hash mismatch); spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E4FD268B2F8; Fri, 29 Apr 2022 23:23:35 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05olkn2067.outbound.protection.outlook.com [40.92.91.67]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5760D68B30C for ; Fri, 29 Apr 2022 23:23:29 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hgfPLqK+h/8+3S59rm6iHfpOE+L7+QumkBWfu9T7CuY4hVWo2lArPT0hQdznRo3BD8s9PTjDIsUySVgS3MdYbjEUU1qcHYnKM69IUnt3hYUyOHQYgnE4xiatV9zMym3fWKD3zObhIBOjkTvx5y0+bJbDYCxGh9Asm2hncEGgRPsrWjnAPNv76rRSH3kcCSHV9CoFTMlEz+1hVTHAIeqBrksuVKgfkZ9dOP5PCZTwhpbchQt+N3WrFGiv7m2k8cX61ej7lzAGxvVORKvR46LHqwI85bjLY+298R3QSU0123pYEIXJeWaHCd/9/oHbIB//iFADyppqXgZ9KBZJnHkoyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+w5e4DiRhQFO+yE+4J+dy6xj5EEjhBIXYwQHyMoiilc=; b=HLD3vdKmAC1fu3wvBV5NdLVo68Ci2Sg0igwgG3kMtplZc8DXZLupOAtJVFnXBfcR4y8C15++aDb8og7tSRqFs87ZVlFYYTBctqthobE1wfaKmApeTaBcmexDDKoZYtbbA4u8sDNN2OrLHShzBAwEHm8K9lVcDPt9pCmBRSyKrVuv+mkAFu869upIYWqIp0rnt7X4wQ2C89PJTNVSaeJg7N85z3F8RID+mHDwsxaWvagzn+ASApzA8nn72LLLyF75MjRb9eIeHeozD8Lre9ZpSXhswGeolVReDlg+366AMPBsNZIbae9oftW4eW54sysvPw93w7ReOB3gd6h0gHUphA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+w5e4DiRhQFO+yE+4J+dy6xj5EEjhBIXYwQHyMoiilc=; b=bBES7/0YIuQfOSVFHYHbM0emgtllmkXNAWaXSt2BPZvhT0pxhL2vi5A6DjnX09J0FdSfAabjW6DsnRgbOsdVec5VHBqGZ80zSnYkdKXJK7Yw0I41Sj4zR0QNo4wZ3NcnzjqsdQHehvO4Nd2VyQpAgfRv01CEVkssNTA2VHUXj4LK056peEZtg6j2YLQzuvJoyZRhGjXHSNMEZs3ilLvPwK9ZWbUSqDc78nbALD7xUmYDSC3cGbwX7IxArfU+ITHe5jvm0pfXBvCH4FE6zavdxU0LOvd5rEzM5hu3NyUkSJyf+OXt62xPFePaGO0CjvVBn4T2hWafBhsotdr5nQ3k6Q== Received: from AS8PR01MB7944.eurprd01.prod.exchangelabs.com (2603:10a6:20b:373::5) by AS8PR01MB7526.eurprd01.prod.exchangelabs.com (2603:10a6:20b:2ae::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.14; Fri, 29 Apr 2022 20:23:28 +0000 Received: from AS8PR01MB7944.eurprd01.prod.exchangelabs.com ([fe80::1854:2c30:7ba1:c431]) by AS8PR01MB7944.eurprd01.prod.exchangelabs.com ([fe80::1854:2c30:7ba1:c431%6]) with mapi id 15.20.5186.021; Fri, 29 Apr 2022 20:23:28 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Fri, 29 Apr 2022 22:22:58 +0200 Message-ID: X-Mailer: git-send-email 2.32.0 In-Reply-To: References: X-TMN: [qwa/vZDHh+83gDfT8/o+DT+ZZYjfclAf] X-ClientProxiedBy: ZRAP278CA0014.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:10::24) To AS8PR01MB7944.eurprd01.prod.exchangelabs.com (2603:10a6:20b:373::5) X-Microsoft-Original-Message-ID: <20220429202302.996974-2-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 01998636-0d87-418f-baa9-08da2a1e1e9b X-MS-Exchange-SLBlob-MailProps: gjx25WM8ZNViLEfi+B1v2XXjcG3a0+vLxnyZqGUmlXwgt8sUTqdhmTi2K+76yI1EsMSyNJCfJASTVBp8GtUGlrwX2f/Zo2qOO+L78qfruZjBqV8vGB36wC7w9kZB0D0GkUcbx4aIJb1ZylsYf5nPEcPMq4YOiFiKYq6+7ntZes+2/XzGumnFPsgAqQ9THIueMhM7Dg+bQgXhAaXL4wz9XvNeaP65L6iPgcPvbJ9xHZ7+HvCyfc4Dc3MMWQMGPYuCc2jZHYy5jUL4fXES9RkKAJWwKOZeg26SyxbhGj6bTcY6f5Ite7QPK/LYVET1x/xt5cNAEsi4aXdaRi/DtDr/gdWJQ94rkmwaZsCBR2k3UWRzgVdwG7CYLidFZ2dD3v8Gy6UxT6ypGQzQcnNc/augjBHsUxiUjsSju2/igX/7v7eWwwstHxAQLnrkCDuQc9OsQyFcUdTL27cS4IP9P9WX9jtpAc6yKGYCCwsILsdHbcJCNQDO8PuaakHNtkikKythAKdn8Ji06SaOxS4hR5Xwa3skJ++Z6Xb5BhBtUz22AhhgkaadLjPcrgGRdllwO+qDkIsQbpmtUYJmiBiXAhkewAGjbJlfYPAMAAaJ2qBjk2jDrXRbNz66Tb4mrOEugBSBn++LvhLXaVJqS+ANS3wpE/YzRDqEPpdqJTevtx/bbL9a8U4zYbD55Ya9BQdJlr+8NJXoODA/9rG6VJ49m4GvVCH+Bb0hRFEO/TUsdxkokZw= X-MS-TrafficTypeDiagnostic: AS8PR01MB7526:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fP1aOJ5cfuCme8rY8rE7WDAdUcyysoVhW31j7gQUptC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exchange-CrossTenant-AuthSource: AS8PR01MB7944.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2022 20:23:28.1784 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR01MB7526 Subject: [FFmpeg-devel] [PATCH 15/19] fate/hevc: Fix test requirements 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: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: JYnYJTN+l6IU Also replace define/foreach with pattern-specific variable values. Signed-off-by: Andreas Rheinhardt --- tests/fate/hevc.mak | 102 +++++++++++++++----------------------------- 1 file changed, 34 insertions(+), 68 deletions(-) diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak index 3adee59e54..2f16e3a29f 100644 --- a/tests/fate/hevc.mak +++ b/tests/fate/hevc.mak @@ -1,4 +1,4 @@ -HEVC_SAMPLES = \ +HEVC_SAMPLES_8BIT = \ AMP_A_Samsung_4 \ AMP_A_Samsung_6 \ AMP_B_Samsung_4 \ @@ -158,23 +158,27 @@ HEVC_SAMPLES_422_10BIT = \ ADJUST_IPRED_ANGLE_A_RExt_Mitsubishi_1 \ IPCM_A_RExt_NEC \ -HEVC_SAMPLES_422_10BIN = \ - Main_422_10_A_RExt_Sony_1 \ - HEVC_SAMPLES_422_10BIN_LARGE = \ Main_422_10_B_RExt_Sony_1 \ +HEVC_SAMPLES_422_10BIN = \ + Main_422_10_A_RExt_Sony_1 \ + $(if $(CONFIG_LARGE_TESTS), $(HEVC_SAMPLES_422_10BIN_LARGE)) + HEVC_SAMPLES_444_8BIT = \ QMATRIX_A_RExt_Sony_1 \ +HEVC_SAMPLES_444_12BIT_LARGE = \ + SAO_A_RExt_MediaTek_1 \ + HEVC_SAMPLES_444_12BIT = \ IPCM_B_RExt_NEC \ PERSIST_RPARAM_A_RExt_Sony_1\ PERSIST_RPARAM_A_RExt_Sony_3\ + $(if $(CONFIG_LARGE_TESTS), $(HEVC_SAMPLES_444_12BIT_LARGE)) -HEVC_SAMPLES_444_12BIT_LARGE = \ - SAO_A_RExt_MediaTek_1 \ - +FATE_HEVC_VARS := 8BIT 10BIT 422_10BIT 422_10BIN 444_8BIT 444_12BIT +$(foreach VAR,$(FATE_HEVC_VARS), $(eval HEVC_TESTS_$(VAR) := $(addprefix fate-hevc-conformance-, $(HEVC_SAMPLES_$(VAR))))) # equivalent bitstreams # AMP_D_Hisilicon_3 -- AMP_D_Hisilicon @@ -190,103 +194,65 @@ HEVC_SAMPLES_444_12BIT_LARGE = \ # PERSIST_RPARAM_A_RExt_Sony_1 (rext) -define FATE_HEVC_TEST -FATE_HEVC += fate-hevc-conformance-$(1) -fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv420p -endef - -define FATE_HEVC_TEST_10BIT -FATE_HEVC += fate-hevc-conformance-$(1) -fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv420p10le -vf scale -endef - -define FATE_HEVC_TEST_422_10BIT -FATE_HEVC += fate-hevc-conformance-$(1) -fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv422p10le -vf scale -endef - -define FATE_HEVC_TEST_422_10BIN -FATE_HEVC += fate-hevc-conformance-$(1) -fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bin -pix_fmt yuv422p10le -vf scale -endef - -define FATE_HEVC_TEST_422_10BIN_LARGE -FATE_HEVC_LARGE += fate-hevc-conformance-$(1) -fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bin -pix_fmt yuv422p10le -vf scale -endef +$(HEVC_TESTS_8BIT): SCALE_OPTS := -pix_fmt yuv420p +$(HEVC_TESTS_444_8BIT): SCALE_OPTS := -pix_fmt yuv444p +$(HEVC_TESTS_10BIT): SCALE_OPTS := -pix_fmt yuv420p10le -vf scale +$(HEVC_TESTS_422_10BIT) $(HEVC_TESTS_422_10BIN): SCALE_OPTS := -pix_fmt yuv422p10le -vf scale +$(HEVC_TESTS_444_12BIT): SCALE_OPTS := -pix_fmt yuv444p12le -vf scale +fate-hevc-conformance-%: CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(subst fate-hevc-conformance-,,$(@)).bit $(SCALE_OPTS) +$(HEVC_TESTS_422_10BIN): CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(subst fate-hevc-conformance-,,$(@)).bin $(SCALE_OPTS) -define FATE_HEVC_TEST_444_8BIT -FATE_HEVC += fate-hevc-conformance-$(1) -fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv444p -endef - -define FATE_HEVC_TEST_444_12BIT -FATE_HEVC += fate-hevc-conformance-$(1) -fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv444p12le -vf scale -endef - -define FATE_HEVC_TEST_444_12BIT_LARGE -FATE_HEVC_LARGE += fate-hevc-conformance-$(1) -fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv444p12le -vf scale -endef - -$(foreach N,$(HEVC_SAMPLES),$(eval $(call FATE_HEVC_TEST,$(N)))) -$(foreach N,$(HEVC_SAMPLES_10BIT),$(eval $(call FATE_HEVC_TEST_10BIT,$(N)))) -$(foreach N,$(HEVC_SAMPLES_422_10BIT),$(eval $(call FATE_HEVC_TEST_422_10BIT,$(N)))) -$(foreach N,$(HEVC_SAMPLES_422_10BIN),$(eval $(call FATE_HEVC_TEST_422_10BIN,$(N)))) -$(foreach N,$(HEVC_SAMPLES_422_10BIN_LARGE),$(eval $(call FATE_HEVC_TEST_422_10BIN_LARGE,$(N)))) -$(foreach N,$(HEVC_SAMPLES_444_8BIT),$(eval $(call FATE_HEVC_TEST_444_8BIT,$(N)))) -$(foreach N,$(HEVC_SAMPLES_444_12BIT),$(eval $(call FATE_HEVC_TEST_444_12BIT,$(N)))) -$(foreach N,$(HEVC_SAMPLES_444_12BIT_LARGE),$(eval $(call FATE_HEVC_TEST_444_12BIT_LARGE,$(N)))) +FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, HEVC_PARSER) += $(HEVC_TESTS_8BIT) $(HEVC_TESTS_444_8BIT) +FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, HEVC_PARSER SCALE_FILTER) += \ + $(HEVC_TESTS_10BIT) \ + $(HEVC_TESTS_422_10BIT) \ + $(HEVC_TESTS_422_10BIN) \ + $(HEVC_TESTS_444_12BIT) \ fate-hevc-paramchange-yuv420p-yuv420p10: CMD = framecrc -vsync passthrough -i $(TARGET_SAMPLES)/hevc/paramchange_yuv420p_yuv420p10.hevc -sws_flags area+accurate_rnd+bitexact -FATE_HEVC_LARGE += fate-hevc-paramchange-yuv420p-yuv420p10 +FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, HEVC_PARSER SCALE_FILTER LARGE_TESTS) += fate-hevc-paramchange-yuv420p-yuv420p10 tests/data/hevc-mp4.mov: TAG = GEN tests/data/hevc-mp4.mov: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \ -i $(TARGET_SAMPLES)/hevc-conformance/WPP_A_ericsson_MAIN10_2.bit -c copy -flags +bitexact $(TARGET_PATH)/$@ -y 2>/dev/null -FATE_HEVC-$(call ALLYES, HEVC_DEMUXER MOV_DEMUXER HEVC_MP4TOANNEXB_BSF MOV_MUXER HEVC_MUXER) += fate-hevc-bsf-mp4toannexb +FATE_HEVC-$(call ALLYES, HEVC_DEMUXER MOV_DEMUXER HEVC_PARSER HEVC_MP4TOANNEXB_BSF MOV_MUXER HEVC_MUXER) += fate-hevc-bsf-mp4toannexb fate-hevc-bsf-mp4toannexb: tests/data/hevc-mp4.mov fate-hevc-bsf-mp4toannexb: CMD = md5 -i $(TARGET_PATH)/tests/data/hevc-mp4.mov -c:v copy -fflags +bitexact -f hevc fate-hevc-bsf-mp4toannexb: CMP = oneline fate-hevc-bsf-mp4toannexb: REF = 1873662a3af1848c37e4eb25722c8df9 fate-hevc-skiploopfilter: CMD = framemd5 -skip_loop_filter nokey -i $(TARGET_SAMPLES)/hevc-conformance/SAO_D_Samsung_5.bit -sws_flags bitexact -FATE_HEVC += fate-hevc-skiploopfilter - -FATE_HEVC-$(call DEMDEC, HEVC, HEVC) += $(FATE_HEVC) -FATE_HEVC-$(call ALLYES, HEVC_DEMUXER HEVC_DECODER LARGE_TESTS) += $(FATE_HEVC_LARGE) +FATE_HEVC-$(call FRAMEMD5, HEVC, HEVC, HEVC_PARSER) += fate-hevc-skiploopfilter # this sample has two stsd entries and needs to reload extradata -FATE_HEVC-$(call DEMDEC, MOV, HEVC) += fate-hevc-extradata-reload - +FATE_HEVC-$(call FRAMEMD5, MOV, HEVC, SCALE_FILTER) += fate-hevc-extradata-reload fate-hevc-extradata-reload: CMD = framemd5 -i $(TARGET_SAMPLES)/hevc/extradata-reload-multi-stsd.mov -sws_flags bitexact fate-hevc-paired-fields: CMD = probeframes -show_entries frame=interlaced_frame,top_field_first $(TARGET_SAMPLES)/hevc/paired_fields.hevc FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-paired-fields fate-hevc-monochrome-crop: CMD = probeframes -show_entries frame=width,height:stream=width,height $(TARGET_SAMPLES)/hevc/hevc-monochrome.hevc -FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-monochrome-crop +FATE_HEVC_FFPROBE-$(call PARSERDEMDEC, HEVC, HEVC, HEVC) += fate-hevc-monochrome-crop fate-hevc-hdr10-plus-metadata: CMD = probeframes -show_entries frame=side_data_list $(TARGET_SAMPLES)/hevc/hdr10_plus_h265_sample.hevc FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-hdr10-plus-metadata fate-hevc-hdr-vivid-metadata: CMD = probeframes -show_entries frame=side_data_list $(TARGET_SAMPLES)/hevc/hdr_vivid_h265_sample.hevc -FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-hdr-vivid-metadata +FATE_HEVC_FFPROBE-$(call PARSERDEMDEC, HEVC, HEVC, HEVC) += fate-hevc-hdr-vivid-metadata fate-hevc-dv-rpu: CMD = probeframes -show_entries frame=side_data_list -select_streams 0 -read_intervals "%+\#2" $(TARGET_SAMPLES)/hevc/dv84.mov -FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-dv-rpu +FATE_HEVC_FFPROBE-$(call DEMDEC, MOV, HEVC) += fate-hevc-dv-rpu fate-hevc-two-first-slice: CMD = threads=2 framemd5 -i $(TARGET_SAMPLES)/hevc/two_first_slice.mp4 -sws_flags bitexact -t 00:02.00 -an -FATE_HEVC-$(call DEMDEC, MOV, HEVC) += fate-hevc-two-first-slice +FATE_HEVC-$(call FRAMEMD5, MOV, HEVC) += fate-hevc-two-first-slice fate-hevc-cabac-tudepth: CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc/cbf_cr_cb_TUDepth_4_circle.h265 -pix_fmt yuv444p -FATE_HEVC-$(call DEMDEC, HEVC, HEVC) += fate-hevc-cabac-tudepth +FATE_HEVC-$(call FRAMECRC, HEVC, HEVC) += fate-hevc-cabac-tudepth fate-hevc-small422chroma: CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc/food.hevc -pix_fmt yuv422p10le -vf scale -FATE_HEVC-$(call DEMDEC, HEVC, HEVC) += fate-hevc-small422chroma +FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, HEVC_PARSER SCALE_FILTER) += fate-hevc-small422chroma FATE_SAMPLES_AVCONV += $(FATE_HEVC-yes) FATE_SAMPLES_FFPROBE += $(FATE_HEVC_FFPROBE-yes)