DriveWorks SDK Reference
5.10.90 Release
For Test and Development only

ImageTransformation.h File Reference

Detailed Description

NVIDIA DriveWorks API: Image Transformation Methods

Description: This file defines image transformation methods.

Definition in file ImageTransformation.h.

Go to the source code of this file.

Data Structures

struct  dwImageTransformationParameters
 

Typedefs

typedef struct dwImageTransformationObject * dwImageTransformationHandle_t
 

Functions

DW_API_PUBLIC dwStatus dwImageTransformation_appendAllocationAttributes (dwImageProperties *const imgProps, dwImageTransformationHandle_t obj)
 Append the allocation attribute such that the images created of type DW_IMAGE_NVMEDIA can be fed to dwImageTransformation_copyXXX() More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_copy (dwImageHandle_t outputImage, const dwImageHandle_t inputImage, const dwRect *outputROI, const dwRect *inputROI, dwImageTransformationHandle_t obj)
 Resizes the input image subregion and copies the result into the previously allocated output image, in a specified subregion, of the same type (CUDA or NvMedia) and format (any) More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_copyFullImage (dwImageHandle_t const outputImage, dwImageHandle_t const inputImage, dwImageTransformationHandle_t const obj)
 Resizes the input image and copies the result into the previously allocated output image, of the same type (CUDA or NvMedia) and format (any) More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_copySubImage (dwImageHandle_t const outputImage, dwImageHandle_t const inputImage, dwRect const inputROI, dwImageTransformationHandle_t const obj)
 Resizes the input image sub region and copies the result into the previously allocated output image, of the same type (CUDA or NvMedia) and format (any) More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_getCUDAStream (cudaStream_t *stream, dwImageTransformationHandle_t obj)
 Gets the cuda stream used by the APIs of Image Transformation. More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_initialize (dwImageTransformationHandle_t *handle, dwImageTransformationParameters params, dwContextHandle_t context)
 Initializes an Image Transformation Engine. More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_release (dwImageTransformationHandle_t handle)
 Releases an Image Transformation Engine. More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_reset (dwImageTransformationHandle_t obj)
 Resets an Image Transformation Engine. More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_setBorderMode (dwImageProcessingBorderMode mode, dwImageTransformationHandle_t obj)
 Sets the border mode used by the APIs of Image Transformation. More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_setCUDAStream (cudaStream_t stream, dwImageTransformationHandle_t obj)
 Sets the cuda stream used by the APIs of Image Transformation. More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_setInterpolationMode (dwImageProcessingInterpolation mode, dwImageTransformationHandle_t obj)
 Sets the interpolation mode used by the APIs of Image Transformation. More...