S2253_setclock, S2253_setosd – Sensoray 2253 Windows User Manual
Page 28

stream index (0 or 1).
S2253_SetClock
MID2253_API int __stdcall S2253_SetClock (
MID2253_USER_CLOCK
*pclk,
int
devid);
Sets the clock on the device for OSD timestamps. Use Unix style GMT time.
See the demo application for an example. Set before starting any streams on
the device. Must not be set during streaming.
pclk
a pointer to the current clock value.
devid
device id in the system (use 0 with a single board installed).
S2253_SetOsd
MID2253_API int __stdcall S2253_SetOSD (
MID2253_OSD_TYPE
osdtype,
MID2253_OSD_DATA
*osddata,
int
devid,
int
strmidx);
Controls on-screen display (OSD).
Currently OSD is limited to one line of text (80 or 160 characters maximum) for
MID2253_OSDTYPE_TEXT and MID2253_OSDTYPE_LONGTEXT. More text
regions are supported with MID2253_OSDTYPE_STYLEDTEXT.
For MID2253_OSDTYPE_TEXT and MID2253_OSDTYPE_LONGTEXT, there is the
possibility to insert newlines, date/time and a frame counter. Use the following
codes to display extra information in the text:
^d (date)
^t (time)
^n (newline)
^c (frame counter)
^p (GPS latitude, 2253P only)
^l (GPS longitude, 2253P only)
^m (GPS UTC date, 2253P only)
^u (GPS UTC time, 2253P only)
^s (GPS speed in knots, 2253P only)
^h (GPS course heading, 2253P only)
28