NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
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 dwImageTransformationParameters dwImageTransformationParameters
 
typedef struct dwImageTransformationObject * dwImageTransformationHandle_t
 The image transformation handle. More...
 

Functions

DW_API_PUBLIC dwStatus dwImageTransformation_initialize (dwImageTransformationHandle_t *handle, dwImageTransformationParameters params, dwContextHandle_t context)
 Initializes an Image Transformation Engine with the given parameters. More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_reset (dwImageTransformationHandle_t handle)
 Resets an Image Transformation Engine. More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_release (dwImageTransformationHandle_t handle)
 Releases the passed Transformation Engine, deallocating all the resources used. More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_appendAllocationAttributes (dwImageProperties *const imgProps, dwImageTransformationHandle_t handle)
 Append the allocation attribute such that the images created of type DW_IMAGE_NVMEDIA can be fed to dwImageTransformation_copy,. More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_registerImages (dwImagePool imagePool, dwImageTransformationHandle_t handle)
 @req{GID-AV_REQ-6774504} More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_setCUDAStream (cudaStream_t stream, dwImageTransformationHandle_t handle)
 Sets the cuda stream used by the APIs of Image Transformation. More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_getCUDAStream (cudaStream_t *stream, dwImageTransformationHandle_t handle)
 Gets the cuda stream used by the APIs of Image Transformation. More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_copy (dwImageHandle_t outputImage, const dwImageHandle_t inputImage, const dwRect *outputROI, const dwRect *inputROI, dwImageTransformationHandle_t handle)
 @req{GID-AV_REQ-6774505} @req{GID-AV_REQ-6774506} @req{GID-AV_REQ-6774507} @req{GID-AV_REQ-6774508} @req{GID-AV_REQ-6774509} @req{GID-AV_REQ-6774510} @req{GID-AV_REQ-6774511} @req{GID-AV_REQ-6774512} @req{GID-AV_REQ-6774513} More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_fillNvSciSyncAttrs (NvSciSyncAttrList syncAttrList, dwSyncType syncType, dwImageTransformationHandle_t handle)
 Fill the sync attributes for the imagetransformation to signal EOF fences. More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_setNvSciSyncObj (NvSciSyncObj syncObj, dwSyncType syncType, dwImageTransformationHandle_t handle)
 Set the sync obj to which the imagetransformation will signal EOF fences. More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_getEOFFence (NvSciSyncFence *syncFence, dwImageTransformationHandle_t handle)
 Get EOF fence of the current operation. More...
 
DW_API_PUBLIC dwStatus dwImageTransformation_addPrefenceWait (const NvSciSyncFence *syncFence, dwImageTransformationHandle_t handle)
 Add prefence for NvMedia2D to wait. More...