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] avcodec/evc: Remove redefine of HEVC_MAX_ENTRY_POINT_OFFSETS
@ 2024-02-22  6:41 ` Zhao Zhili
  2024-02-22  6:55   ` mypopy
  2024-02-23  7:50   ` Dawid Kozinski/Multimedia (PLT) /SRPOL/Staff Engineer/Samsung Electronics
  0 siblings, 2 replies; 3+ messages in thread
From: Zhao Zhili @ 2024-02-22  6:41 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Zhao Zhili

From: Zhao Zhili <zhilizhao@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

_______________________________________________
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] 3+ messages in thread

* Re: [FFmpeg-devel] [PATCH] avcodec/evc: Remove redefine of HEVC_MAX_ENTRY_POINT_OFFSETS
  2024-02-22  6:41 ` [FFmpeg-devel] [PATCH] avcodec/evc: Remove redefine of HEVC_MAX_ENTRY_POINT_OFFSETS Zhao Zhili
@ 2024-02-22  6:55   ` mypopy
  2024-02-23  7:50   ` Dawid Kozinski/Multimedia (PLT) /SRPOL/Staff Engineer/Samsung Electronics
  1 sibling, 0 replies; 3+ messages in thread
From: mypopy @ 2024-02-22  6:55 UTC (permalink / raw)
  To: FFmpeg development discussions and patches

On Thu, Feb 22, 2024 at 2:42 PM Zhao Zhili <quinkblack@foxmail.com> wrote:
>
> From: Zhao Zhili <zhilizhao@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
_______________________________________________
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] 3+ messages in thread

* Re: [FFmpeg-devel] [PATCH] avcodec/evc: Remove redefine of HEVC_MAX_ENTRY_POINT_OFFSETS
  2024-02-22  6:41 ` [FFmpeg-devel] [PATCH] avcodec/evc: Remove redefine of HEVC_MAX_ENTRY_POINT_OFFSETS Zhao Zhili
  2024-02-22  6:55   ` mypopy
@ 2024-02-23  7:50   ` Dawid Kozinski/Multimedia (PLT) /SRPOL/Staff Engineer/Samsung Electronics
  1 sibling, 0 replies; 3+ messages in thread
From: Dawid Kozinski/Multimedia (PLT) /SRPOL/Staff Engineer/Samsung Electronics @ 2024-02-23  7:50 UTC (permalink / raw)
  To: 'FFmpeg development discussions and patches'; +Cc: 'Zhao Zhili'




> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of Zhao
> Zhili
> Sent: czwartek, 22 lutego 2024 07:42
> To: ffmpeg-devel@ffmpeg.org
> Cc: Zhao Zhili <zhilizhao@tencent.com>
> Subject: [FFmpeg-devel] [PATCH] avcodec/evc: Remove redefine of
> HEVC_MAX_ENTRY_POINT_OFFSETS
> 
> From: Zhao Zhili <zhilizhao@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,

I confirm, the definition and comment lines should be removed. 
Thank you for removing it.


>  };
> 
>  #endif // AVCODEC_EVC_H
> --
> 2.42.0
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://protect2.fireeye.com/v1/url?k=f0e40b7a-916f1e5a-f0e58035-
> 74fe485fb347-2f46b0db54ce070f&q=1&e=7726f18d-7d3b-4f9e-99e9-
> d37717d5f7c4&u=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmp
> eg-devel
> 
> To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org
> with subject "unsubscribe".

_______________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2024-02-23  7:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20240222064217eucas1p28c0b4c2f5c918fe99acdda64d5793642@eucas1p2.samsung.com>
2024-02-22  6:41 ` [FFmpeg-devel] [PATCH] avcodec/evc: Remove redefine of HEVC_MAX_ENTRY_POINT_OFFSETS Zhao Zhili
2024-02-22  6:55   ` mypopy
2024-02-23  7:50   ` Dawid Kozinski/Multimedia (PLT) /SRPOL/Staff Engineer/Samsung Electronics

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