43.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 43-36. CBHS Block Diagram
ISC_CBC_CTRL.ENABLE ISC_CBC_CFG.CCIR CBC_DATA Slice Value
0 0 cbc_data[29:0] csc_data[29:0]
1 0 cbc_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) )

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