Skip to content

Fix #1509: lossless coding of RGB content

Currently, lossless coding of RGB content fails when both ACT and BDPCM are enabled (as in the lossless section of the HBD CTC).

This is due to a problem introduced when fixing an issue when TS was disabled. For lossless coding, the break clause incorrectly limits the maximum mode ID to the maximum number of modes minus 1 as for non BDPCM CUs the one mode ID added to trModes is 1.

The simplified break clause has been tested with lossless section of HBD CTC and will not affect lossy coding.

Edited by Frank Bossen

Merge request reports

Loading