
Zoran ZR 36506 USBV ision – Datasheet
Zoran Proprietary and Confidential
Video I nput I nterface
8-13
V ideo Frame S ynchronization
In all modes of operation (Compressed or Raw video), two concurrent video frames will be
separated by at least one empty data packet. The ZR36506 software driver uses this to detect a
Start-Of-Video-Frame. Additionally, the first two bytes of the video frame header contain a
Start-Of-Video-Frame-Pattern (=0xAA55), which is used by the software driver as a qualifier to
verify that the data represents an uncorrupted video frame.
V ideo Frame Header
A header precedes every video frame. The header data is organized in Little-Endian format, i.e.
the LSB of a 2-byte parameter precedes the MSB (LSB occupies the lower address). The same
header format is used in all modes of operation. The following table specifies the parameters of
this header:
Offset
Parameter
Name
No. of
Bytes
Description & Specification
0
Vid_Frm_Patt
2
0xAA55 = Start of Video-Frame Pattern.
2
Header_Length
1
Number of bytes in this header = 12.
3
Frame_Numb
1
D4-D0: Unsigned integer. Incremented (mod 32)
on every frame that is delivered to host
computer.
D7:
Capture_Pressed (active if '1').
D6:
Resumed ('1': first frame after Suspend).
D5:
spare
4
Frame_Phase
1
D4-D0: Unsigned integer. Incremented mod 30 on
every frame that is acquired from camera.
D7-D5: spare.
5
Frame_Latency
1
Unsigned integer. Number of milliseconds elapsed
from the moment that the camera began delivery of
this frame to ZR36506, to the moment that the
ZR36506 began delivery of frame-header to USB.
6
Data_Format
1
D7:
'0'=Vendor Specific (like ZR36506)
(‘1’=Class Specific).
'0'=Raw Data.
'1'=Compressed Data.
D6:
D5-D0: Vid_Format_Code:
0x03 = YUV-4:2:2.
0x14 = YUV-4:2:0 Planar.
0x06-0x12, 0x15-0x1F = spare.
0x20 = Zoran's Compression.