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 B440B48DB3 for ; Sun, 25 Feb 2024 21:15:40 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1C39F68C0CC; Sun, 25 Feb 2024 23:15:38 +0200 (EET) Received: from sender11-op-o12.zoho.eu (sender11-op-o12.zoho.eu [31.186.226.226]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 782DC68BF3B for ; Sun, 25 Feb 2024 23:15:31 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; t=1708895729; cv=none; d=zohomail.eu; s=zohoarc; b=W8ILlPFcjl+rzMClAIpnGopCTLe9E4BD32+WLWc6ay8ewO+NaVqTjvOJ7Sf8gfArtfMOpR6jGn9DBv31i4R+HVSAwLjpyi8HIzyI1gKNwKL+7bjaRJRvLcLp3hGVm4lOR4A18cTP8Y2vtpLTgCcM5rUxidBIL1zVQyRMnELgZ7Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1708895729; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=koA1AZ5tY2vVsbh9pFHRGpF24Mo6YnQjAFLmVqRzCHY=; b=dfZUOkmAxM/Oi+Jc1qf/Ph1ZcSJgf4ILPhPDxMR7fNDMTaR3WmYwjZxqtVZR/9ZCIH5XrdpQjrzSdBoR6VmdUspT4wHgsO+irB//fZxV3oU99HmN5u7/TELeJBS9wll97V1Pm0MfKqnzA6vAwhrjfHimaMzJ648J+eC1oGCDREg= 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=1708895729; 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=koA1AZ5tY2vVsbh9pFHRGpF24Mo6YnQjAFLmVqRzCHY=; b=OomQgmUs/Vp0DazhXKO/OOKZ2hZsvDH2ofvEYsGKXVWY4VIEpoomWE77b59mNmOA b2XcW1x2iJk7tI5HiH05kHpmS6YtU1WD9l03i3XtI04MKhXyx3XX9Jkos2jJ3+lWH1b dgdwxYljHugskX+A/yyHiObl8gut5mmXEv8BWKoA= Received: from localhost.localdomain (frankplowman.com [51.89.148.29]) by mx.zoho.eu with SMTPS id 1708895727641846.3857973988689; Sun, 25 Feb 2024 22:15:27 +0100 (CET) From: Frank Plowman To: ffmpeg-devel@ffmpeg.org Date: Sun, 25 Feb 2024 21:15:24 +0000 Message-ID: <20240225211524.31154-1-post@frankplowman.com> X-Mailer: git-send-email 2.43.2 MIME-Version: 1.0 X-ZohoMailClient: External Subject: [FFmpeg-devel] [PATCH] lavc/vvc: Increase VVC_MAX_* definitions for level 6.3 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 , James Almer 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: Reported-by: James Almer Signed-off-by: Frank Plowman --- libavcodec/vvc.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/libavcodec/vvc.h b/libavcodec/vvc.h index 7d165cdb86..c4cec1eb8f 100644 --- a/libavcodec/vvc.h +++ b/libavcodec/vvc.h @@ -123,25 +123,25 @@ enum { // 7.4.6.1: hrd_cpb_cnt_minus1 is in [0, 31]. VVC_MAX_CPB_CNT = 32, - // A.4.1: the highest level allows a MaxLumaPs of 35 651 584. - VVC_MAX_LUMA_PS = 35651584, + // A.4.1: the highest level allows a MaxLumaPs of 80,216,064. + VVC_MAX_LUMA_PS = 80216064, // A.4.1: pic_width_in_luma_samples and pic_height_in_luma_samples are // constrained to be not greater than sqrt(MaxLumaPs * 8). Hence height/ - // width are bounded above by sqrt(8 * 35651584) = 16888.2 samples. - VVC_MAX_WIDTH = 16888, - VVC_MAX_HEIGHT = 16888, - - // A.4.1: table A.1 allows at most 440 tiles per au for any level. - VVC_MAX_TILES_PER_AU = 440, - // A.4.1: table A.1 did not define max tile rows. - // in worest a case, we can have 1x440 tiles picture. + // width are bounded above by sqrt(8 * 80216064) = 25332.4 samples. + VVC_MAX_WIDTH = 25332, + VVC_MAX_HEIGHT = 25332, + + // A.4.1: table A.2 allows at most 990 tiles per AU for any level. + VVC_MAX_TILES_PER_AU = 990, + // A.4.1: table A.2 did not define max tile rows. + // in worest a case, we can have 1x990 tiles picture. VVC_MAX_TILE_ROWS = VVC_MAX_TILES_PER_AU, - // A.4.1: table A.1 allows at most 20 tile columns for any level. - VVC_MAX_TILE_COLUMNS = 20, + // A.4.1: table A.2 allows at most 30 tile columns for any level. + VVC_MAX_TILE_COLUMNS = 30, - // A.4.1 table A.1 allows at most 600 slice for any level. - VVC_MAX_SLICES = 600, + // A.4.1 table A.2 allows at most 1000 slices for any level. + VVC_MAX_SLICES = 1000, // 7.4.8: in the worst case (!pps_no_pic_partition_flag and // sps_entropy_coding_sync_enabled_flag are both true), entry points can be -- 2.43.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".