Patent attributes
An example device includes a memory device configured to store encoded video data, and processing circuitry coupled to the memory device. The processing circuitry is configured to determine that a rectangular transform unit (TU) of the stored video data includes a number of pixel rows denoted by a first integer value ‘K’ and a number of pixel columns denoted by a second integer value ‘L,’ where K has a value equal to an integer value ‘m’ left shifted by one, and where L has a value equal to an integer value ‘n’ left shifted by one, to determine that a sum of n and m is an odd number, and based on the sum of n and m being the odd number, to add a delta quantization parameter value to a quantization parameter (QP) value for the rectangular TU to obtain a modified QP value for the rectangular TU.