The contrast control is implemented by multiplying the YCbCr data by a constant. If Cb and Cr are not adjusted, a color shift will result whenever the contrast is changed. A typical 8-bit contrast adjustment range is 0~1.992x.
The brightness control is implemented by adding or subtracting from the Y data. Brightness is done after the contrast to avoid introducing a vary DC offset due to adjusting the contrast. A typical 8-bit brightness adjusting range is -128 to + 127.
The hue control is implemented by mixing the Cb and Cr data:
Cb’=Cbcosθ+Crsinθ
Cr’=Crcosθ-Cbsinθ
Where θ is the desired hue angle. A typical 8-bit hue adjustment range is -30° to +30°.
The saturation control is implemented by multiplying both Cb and Cr by a constant. A typical 8-bit saturation adjustment range is 0~1.992x.