Sdk reference, Release notes, General notes – Sensoray 2250 Linux Ver2.0.X User Manual
Page 5

SDK Reference
Release Notes
V.2.0.0
Driver moved to kernel space to provide V4L2 API.
SDK 2250 API now uses V4L2 API to ease migration from V1.2.x. The SDK API
source code is provided, and there is no need to link a separate 64-bit library.
V.1.20.0
Driver moved to user space to satisfy new kernel requirements.
Simplified installation and usage. SDK consists of s2250mid.h, libs2250mid.a,
firmware loader driver. Demo programs are linked with libs2250mid.a and
include the file s2250mid.h. (64 bit Linux uses libs2250mid64.a)
Polling and Blocking capability through SN_Polling, SN_Blocking
SN_GetAudioData modified. SN_GetAudioDataPlusTime added.
SN_SetGopSize, SN_SetSeqMode added(see instructions before using).
V.1.0.0:
•
Multiple boards supported. Specify board number 0 for single board use. Use
SN_GetNumBoards to get number of boards detected in system.
•
Example “C” console program for multiple boards.
•
Example jpg capture demo.
General Notes
The common API flow is described below. Refer to the complete functions reference for
the details on individual functions.
1. Initialization. This is performed by a call to SN_OpenBoard() function. Initial
default capture settings are loaded.
2. A call to SN_OpenBoard() may be optionally followed by calls to the functions
controlling various settings:
•
input source: SN_SetVideoSource();