![ARTERY AT32F435 Series Скачать руководство пользователя страница 652](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592652.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 652
Rev 2.03
Figure 27-15 RGB555-format data capture and packing
D0
1514
10 9
5 4
0
3130
26 25
2120
16
R0
RGB555 (RGB)
B0
7 6
2
1 0
7
5 4
0
R[4:0]
G[2:0]
B[4:0]
D1
G0
0
R1
B1
G1
0
G[4:3
]
0
D0
1514
10 9
5 4
0
3130
26 25
2120
16
B0
RGB555 (BGR)
R0
7 6
2
1 0
7
5 4
0
B[4:0]
G[2:0]
R[4:0]
D1
G0
0
B1
R1
G1
0
G[4:3
]
0
YUV422 format
In this format, one half-word data pixel (16 bit) is output every two pixel clocks. Each half-word data
contains a luminance component Y, and a chroma component U or V, which are encoded in 8-bit format.
The chroma components U and V are interleaved among pixels, and two adjacent pixels use different
chroma components. The camera outputs a group of pixel components every pixel clock, with Y
component output on the first pixel clock, and U or V component output on the second pixel clock. Or
the first pixel clock outputs U or V component, and the second pixel clock outputs Y component. Figure
27-16 gives an example of DVP data capture and packing in YUV422 format, in which the sequence of
components U and V is swappable.
Figure 27-16 YUV422-format data capture and packing
15
8 7
0
31
24 23
16
U0
Y0
V0
Y1
YUV422(UYVY)
D1
7
0
Y0
D0
7
0
U0
D3
7
0
Y1
D2
7
0
V0
15
8 7
0
31
24 23
16
Y0
U0
Y1
V0
YUV422(YUYV)
D1
7
0
U0
D0
7
0
Y0
D3
7
0
V0
D2
7
0
Y1