Hardware description
5.12 i
There are 3
ing data:
Cb pixels. YCrCb is the
s less hardware than the
reads a pair of RGB pixels.
Before you
2. Select the type of video input using
RC200VideoInSetInput()
. If you do not set the
input, Composite (CVBS) input will be used as a default
sing
RC200VideoInSetStandard()
. If you do not
ed by default.
input m
o proc
arameters:
e call to this macro, in Hz.
Timing:
Does not terminate in normal use.
Description:
Runs the device management tasks for video input. You must run this macro in
sses to the video input device.
ting
extern macro proc RC200VideoInSetInput (
Input
);
Parameters:
eo input. Possible values:
omposite (CVBS) input; Camera
input; S-Video input. The default value is
RC200VideoInInputComposite
.
Timing:
1 or more clock cycles.
sample.
5.12.3 Selecting the colour-encoding standard
extern macro proc RC200VideoInSetStandard (
Standard
);
V deo input macros
different macros for read
•
RC200VideoInReadPixelPairYCrCb()
reads a pair of YCr
native output from the video decoder, and so this macro require
other two read macros.
•
RC200VideoInReadPixelPairRGB()
•
RC200VideoInReadPixelRGB()
reads a single RGB pixel.
use one of these macros you need to:
1. Call
RC200VideoInRun()
in parallel with the rest of the video input code.
3. Select the colour–encoding standard u
set the standard PAL/NTSC will be us
5.12.1 Video
anagement tasks
extern macr
RC200VideoInRun (
ClockRate
);
ClockRate
: Clock rate of the clock domain of th
P
parallel with acce
5.12.2 Selec
the video input
Input
: A code selecting the vid
RC200VideoInInputComposite
RC200VideoInInputCamera
RC200VideoInInputSVideo
These codes correspond to the following inputs: C
Description:
Selects one of the three video inputs to
www.celoxica.com
Page 51