
ZORAN Corporation
USBvision II Data Decoder
ZR36505 Data Sheet
November-99
Page 38 of 38
YUV 4:2:2 Interleaved Format
In this format the ZR36504 transfers to host computer 2 bytes per every pixel (16-bit/pixel).
The Ycomponent is available for every pixel, but the U and V components are each
available for every second pixel (Y0,U0,Y1,V2,Y2,U2,Y3...).
YUV 4:2:0 Planar Format
In this format the ZR36504 transfers to host computer 3 bytes per every 2 pixels (12-
bit/pixel). The Y-component is available for every pixel, but the U and V components are
only available for every second pixel in even lines.
In this mode the host computer gets the frame already formatted in the planar mode; this can
save CPU time in the host computer in most Video Conferencing applications. The Y and
U/V components are packed by the ZR36504 in 64-bytes packets, and have the following
structure:
Packet number
Contents
1
Pixels 0-63 of the Y-Image
2
Pixels 64-127 of the Y-Image
3
Pixels 0-63 of the U-Image (or V-Image)
The U-Image and V-Image are half-size of the Y-Image
in both horizontal and vertical dimensions. The
ZR36504 produces a line of U pixels followed by a line
of V pixels, and then U pixels again in a toggling
manner. These pixels are always packed in this
modulo-3 packet. The host computer - knowing the
frame-size - can separate between U and V
components.
4
Pixels 128-191 of the Y-Image
5
Pixels 192-255 of the Y-Image
6
Pixels 64-127 of the U-Image (or V-Image)
.
.
.
Video Buffer Control registers
The ZR36504 uses a pre-defined DRAM space to store the output video data before being
transferred to USB; this buffer is called Video Buffer, and it is used as a Fifo which
observes data bursts at the video frame rate (up to 30Hz) and supplies data bursts at the
USB frame rate (1000 packets per second).