Samsung S5PC110 Manual page 1576

Risc microprocessor
Table of Contents

Advertisement

S5PC110_UM
8.4.1.75 Video Processor Brightness & Contrast Control Register (PP_LINE_EQ0 ~ PP_LINE_EQ7)
PP_LINE_EQ0, R/W, Address = 0xF910_0218
PP_LINE_EQ1, R/W, Address = 0xF910_021C
PP_LINE_EQ2, R/W, Address = 0xF910_0220
PP_LINE_EQ3, R/W, Address = 0xF910_0224
PP_LINE_EQ4, R/W, Address = 0xF910_0228
PP_LINE_EQ5, R/W, Address = 0xF910_022C
PP_LINE_EQ6, R/W, Address = 0xF910_0230
PP_LINE_EQ7, R/W, Address = 0xF910_0234
PP_LINE_EQx
Reserved
LINE_INTC
LINE_SLOPE
NOTE: 8 equation is related with Figure 8-8 Input luminance value between 0 ~ 255 is divide by 8 steps. Each of them is
matched with each of 8 equations. Thus, we can make the new curve of the contrast and luminance as using 8
equation's combination. Each equation is matched like following :
- PP_LINE_EQ0 = LINE_SLOPE0 * Y + LINE_INTC0 (0≤Y≤31)
- PP_LINE_EQ1 = LINE_SLOPE1 * Y + LINE_INTC1 (32≤Y≤63)
- PP_LINE_EQ2 = LINE_SLOPE2 * Y + LINE_INTC2 (64≤Y≤95)
- PP_LINE_EQ3 = LINE_SLOPE3 * Y + LINE_INTC3 (96≤Y≤127)
- PP_LINE_EQ4 = LINE_SLOPE4 * Y + LINE_INTC4 (128≤Y≤159)
- PP_LINE_EQ5 = LINE_SLOPE5 * Y + LINE_INTC5 (160≤Y≤191)
- PP_LINE_EQ6 = LINE_SLOPE6 * Y + LINE_INTC6 (192≤Y<223)
- PP_LINE_EQ7 = LINE_SLOPE7 * Y + LINE_INTC7 (224≤Y≤255)
Bit
[31:24]
Reserved, read as zero, do not modify
[23:8]
Intercept, signed 9.7 format
Note: (9.7) format means that
- '1' is a signed bit.
- '8' is a integer.
- '7' is a fraction.
Example) INTC = 3
Due to 7-bit fraction, it is had to do 7 time left shift
operation. As a result, register value is 3 * 2^7 =
0x18000
[7:0]
Slope, unsigned 1.7 format. (Due to1-bit integer,
LINE_SLOPE has range from 0 to 1.9921875.)
Note: (1.7) format means that
- '1' is a integer
- '7' is a fraction.
Example) LINE_SLOPE = 0.5 = 1*2^(-1)
Because of 7-bit fraction, it is had to do 7 time left
shift operation. As a result, register value is 1/2 *
2^7 = 0x40
Description
8 7BVIDEO PROCESSOR
Initial State
0
0
0
8-42

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents