S2253_setinterpolatemode, S2253_getinterpolatemode – Sensoray 2253 Windows User Manual
Page 29

^e (encoder 0 count, 2253P only)
^f (encoder 1 count, 2253P only)
Note: not applicable to the MID2253_OSDTYPE_STYLEDTEXT type.
Styled text (MID2253_OSDTYPE_STYLEDTEXT) allows the use of true type fonts,
Unicode, and more regions of text. Please note that excessive text overlay
may impact the frame rate. An example of using styled text is shown in the
Appendix at the end of this document.
osdtype
OSD type. Currently only text is supported. Use MID2253_OSDTYPE_TEXT
(80 char limit), MID2253_OSDTYPE_LONGTEXT (160 char limit), or
MID2253_OSDTYPE_STYLEDTEXT.
osddata
A pointer to the structure of MID2253_OSD_DATA type. Please see
mid2253types.h for the description.
devid
device id in the system (use 0 with a single board installed).
strmidx
stream index (0 or 1).
S2253_SetInterpolateMode
MID2253_API int __stdcall S2253_SetInterpolateMode (
int
val,
int
devid);
Sets interpolation mode used to reduce motion artifacts due to interlacing.
When interpolation is turned on, one field of every captured frame is dropped
and recreated by interpolating neighboring lines of the other field. The setting
affects both video streams.
val
0 – interpolation is off; 1 – interpolation is on.
devid
device id in the system (use 0 with a single board installed).
S2253_GetInterpolateMode
MID2253_API int __stdcall S2253_SetInterpolateMode (
int
*val,
int
devid);
Retrieves interpolate mode.
29