37 #define ONI_MAX_STR 256 38 #define ONI_MAX_SENSORS 10 40 struct OniCallbackHandleImpl;
155 #pragma pack (push, 1) 193 #endif // _ONI_TYPES_H_
struct OniCallbackHandleImpl * OniCallbackHandle
_OniDevice * OniDeviceHandle
void(ONI_CALLBACK_TYPE * OniDeviceInfoCallback)(const OniDeviceInfo *pInfo, void *pCookie)
int numSupportedVideoModes
void *(ONI_CALLBACK_TYPE * OniFrameAllocBufferCallback)(int size, void *pCookie)
uint8_t OniGrayscale8Pixel
uint16_t OniGrayscale16Pixel
void(ONI_CALLBACK_TYPE * OniFrameFreeBufferCallback)(void *data, void *pCookie)
_OniRecorder * OniRecorderHandle
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)
_OniStream * OniStreamHandle