49 #ifndef DWGL_IMAGE_IMAGE_H_ 50 #define DWGL_IMAGE_IMAGE_H_ 55 #include <dwvisualization/gl/GL.h> 114 size_t pitches[DW_MAX_IMAGE_PLANES],
size_t bufferCount,
152 #endif // DWGL_IMAGE_IMAGE_H_ DW_VIZ_API_PUBLIC dwStatus dwImage_createGL(dwImageHandle_t *image, dwImageProperties properties, dwContextHandle_t ctx)
Creates and allocates resources for a dwImageHandle_t based on the properties passed as input...
struct dwImageObject * dwImageHandle_t
#define DW_MAX_IMAGE_PLANES
dwTime_t timestamp_us
Specifies the time, in microseconds, when the image was acquired.
GLuint tex
Specifies the OpenGL texture handle.
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
GLenum target
Specifies the OpenGL texture target.
dwImageProperties prop
Specifies the properties of the image.
NVIDIA DriveWorks Visualization API: Exports
DW_VIZ_API_PUBLIC dwStatus dwImage_createAndBindBufferGL(dwImageHandle_t *image, dwImageProperties properties, void *buffersIn[DW_MAX_IMAGE_PLANES], size_t pitches[DW_MAX_IMAGE_PLANES], size_t bufferCount, dwContextHandle_t ctx)
Works only with DW_IMAGE_GL and DW_IMAGE_LAYOUT_BLOCK (or DEFAULT) memory layout, in which case the b...
dwStatus
Status definition.
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
#define DW_VIZ_API_PUBLIC
struct dwContextObject * dwContextHandle_t
Context handle.
DW_VIZ_API_PUBLIC dwStatus dwImage_createAndBindTexture(dwImageHandle_t *image, dwImageProperties properties, GLenum texID, GLenum target)
Creates a dwImageHandle_t based on the properties passed and binds a GL texture to it...
DW_VIZ_API_PUBLIC dwStatus dwImage_getGL(dwImageGL **imageGL, dwImageHandle_t image)
Retrieves the dwImageGL of a dwImageHandle_t.
Defines a GL texture image.
Defines the properties of the image.