EasyManua.ls Logo

Basler ace acA640-90gm - YUV 4:2:2 (YUYV) Packed Format

Basler ace acA640-90gm
302 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Pixel Data Formats
Basler ace GigE 179
9.3.5 YUV 4:2:2 (YUYV) Packed Format
On color cameras, the YUV 4:2:2 (YUYV) packed pixel data format is similar to the YUV 4:2:2 pixel
format described in the previous section. The only difference is the order of the bytes transmitted
to the host PC. With the YUV 4:2:2 format, the bytes are ordered as specified in the DCAM standard
issued by the 1394 Trade Association. With the YUV 4:2:2 (YUYV) format, the bytes are ordered to
emulate the ordering normally associated with analog frame grabbers and Windows
®
frame buffers.
The table below describes how the pixel data for a received frame will be ordered in the image buffer
in your PC when the camera is set for YUV 4:2:2 (YUYV) output.
With this format, the Y component is transmitted for each pixel, but the U and V components are
only transmitted for every second pixel.
The following standards are used in the table:
P
0
= the first pixel transmitted by the camera
P
n
= the last pixel transmitted by the camera
B
0
= the first byte in the buffer
B
m
= the last byte in the buffer
Byte Data
B
0
Y value for P
0
B
1
U value for P
0
B
2
Y value for P
1
B
3
V value for P
0
B
4
Y value for P
2
B
5
U value for P
2
B
6
Y value for P
3
B
7
V value for P
2
B
8
Y value for P
4
B
9
U value for P
4
B
10
Y value for P
5
B
11
V value for P
4
B
m-7
Y value for P
n-3
B
m-6
U value for P
n-3
B
m-5
Y value for P
n-2
B
m-4
V value for P
n-3
B
m-3
Y value for P
n-1
B
m-2
U value for P
n-1
B
m-1
Y value for P
n
B
m
V value for P
n-1

Table of Contents

Related product manuals