|
|
NVIDIA DriveOS Linux SDK API Reference
|
7.2.5.0 Early Access Release
|
Go to the documentation of this file.
29 #ifndef DWGL_IMAGE_IMAGE_H_
30 #define DWGL_IMAGE_IMAGE_H_
132 #endif // DWGL_IMAGE_IMAGE_H_
Defines a GL texture image.
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.
GLuint tex
Specifies the OpenGL texture handle.
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...
dwTime_t timestamp_us
Specifies the time, in microseconds, when the image was acquired.
dwImageProperties prop
Specifies the properties of the image.
dwStatus
Status definition.
#define DW_MAX_IMAGE_PLANES
Maximum number of image planes.
struct dwImageObject * dwImageHandle_t
Handle to an image object.
Defines the properties of the image.
struct dwContextObject * dwContextHandle_t
Context handle.
#define DW_VIZ_API_PUBLIC
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.
GLenum target
Specifies the OpenGL texture target.
struct dwImageGL dwImageGL
Defines a GL texture image.
DW_VIZ_API_PUBLIC dwStatus dwImage_getGL(dwImageGL **imageGL, dwImageHandle_t image)
Retrieves the dwImageGL of a dwImageHandle_t.