NV21 (size: 4x4 stride: 4)
0 |
1 |
2 |
3 |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
V |
U |
V |
U |
V |
U |
V |
U |
PS: NV12的UV位置互换
I420/YUV_420_888 (size: 4x4 yStride: 4 uvStride: 2)
0 |
1 |
2 |
3 |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
U |
U |
U |
U |
V |
V |
V |
V |
YUYV/YUY2 (size: 4x4 stride: 8)
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
Y |
U |
Y |
V |
Y |
U |
Y |
V |
Y |
U |
Y |
V |
Y |
U |
Y |
V |
Y |
U |
Y |
V |
Y |
U |
Y |
V |
Y |
U |
Y |
V |
Y |
U |
Y |
V |
RGBA_8888 (size: 4x4 stride: 16)
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
A |
B |
C |
D |
E |
F |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
ARGB_8888 (size: 4x4 stride: 16)
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
A |
B |
C |
D |
E |
F |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
A |
R |
G |
B |
RGB_888 (size: 4x4 stride: 12)
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
A |
B |
R |
G |
B |
R |
G |
B |
R |
G |
B |
R |
G |
B |
R |
G |
B |
R |
G |
B |
R |
G |
B |
R |
G |
B |
R |
G |
B |
R |
G |
B |
R |
G |
B |
R |
G |
B |
R |
G |
B |
R |
G |
B |
R |
G |
B |
R |
G |
B |
RGB_565 (size: 4x4 stride: 8)
三色数据的位置关系同RGB_888但是一个像素数据长度为2字节,二字节的构成
网友评论