S2253_stopdecode, S2253_setnotifydecodedone – Sensoray 2253 Windows User Manual
Page 20

int
devid);
Starts decoding from a file. Decode is supported for H.264 and MPEG-4 stream
types only. The 2253 hardware decoder is a closed decoder. As such, it will
only decode streams recorded by the 2253. Like other hardware decoders,
there is no guarantee it will decode other streams.
fileName
full path to the target file, no extension.
bUnicode
TRUE if filename is unicode.
devid
device id in the system (use 0 with a single board installed).
S2253_StopDecode
MID2253_API int __stdcall S2253_StopDecode (
int
devid);
Stops decoding from a file.
fileName
full path to the target file, no extension.
bUnicode
TRUE if filename is unicode.
devid
device id in the system (use 0 with a single board installed).
S2253_SetNotifyDecodeDone
MID2253_API int __stdcall S2253_SetNotifyDecodeDone (
HWND
hNotifyApp,
UINT
mNotifyMsg,
int
devid);
Sets a notify message, mNotifyMsg, that is sent to the application, hNotifyApp,
when decoding is finished. This message, if registered using this function, is
sent if the end of file is reached before S2253_StopDecode is called. The demo
application has an example of how this function is used. Please note that
S2253_StopDecode should be called after the file has finished decoding.
hNotifyApp
handle to application to notify
mNotifyMsg
integer value of message
devid
device id in the system (use 0 with a single board installed).
20