5.8.6.16 Contrast, Brightness, Hue and Saturation

This module is for YUV formatting purposes. Brightness offset allows the Luminance to be adjusted. Hue is used for Chroma phase adjustment, and Color Saturation for Chroma amplitude. Contrast gain is applied on all pixel components (Luma and Chroma). The CBHS samples the csc_data[29:0] 30-bit bus when csc_valid is asserted and generates cbhs_data[29:0] with the validity signal cbc_valid.

Figure 5-104. CBHS Block Diagram
ISC_CBC_CTRL.ENABLEISC_CBC_CFG.CCIRCBC_DATA SliceValue
00cbc_data[29:0]csc_data[29:0]
10cbc_data[29:20]Y = clipped(contrast * (csc_data[29:20]+brightness))
cbc_data[19:10]

Cb = clipped( saturation * contrast *

(csc_data[19:10]*cos(hue)+csc_data[9:0]*sin(hue) )

cbc_data[9:0]

Cr = clipped( saturation * contrast *

(csc_data[19:10]*sin(hue)-csc_data[9:0]*cos(hue) )

11cbc_data[29:10]0
cbc_data[9:0]ccir656 stream with luminance correction