![Omnivision CameraChip OV9650 Скачать руководство пользователя страница 33](http://html1.mh-extra.com/html/omnivision/camerachip-ov9650/camerachip-ov9650_implementation-manual_740719033.webp)
Output Formatter
Version 1.1, December 7, 2004
Proprietary to OmniVision Technologies
33
O
mni
ision
6 Output Formatter
This block controls all output and data formatting required prior to sending the image out on D[9:0].
lists the control registers for the Output Formatting functions.
RGB:565 and RGB:555 are alternate output formats where each color is represented by different
D[9:2] bit widths (see
).
This format uses an odd/even byte pair to express the color for each pixel:
•
RGB:565
•
RGB:555
Table 6-1.
Output Formatting General Controls
Function
Register
Address
Mirror Image Enable
0x1E
Vertical Flip Enable
0x1E
YUV/YCbCr Mode
[2] = 0
0x12
RGB Mode
Raw RGB
[2] = 1,
[0] = 1
0x12
GRB 4:2:2
[2] = 1,
[0] = 0,
[4] = 0
0x12,
0x40
RGB:565
[2] = 1,
[0] = 0,
[4] = 1
0x12,
0x40
RGB:555
[2] = 1,
[0] = 0,
[4] = 1
0x12,
0x40
Table 6-2.
RGB:555 and RGB:565 Output Format Controls
Format
D[9:2]
Red
Green
Blue
RGB:565
RRRR Rxxx
GGGG GGxx
BBBB Bxxx
RGB:555
RRRR Rxxx
GGGG Gxxx
BBBB Bxxx
Bytes
D9
D8
D7
D6
D5
D4
D3
D2
Even
R7
R6
R5
R4
R3
G7
G6
G5
Odd
G4
G3
G2
B7
B6
B5
B4
B3
Bytes
D9
D8
D7
D6
D5
D4
D3
D2
Even
00
R7
R6
R5
R4
R3
G7
G6
Odd
G5
G4
G3
B7
B6
B5
B4
B3