Re: [FFmpeg-devel] [PATCH] lavc/vvc: Increase size of ctb_size_y

2024-04-15 Thread Nuo Mi
On Sat, Apr 13, 2024 at 9:55 PM James Almer wrote: > On 4/13/2024 7:55 AM, Frank Plowman wrote: > > sps_log2_ctu_size_minus5 is between 0 and 2, with 3 reserved for future > > use. The VVC decoder allows sps_log2_ctu_size_minus5 to be 3, and so > > ctb_size_y should be at least 16 bits to preven

Re: [FFmpeg-devel] [PATCH] lavc/vvc: Increase size of ctb_size_y

2024-04-13 Thread James Almer
On 4/13/2024 7:55 AM, Frank Plowman wrote: sps_log2_ctu_size_minus5 is between 0 and 2, with 3 reserved for future use. The VVC decoder allows sps_log2_ctu_size_minus5 to be 3, and so ctb_size_y should be at least 16 bits to prevent overflows. An alternative patch would leave sps_log2_ctu_size_

[FFmpeg-devel] [PATCH] lavc/vvc: Increase size of ctb_size_y

2024-04-13 Thread Frank Plowman
sps_log2_ctu_size_minus5 is between 0 and 2, with 3 reserved for future use. The VVC decoder allows sps_log2_ctu_size_minus5 to be 3, and so ctb_size_y should be at least 16 bits to prevent overflows. An alternative patch would leave sps_log2_ctu_size_minus5 as 8 bits and disallow sps_log2_ctu_si