DWC-HD
Rev.
2
Block Blk
#
Commands Example Response
Control
15-17 to select between
processed/unprocessed output
Video processing block
vprc 0 lglz
on
|
vprc 0 lglz on
lglz off
vprc 0 lglz off
Gain and offset are both signed fixed
point numbers. Gain is in 2.13-
format, while offset for Y and the
chroma channels are given in 10.2
and 9.2 respectively.
vprc 0 y 8192 0
(y | cb | cr) <gain>
<offset>
vprc 0 cb 2000 0
vprc 0 cr 1000 1000
Gain range is 0 – 32767, Gain
=0x
= 0,
Gain
=1x
= 8192, Gain
=4x
= 32767
Luma Offset range is -4095 – 4095,
Offset = 0
=0
Chroma Offset range is -2047 –
2047, Offset = 0
=0
Sync block
sync
0
-
sync 0
'lol' | ('lock' ('trilvl' |
'bb' | 'sdi') )
Frequency reference for video output.
Status only, no commands available.
Video delay
dly 0
<frames>frms
<lines>lines
<samples>sps
dly 0 2frms
'tgt' <frames> frms
<lines> lines
<samples> sps
This sets the minimum video delay of
the card.
dly 0 2lines 30sps
dly 0 0frms 50sps
In info this block reports back the
current delay in nanoseconds. This
will vary with the incoming video
standard.
dly 0 0frms 3lines
50sps
audio delay
dly 1
<audio_samples>sps
dly
1
-30sps
'tgt'
<audio_samples>
sps
The audio delay is given in audio
samples. Audio delay is always given
relative to video.
Video phase
dly 2
<lines>lines
<samples>sps
dly 2 1lines -30sps
'phase' <lines>
lines <samples>
sps
If lines != 0 the resulting phase will
vary with incoming video standard,
see dly 0 above.
Internal video generator.
vgen 0 cbar
|
vgen 0 cbar
video
<lns>/<rate><scan
> wss ( auto| off | (
on <wss_value> ) )
(cbar | chkfield |
white | yellow |
cyan | green |
magenta | red |
blue | black | (flat
<Y> <Cb> <Cr>) )
chkfield |
The video generator will be activated
in two different ways: If selected as a
fallback option the generator will
generate the selected pattern when
the other input(s) are missing, and
then use the video settings from the
last external source present. It can
also be selected as the main input in
cho 1, in which case its own video
settings will also be used.
white |
yellow |
cyan |
green |
magenta |
vgen 0 flat 200 0 100
red |
vgen 0 video 576/25i
blue |
vgen 0 video 486/29i
black
vgen 0 wss auto
flat <Y> <Cb> <Cr>
vgen 0 wss on 7
video
<lns>/<rate><scan>
wss (off | (on
<wss_val>) )
Video DAC
vdac 0 cvbs
|
vdac 0 fmt ( cvbs |
ypbpr | rgb | svideo
) mod ( palbg | paln
) ( ntsc | palm )
bsetup ( on | off )
wss ( auto (on | off )
| on | off )
ypbpr |
The module can handle 50Hz- and
60Hz-based sources, but can’t
convert video material between these
time bases. The user must therefore
select two modulations, one for
50Hz-based sources and one for
60Hz-based sources.
rgb |
svideo |
palbg |
palm |
paln |
ntsc |
bsetup (on | off ) |
The (on | off) immediately following
the wss auto is a status telling if the
wss (auto | off | (on
network-electronics.com
|
29