Ultra-low latency preview, Sdk reference, Initialization/cleanup/enumeration functions – Sensoray 2253 Windows User Manual
Page 12: S2253_open, S2253_close

Ultra-low Latency Preview
The firmware on the 2253 has been optimized to provide as low a latency as
possible for both compressed and uncompressed data. It should be noted,
however, that lower latency is possible for uncompressed data under certain
conditions. Ultra-low latency mode is enabled when the stream type is UYVY
and the image is captured at native size (704x480 NTSC, 704x576 PAL) with no
image flipping and no interpolation. This mode is automatically enabled when
the parameters above are met. Please note that this mode is different from
the S2253_LowLatencyPreview command described later in this manual.
S2253_LowLatencyPreview only affects the Windows DirectShow host PC
display latency, not the capture and USB transfer latency. For diagrams on
how the ultra-low latency feature works, please visit
http://www.sensoray.com/products/2253.htm.
SDK Reference
All API functions are declared using the following definition and the __stdcall
calling convention:
#define MID2253_API extern "C" __declspec(dllimport)
For example,
MID2253_API int __stdcall
S2253_Open
(void);
All API functions return a value of type int, which is set to 0 on success, or a
negative value if error (see mid2253types.h for error codes list).
Initialization/Cleanup/Enumeration Functions
S2253_Open
MID2253_API
int
__stdcall S2253_Open (int board_index);
board_index
Zero based index of a 2253 board (or -1 for all boards).
Must be called before any other API functions are called. If called with a -1
parameter, all 2253 boards in the system will be available after the call.
S2253_Close
MID2253_API int
__stdcall
S2253_Close (int board_index);
12