User manual

RC200/203 Manual
www.celoxica.com Page 57
5.11.6 Current scan position
extern macro expr RC200VideoOutGetX ();
extern macro expr RC200VideoOutGetY ();
Parameters: None.
Description:
Macro expressions that return the current scan position of
the screen output. A call to
RC200VideoOutWrite24() or
RC200VideoOutWrite30() will write a colour to the
position on screen returned by these methods.
5.11.7 Blanking status of current scan position
extern macro expr RC200VideoOutGetHBlank ();
extern macro expr RC200VideoOutGetVBlank ();
Parameters: None.
Description:
Macro expressions that return the horizontal or vertical
blanking status of the current scan position, as type
unsigned
1
.
5.11.8 Horizontal and vertical sync status
extern macro expr RC200VideoOutGetHSync ();
extern macro expr RC200VideoOutGetVSync ();
Parameters: None.
Description:
Macro expressions that return the horizontal or vertical
sync status of the current scan position, as type
unsigned
1
.
5.12 Video input macros
There are 3 different macros for reading data:
RC200VideoInReadPixelPairYCrCb() reads a pair of YCrCb pixels. YCrCb is
the native output from the video decoder, and so this macro requires less
hardware than the other two read macros.