
ZORAN Corporation
USBvision II Data Decoder
ZR36505 Data Sheet
November-99
Page 32 of 32
(continued...)
Parameter
Register
address
Regs.31-32
LYSIZE_IN
MYSIZE_IN
Regs.33-34
LX_OFFST
MX_OFFST
Regs.35-36
LY_OFFST
MY_OFFST
Reg.49/d2-d0
DVI_YUV
Usage
YSIZE_IN[9..0]
Number of active lines in frame (/field) of video source
X_OFFST[9..0]
Horizontal offset (number of pixels to be skipped after
start of line).
Y_OFFST[9..0]
Vertical offset (number of lines to be skipped after start
of frame).
DVI_YUV[2..0]
Order of Ya/U/V/Yb components of a pixel-pair in 8-bit
modes (d0 affects 16-bit mode also):
d0: '0': U comes before V
'1': U comes after V
d1: '0': Ya comes before U/V
'1': Ya comes after U/V
d2: '0': Yb comes before U/V
'1': Yb comes after U/V
Use these control bits for cameras that have slow
VCLK or too short Horiz.Blank time interval:
d6: '0': Normal operation
'1': Select 12MHz clock during Horiz.Blank
d7: '0': Normal operation
'1': Select 16MHz clock during Horiz.Blank
SLOW_CLK12
SLOW_CLK16
Reg.49/d7-d6
DVI_YUV
Frame-Rate Control
Normally a camera or any other video source provides a fixed number of frames per second
- for example, a NTSC based camera will always provide 30 frames/sec.
The ZR36504 allows the application software to modify the effective frame rate to fit its
needs; in this way some of the frames coming from camera are dropped before processing,
which eliminates the effort that could be wasted on those frames that would be dropped by
the computer anyway.
The parameter that controls the effective frame-rate is called FRM_RATE, and is specified
in the following table:
Parameter
Register
address
Numerator[4..0]
Reg.37/d4-d0
n
Denum.code[1..0]
Reg.37/d6-d5
code for
d
Usage
Frame Drop factor (
n
= 0-31). Effective frame rate is:
NTSC: 30*(
n
+1)/
d
PAL: 25*(
n
+1)/
d
'00':
d
=32 '01':
d
=30 '10':
d
=25