English
Language : 

VS6724 Datasheet, PDF (31/118 Pages) STMicroelectronics – 2 Megapixel single-chip camera module
VS6724
Functional description
Figure 16. RGB and Bayer data formats
(1) RGB565 data packing
Bit 7 6 5 4 3 2 1 0
Bit 7 6 5 4 3 2 1 0
R4 R3 R2 R1 R0 G5 G4 G3
G2 G1 G0 B4 B3 B2 B1 B0
second byte
(2) RGB 444 packed as RGB565
Bit 7 6 5 4 3 2 1 0
first byte
Bit 7 6 5 4 3 2 1 0
R3 R2 R1 R0 1 G3 G2 G1
G0 1 0 B3 B2 B1 B0 1
second byte
(3) RGB 444 zero padded
Bit 7 6 5 4 3 2 1 0
first byte
Bit 7 6 5 4 3 2 1 0
0 0 0 0 R3 R2 R1 R0
G3 G2 G1 G0 B3 B2 B1 B0
second byte
(4) Bayer 10-bit
Bit 7 6 5 4 3 2 1 0
first byte
Bit 7 6 5 4 3 2 1 0
1 0 1 0 1 0 b9 b8
b7 b6 b5 b4 b3 b2 b1 b0
second byte
first byte
Manipulation of RGB data
It is possible to modify the encapsulation of the RGB data in a number of ways:
● swap the location of the RED and BLUE data
● reverse the bit order of the individual color channel data
● reverse the order of the data bytes themselves
Dithering
An optional dithering function can be enabled for each RGB output mode to reduce the
appearance of contours produced by RGB data truncation. This is enabled through the
DitherControl register.
31/118