beautypg.com

S2253_setoutputmode – Sensoray 2253 Windows User Manual

Page 38

background image

Please see the demo app for an example on how to use the output overlay.
ovl

pointer to overlay structure to update. See mid2253types.h.
MID2253_OVL_STRUCT

id: unique id representing this overlay.
transparent: transparent field. (0 transparent to 7 opaque)
update: update field. Mask of the following:

MID2253_OVERLAY_UPDATE_DISPLAY,
MID2253_OVERLAY_UPDATE_TRANSPARENT,
MID2253_OVERLAY_UPDATE_POSITION

reserved: future use
xOffset: x offset from left side
yOffset: y offset from the top
length: length of data

strmidx

stream index (0 or 1).

devid

device id in the system (use 0 with a single board installed).

S2253_SetOutputMode

MID2253_API int __stdcall S2253_SetOutputMode (

MID2253_OUTPUT_MODE

mode,

int

devid);

This function controls what is displayed on the physical video output channel.
Please note that when decoding (S2253_StartDecode), the output is
automatically set to MID2253_OUTPUT_STREAM.
mode

MID2253_OUTPUT_IDLE (no video output), MID2253_OUTPUT_PASSTHRU
(capture passthru), MID2253_OUTPUT_COLORBARS,
MID2253_OUTPUT_FLASH (displays 1 white frame then switches to idle),
MID2253_OUTPUT_STREAM (normally unused, for decode).

devid

device id in the system (use 0 with a single board installed).

38

This manual is related to the following products: