Samsung S5PC110 Manual page 1571

Risc microprocessor
Table of Contents

Advertisement

S5PC110_UM
8.4.1.63 Video Processor Post-processing Color Space Conversion Coefficient Register
(PP_CSC_Y2Y_COEF, R/W, Address = 0xF910_01D4)
BT.601 to BT.709 Color Space Conversion Matrix
Y709 = 1.0 * Y601 – 0.118188 * Cb601 – 0.212685 * Cr601
Cb709 = 0.0 * Y601 + 1.018640 * Cb601 – 0.114618 * Cr601
Cr709 = 0.0 * Y601 + 0.075049 * Cb601 + 1.025327 * Cr601
BT.709 to BT.601 Color Space Conversion Matrix
Y601 = 1.0 * Y709 + 0.101579 * Cb709 + 0.196076 * Cr709
Cb601 = 0.0 * Y709 + 0.989854 * Cb709 – 0.110653 * Cr709
Cr601 = 0.0 * Y709 – 0.072453 * Cb709 + 0.983398 * Cr709
Above all equations are written without interface offsets of +16 for Luminance and +128 for Chrominance.
CSC module calculates above all equations without +128 offset for Chrominance, and generates final CSC
results with +128 offset.
In case of two Luminance equations, +16 offset is selectable by control register (PP_CSC_EN [1]).
If Y offset (+16) exists in matrix input data, the coefficient of above equations should be redefined.
PP_CSC_Y2Y_COEF
Reserved
PP_CSC_Y2Y_COEF
Bit
[31:12]
Reserved, read as zero, do not modify
[11:0]
BT.601 to BT.709 (or BT.709 to BT.601) CSC
coefficient for Y to Y
[11]: Sign bit
[10]: Integer bit
[9:0]: Fraction bit
0x7FF: 1.999
...
0x400: 1.0
...
0x0: 0
0xFFF: - 0.0001
...
0xC00: - 1.0
...
0x800: - 2.0
Description
8 7BVIDEO PROCESSOR
Initial State
0
0
8-37

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents