DriveWorks SDK Reference
4.0.0 Release
For Test and Development only

Image.h File Reference

Detailed Description

NVIDIA DriveWorks GL API: Image Conversion and Streaming Functionality

Description: This file defines methods for image conversion.

Definition in file Image.h.

Go to the source code of this file.

Data Structures

struct  dwImageGL
 Defines a GL texture image. More...
 

Functions

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 buffer passed is a cpu memory pointer and the content is uploaded onto the GPU as a GL texture. More...
 
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. More...
 
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. More...
 
DW_VIZ_API_PUBLIC dwStatus dwImage_getGL (dwImageGL **imageGL, dwImageHandle_t image)
 Retrieves the dwImageGL of a dwImageHandle_t. More...