DriveWorks SDK Reference

| 0.6.67 Release

SoftISP.h File Reference

Detailed Description

NVIDIA DriveWorks API: Software ISP

Definition in file SoftISP.h.

Go to the source code of this file.

Data Structures

struct  dwSoftISPParams
 

Typedefs

typedef struct dwSoftISPObject * dwSoftISPHandle_t
 Handle representing the Software ISP. More...
 

Enumerations

enum  dwSoftISPDemosaicMethod {
  DW_SOFT_ISP_DEMOSAIC_METHOD_INTERPOLATION,
  DW_SOFT_ISP_DEMOSAIC_METHOD_DOWNSAMPLE
}
 
enum  dwSoftISPDenoiseMethod {
  DW_SOFT_ISP_DENOISE_METHOD_NONE,
  DW_SOFT_ISP_DENOISE_METHOD_BILATERAL
}
 
enum  dwSoftISPProcessType {
  DW_SOFT_ISP_PROCESS_TYPE_BAYER = 1 << 0,
  DW_SOFT_ISP_PROCESS_TYPE_DEMOSAIC = 1 << 1,
  DW_SOFT_ISP_PROCESS_TYPE_TONEMAP = 1 << 2
}
 

Functions

DW_API_PUBLIC dwStatus dwSoftISP_bindBayerOutput (dwImageCUDA *bayerImage, dwSoftISPHandle_t obj)
 Binds a Bayer image to the softISP. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_bindDemosaicOutput (dwImageCUDA *demosaicImage, dwSoftISPHandle_t obj)
 Binds a demosaic image to the softISP. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_bindRawInput (const dwImageCUDA *rawImage, dwSoftISPHandle_t obj)
 Binds the input image to the softISP. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_bindTonemapOutput (dwImageCUDA *tonemappedImage, dwSoftISPHandle_t obj)
 Binds a tone-mapped image to the softISP. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_copyTonemapCUDA (dwImageCUDA *output, const dwImageCUDA *input, dwSoftISPHandle_t obj, cudaStream_t stream)
 Perform tone-mapping on demosaiced images (DEPRECATED). More...
 
DW_API_PUBLIC dwStatus dwSoftISP_getBayerImageProperties (dwImageProperties *imageProperties, dwSoftISPHandle_t obj)
 Gets the image properties for the produced Bayer images. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_getCUDAStream (cudaStream_t *stream, dwSoftISPHandle_t obj)
 Gets the CUDA stream for the softISP pipeline. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_getDemosaicImageProperties (dwImageProperties *imageProperties, dwSoftISPHandle_t obj)
 Gets the image properties for the produced demosaiced images. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_getDemosaicMethod (dwSoftISPDemosaicMethod *method, dwSoftISPHandle_t obj)
 Gets the method used for demosaic. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_getDemosaicROI (dwRect *cropRegion, dwSoftISPHandle_t obj)
 Gets the cropping region in the Bayer image used for demosaicing. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_getDenoiseMethod (dwSoftISPDenoiseMethod *method, dwSoftISPHandle_t obj)
 Gets the method used for denoising. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_getTonemapType (dwTonemapType *type, dwSoftISPHandle_t obj)
 Gets the tonemap type. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_initialize (dwSoftISPHandle_t *obj, const dwSoftISPParams params, const dwContextHandle_t ctx)
 Creates and initializes the software ISP pipeline. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_initParamsFromCamera (dwSoftISPParams *params, const dwCameraProperties cameraProps)
 Initializes the parameters for the softISP using dwCameraProperties. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_processDeviceAsync (const int32_t type, dwSoftISPHandle_t obj)
 Runs the Software ISP to convert the bound raw image into whatever output was bound beforehand. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_release (dwSoftISPHandle_t *obj)
 Releases the softISP pipeline object. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_reset (dwSoftISPHandle_t obj)
 Resets the softISP pipeline. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_setCUDAStream (cudaStream_t stream, dwSoftISPHandle_t obj)
 Sets the CUDA stream for the softISP pipeline. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_setDemosaicMethod (dwSoftISPDemosaicMethod method, dwSoftISPHandle_t obj)
 Sets the method used to demosaic. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_setDemosaicROI (dwRect cropRegion, dwSoftISPHandle_t obj)
 Sets the cropping region in the Bayer image used for demosaicing. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_setDenoiseMethod (dwSoftISPDenoiseMethod method, dwSoftISPHandle_t obj)
 Sets the method used to denoise. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_setTonemapType (dwTonemapType type, dwSoftISPHandle_t obj)
 Sets the tonemap type. More...