Re: [FFmpeg-devel] [PATCH] lavc/vvc: Validate IBC block vector

2024-06-25 Thread Frank Plowman
On 25/06/2024 15:19, Nuo Mi wrote: > On Mon, Jun 24, 2024 at 9:31 PM Frank Plowman wrote: > >> From H.266 (V3) (09/2023) p. 321: >> >> It is a requirement of bitstream conformance that the luma block >> vector bvL shall obey the following constraints: >> - CtbSizeY is greater than or equal to >>

Re: [FFmpeg-devel] [PATCH] lavc/vvc: Validate IBC block vector

2024-06-25 Thread Nuo Mi
On Mon, Jun 24, 2024 at 9:31 PM Frank Plowman wrote: > From H.266 (V3) (09/2023) p. 321: > > It is a requirement of bitstream conformance that the luma block > vector bvL shall obey the following constraints: > - CtbSizeY is greater than or equal to > ((yCb + (bvL[ 1 ] >> 4)) & (CtbSizeY − 1)) +