[FFmpeg-devel] [PATCH v4] lavc/vvc: Prevent overflow in chroma QP derivation

Nuo Mi nuomi2021 at gmail.com
Wed Jun 12 15:55:00 EEST 2024


On Sun, Jun 9, 2024 at 7:18 PM Frank Plowman <post at frankplowman.com> wrote:

> On the top of p. 112 in VVC (09/2023):
>
> It is a requirement of bitstream conformance that the values of
> qpInVal[ i ][ j ] and qpOutVal[ i ][ j ] shall be in the range
> of −QpBdOffset to 63, inclusive for i in the range of 0 to
> numQpTables − 1, inclusive, and j in the range of 0 to
> sps_num_points_in_qp_table_minus1[ i ] + 1, inclusive.
>
> Additionally, don't discard the return code from sps_chroma_qp_table.
>
> Applied.
Thank you, Frank


More information about the ffmpeg-devel mailing list