From patchwork Fri Aug 23 12:36:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Plowman X-Patchwork-Id: 51121 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:b3c7:0:b0:48e:c0f8:d0de with SMTP id g7csp308287vqt; Fri, 23 Aug 2024 05:37:14 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXLcm1M4Txzn8wmjI9Wa5AJUEx37dIixlqcir/xcGd8nNW0owUWsbumOPUX8UwJ4oVVmnJVKlnCx6kkfJg2EpEx@gmail.com X-Google-Smtp-Source: AGHT+IGIfYAMEvsrDLuvBofr3ZSWOPdurtyD8+4JiYcXzbrsYAMWDaI4NPYE18RMMsehBjVzg3F1 X-Received: by 2002:a2e:bc18:0:b0:2f1:929b:af00 with SMTP id 38308e7fff4ca-2f4f4932c04mr9098271fa.5.1724416633886; Fri, 23 Aug 2024 05:37:13 -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 a640c23a62f3a-a868f508bc0si264665266b.887.2024.08.23.05.37.13; Fri, 23 Aug 2024 05:37:13 -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=@frankplowman.com header.s=zmail header.b=geHS7WXA; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1B21B68DB7E; Fri, 23 Aug 2024 15:37:10 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from sender-op-o11.zoho.eu (sender-op-o11.zoho.eu [136.143.169.11]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 98B4D68DA10 for ; Fri, 23 Aug 2024 15:37:03 +0300 (EEST) Delivered-To: post@frankplowman.com ARC-Seal: i=1; a=rsa-sha256; t=1724416621; cv=none; d=zohomail.eu; s=zohoarc; b=GW+FA0D4Ye5RaZ3YtU9/oPTDKaRvoVOspFBmZsarGiAcCxFGhddf4oeiO/ZhL+HpXhwbXvp9EdLR3IsKGNIb+dYHcyTM1ka2GMOStC3WairYUDlZ1g6AeBvH4gnyoV2R8qVfU69OnZBTKvTkkHb/95OFCOayGTI4MNnBP3w+SJw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1724416621; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=cg3RgjoyM/fKo52tnTRgf+WrRK3SP3zdC/QCe0CW3Y0=; b=grpPu6eRfmz5nLobGTZR0BQ1pgQs+y127W43IXQlAdC8WPLkdBgKMie/ZAMOJTAJ0nG4A+y9o/stjBEDwyTQeDbExU/9m0bztU5Q1bwUH0AJkgfdg9o9XbbrAIiq89eK5k5kwMkXIk4HlVvi7KMBvLw53HTuct6mkjbMdmK2wsQ= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=frankplowman.com; spf=pass smtp.mailfrom=post@frankplowman.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1724416621; s=zmail; d=frankplowman.com; i=post@frankplowman.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To; bh=cg3RgjoyM/fKo52tnTRgf+WrRK3SP3zdC/QCe0CW3Y0=; b=geHS7WXARCShmPOm6Lk1TWqDFb0PYJlvXQX+ZyelPKiARh2F6tUQQnnCF572JaiH FBOk7MRL0/LHd1hVToke2myBdHELQ3QAmavZbSb6WYjB4WfYA0QVWy1ja0v09hex1Ky O5AFm8m8JRoVu/704zyQ9wb0sC+seNOXX1x6US3M= Received: by mx.zoho.eu with SMTPS id 1724416621008398.2826580886251; Fri, 23 Aug 2024 14:37:01 +0200 (CEST) From: Frank Plowman To: ffmpeg-devel@ffmpeg.org Date: Fri, 23 Aug 2024 13:36:50 +0100 Message-ID: <20240823123659.5739-1-post@frankplowman.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-ZohoMailClient: External Subject: [FFmpeg-devel] [PATCH] lavc/vvc: Remove experimental flag 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: Frank Plowman , nuomi2021@gmail.com Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: 6jKzadf3uHDM This reverts commit 110d8549d575aae6b2f627cd63e2eb7082ab8926. I have been working through fixing bugs, particularly crashes I've found using a fuzzer, in the VVC decoder for the past few months. While I won't claim it is now bug-free, it is considerably more resilient than it was and I think in a position to have the experimental flag removed for release 7.1. Additionally, most of the Main 10 features of VVC which were missing version of the decoder released in 7.0 have now been implemented. This includes the most major missing features: IBC, subpictures and RPR. Signed-off-by: Frank Plowman --- libavcodec/vvc/dec.c | 3 +-- tests/fate/vvc.mak | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libavcodec/vvc/dec.c b/libavcodec/vvc/dec.c index 2c80f0c461..edf2607f50 100644 --- a/libavcodec/vvc/dec.c +++ b/libavcodec/vvc/dec.c @@ -1108,8 +1108,7 @@ const FFCodec ff_vvc_decoder = { .close = vvc_decode_free, FF_CODEC_DECODE_CB(vvc_decode_frame), .flush = vvc_decode_flush, - .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY | AV_CODEC_CAP_OTHER_THREADS | - AV_CODEC_CAP_EXPERIMENTAL, + .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY | AV_CODEC_CAP_OTHER_THREADS, .caps_internal = FF_CODEC_CAP_EXPORTS_CROPPING | FF_CODEC_CAP_INIT_CLEANUP | FF_CODEC_CAP_AUTO_THREADS, .p.profiles = NULL_IF_CONFIG_SMALL(ff_vvc_profiles), diff --git a/tests/fate/vvc.mak b/tests/fate/vvc.mak index 3e762ec65e..5335460263 100644 --- a/tests/fate/vvc.mak +++ b/tests/fate/vvc.mak @@ -41,7 +41,7 @@ $(foreach VAR,$(FATE_VVC_VARS), $(eval VVC_TESTS_$(VAR) := $(addprefix fate-vvc- $(VVC_TESTS_8BIT): SCALE_OPTS := -pix_fmt yuv420p $(VVC_TESTS_10BIT): SCALE_OPTS := -pix_fmt yuv420p10le -vf scale $(VVC_TESTS_444_10BIT): SCALE_OPTS := -pix_fmt yuv444p10le -vf scale -fate-vvc-conformance-%: CMD = framecrc -c:v vvc -strict experimental -i $(TARGET_SAMPLES)/vvc-conformance/$(subst fate-vvc-conformance-,,$(@)).bit $(SCALE_OPTS) +fate-vvc-conformance-%: CMD = framecrc -c:v vvc -i $(TARGET_SAMPLES)/vvc-conformance/$(subst fate-vvc-conformance-,,$(@)).bit $(SCALE_OPTS) FATE_VVC-$(call FRAMECRC, VVC, VVC, VVC_PARSER) += $(VVC_TESTS_8BIT) FATE_VVC-$(call FRAMECRC, VVC, VVC, VVC_PARSER SCALE_FILTER) += \