Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] lavc/vvc: Increase VVC_MAX_* definitions for level 6.3
@ 2024-02-25 21:15 Frank Plowman
  0 siblings, 0 replies; only message in thread
From: Frank Plowman @ 2024-02-25 21:15 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Frank Plowman, James Almer

Reported-by: James Almer <jamrial@gmail.com>
Signed-off-by: Frank Plowman <post@frankplowman.com>
---
 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".

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-25 21:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-25 21:15 [FFmpeg-devel] [PATCH] lavc/vvc: Increase VVC_MAX_* definitions for level 6.3 Frank Plowman

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git