Yuv 4:2:2 (Yuyv) Packed Format - Basler ace acA640-90gm User Manual

Gige cameras
Table of Contents

Advertisement

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
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
= the first pixel transmitted by the camera
0
P
= the last pixel transmitted by the camera
n
B
= the first byte in the buffer
0
B
= the last byte in the buffer
m
Byte
Data
B
Y value for P
0
B
U value for P
1
B
Y value for P
2
B
V value for P
3
B
Y value for P
4
B
U value for P
5
B
Y value for P
6
B
V value for P
7
B
Y value for P
8
B
U value for P
9
B
Y value for P
10
B
V value for P
11
B
Y value for P
m-7
B
U value for P
m-6
B
Y value for P
m-5
B
V value for P
m-4
B
Y value for P
m-3
B
U value for P
m-2
B
Y value for P
m-1
B
V value for P
m
Basler ace GigE
0
0
1
0
2
2
3
2
4
4
5
4
n-3
n-3
n-2
n-3
n-1
n-1
n
n-1
Pixel Data Formats
®
frame buffers.
179

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ace aca640-90gcAce aca640-100gmAce aca640-100gc

Table of Contents