Record_preview_raw filename, Record_preview_decoded filename, Preview_decoded – Sensoray 2224 Windows User Manual
Page 80: Preview_raw, Play format, Stream ip port, Stop

record_preview_raw filename
This routine calls S2226_SetPreviewType() and S2226_StartPreviewAndRecord() to record the selected
input to the file-filename and to display what is being recorded on the computer monitor using the
MID2226_PREVIEWTYPE_RAW method. This uses the least number of CPU cycles since the video being
displayed is not compressed.
record_preview_decoded filename
This routine calls S2226_SetPreviewType() and S2226_StartPreviewAndRecord() to record the selected
input to the file-filename and to display what is being recorded on the computer monitor using the
MID2226_PREVIEWTYPE_DECODED method. This uses the most number of CPU cycles since the video
being displayed must be decompressed before it is displayed.
preview_decoded
This routine calls S2226_SetPreviewType() and S2226_StartPreview() to display what is being being
recorded or payed. It uses the MID2226_MID2226_PREVIEWTYPE_DECODED_RAW method to display
the video.
preview_raw
This routine calls S2226_SetPreviewType() and S2226_StartPreview() to display what is being being
recorded or payed. It uses the MID2226_PREVIEWTYPE_RAW method to display the video.
play format
This routine calls S2226_StartDecode() to decode a given compressed file on the monitors driven by the
2226. The format parameter can be 0-7 or 480i, 576i, 720p@50, 720p@59, 720p@60, 1080i@50,
1080i@59, 1080i@60.
stream ip port
This routine calls S2226_RegisterCallback() and S2226_StartCallback() to start recording and sending
recorded output to ip address-ip on UDP port-port.
stop
Calls S2226_StopStream()
This routine stops recording or playing mode.
80