Registers
345
SPRUHI7A – December 2012 – Revised June 2016
Copyright © 2012–2016, Texas Instruments Incorporated
High-Definition Video Processing Subsystem (HDVPSS)
1.3.4.1
CSC_csc00 Register (offset = 0h) [reset = 0h]
CSC_csc00 is shown in
and described in
.
Color Space Converter Reg00
Figure 1-236. CSC_csc00 Register
31
30
29
28
27
26
25
24
Reserved
B0
R-0h
R/W-0h
23
22
21
20
19
18
17
16
B0
R/W-0h
15
14
13
12
11
10
9
8
Reserved
A0
R-0h
R/W-0h
7
6
5
4
3
2
1
0
A0
R/W-0h
LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit;
-n
= value after reset
Table 1-145. CSC_csc00 Register Field Descriptions
Bit
Field
Type
Reset
Description
31-29
Reserved
R
0h
Reserved
28-16
B0
R/W
0h
Coefficients of color space converter. This coefficient is a real
number in the range of -4 to +4 represent in Q3.10 format. The MSB
is sign bit. (Same format conversion as A0 in CSC_csc00)
15-13
Reserved
R
0h
Reserved
12-0
A0
R/W
0h
Its is represented as Q3.10 number. So the value ranges from -4 to
+4. To convert a decimal number, multiply the number by 1024 and
write it in the register in hex format. For example, to program 0.673,
0x2B1 should be written in the register.
(round)(0.673 X 1024) = (round)689.152 = 689 = 0x2B1.
If the real number is negative, then multiply it by 1024, and convert it
to 2's compliment format in 12-bit. For example, if a coefficient is -
1.893, 0x186E needs to be written in the register.
(round)(-1.893*1024)= -1938 = 0x186E (2'S compliment format of -
1938 in 13-bit width)