OSVR-Core  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ImagingInterfaceC.h File Reference

Header. More...

Go to the source code of this file.

Typedefs

typedef
typedefOSVR_EXTERN_C_BEGIN
struct
OSVR_ImagingDeviceInterfaceObject * 
OSVR_ImagingDeviceInterface
 Opaque type used in conjunction with a device token to send data on an imaging interface.
 

Functions

OSVR_ReturnCode osvrDeviceImagingConfigure (OSVR_DeviceInitOptions opts, OSVR_ImagingDeviceInterface *iface, OSVR_ChannelCount numSensors=1)
 Specify that your device will implement the Imaging interface. More...
 
OSVR_ReturnCode osvrDeviceImagingReportFrame (OSVR_DeviceToken dev, OSVR_ImagingDeviceInterface iface, OSVR_ImagingMetadata metadata, OSVR_ImageBufferElement *imageData, OSVR_ChannelCount sensor, OSVR_TimeValue const *timestamp)
 Report a frame for a sensor. Takes ownership of the buffer and frees it with the osvrAlignedFree function** when done, so for stability only pass in memory allocated by osvrAlignedAlloc. The C++ wrapper for this function takes care of this automatically. More...
 

Detailed Description

Header.

Must be c-safe!

Date
2015
Author
Sensics, Inc. http://sensics.com/osvr

Definition in file ImagingInterfaceC.h.