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

mypopy at gmail.com mypopy at gmail.com
Thu Feb 22 08:55:22 EET 2024


On Thu, Feb 22, 2024 at 2:42 PM Zhao Zhili <quinkblack at foxmail.com> wrote:
>
> 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,
>  };
LGTM, thx


More information about the ffmpeg-devel mailing list