37 #define ONI_MAX_STR 256 38 #define ONI_MAX_SENSORS 10 40 struct OniCallbackHandleImpl;
167 #pragma pack (push, 1) 222 #endif // ONICTYPES_H
struct OniCallbackHandleImpl * OniCallbackHandle
void(ONI_CALLBACK_TYPE * OniDeviceInfoCallback)(const OniDeviceInfo *pInfo, void *pCookie)
int numSupportedVideoModes
struct OBCameraParams OBCameraParams
void *(ONI_CALLBACK_TYPE * OniFrameAllocBufferCallback)(int size, void *pCookie)
uint8_t OniGrayscale8Pixel
uint16_t OniGrayscale16Pixel
struct _OniRecorder * OniRecorderHandle
void(ONI_CALLBACK_TYPE * OniFrameFreeBufferCallback)(void *data, void *pCookie)
OniDeviceInfoCallback deviceConnected
OniVideoMode * pSupportedVideoModes
void(ONI_CALLBACK_TYPE * OniDeviceStateCallback)(const OniDeviceInfo *pInfo, OniDeviceState deviceState, void *pCookie)
OniDeviceStateCallback deviceStateChanged
OniPixelFormat pixelFormat
void(ONI_CALLBACK_TYPE * OniNewFrameCallback)(OniStreamHandle stream, void *pCookie)
typedef void(ONI_CALLBACK_TYPE *DeviceConnectedCallback)(const OniDeviceInfo *
OniDeviceInfoCallback deviceDisconnected
void(ONI_CALLBACK_TYPE * OniGeneralCallback)(void *pCookie)
struct _OniDevice * OniDeviceHandle
struct _OniStream * OniStreamHandle