Patent ID: 8279924

Claim:
A method of encoding video data, the method comprising: testing a first quantization parameter with respect to a set of video blocks for rate-distortion performance in video encoding, wherein the set of video blocks include luma blocks and chroma blocks; adjusting the first quantization parameter to a second quantization parameter; determining whether the second quantization parameter causes an undesirable quantization change for the chroma blocks relative to the first quantization parameter; testing the second quantization parameter with respect to the set of video blocks for rate-distortion performance in the video encoding if the second quantization parameter does not cause the undesirable quantization change for the chroma blocks; skipping testing of the second quantization parameter with respect to the set of video blocks for rate-distortion performance in the video encoding if the second quantization parameter does cause the undesirable quantization change for the chroma blocks; and encoding the set of video blocks based on a tested one of the quantization parameters.