[FFmpeg-devel] [PATCH] avcodec/evc: Remove redefine of HEVC_MAX_ENTRY_POINT_OFFSETS

Zhao Zhili quinkblack at foxmail.com
Thu Feb 22 08:41:50 EET 2024


From: Zhao Zhili <zhilizhao at tencent.com>

---
 libavcodec/evc.h | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/libavcodec/evc.h b/libavcodec/evc.h
index 9711c760fe..e493455a42 100644
--- a/libavcodec/evc.h
+++ b/libavcodec/evc.h
@@ -141,15 +141,6 @@ enum {
 
     // A.4.1: table A.1 allows at most 600 slice segments for any level.
     EVC_MAX_SLICE_SEGMENTS = 600,
-
-    // 7.4.7.1: in the worst case (tiles_enabled_flag and
-    // entropy_coding_sync_enabled_flag are both set), entry points can be
-    // placed at the beginning of every Ctb row in every tile, giving an
-    // upper bound of (num_tile_columns_minus1 + 1) * PicHeightInCtbsY - 1.
-    // Only a stream with very high resolution and perverse parameters could
-    // get near that, though, so set a lower limit here with the maximum
-    // possible value for 4K video (at most 135 16x16 Ctb rows).
-    HEVC_MAX_ENTRY_POINT_OFFSETS = EVC_MAX_TILE_COLUMNS * 135,
 };
 
 #endif // AVCODEC_EVC_H
-- 
2.42.0



More information about the ffmpeg-devel mailing list