DriveWorks SDK Reference
5.10.90 Release
For Test and Development only

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_SOFTISP_DEMOSAIC_METHOD_INTERPOLATION ,
  DW_SOFTISP_DEMOSAIC_METHOD_DOWNSAMPLE
}
 
enum  dwSoftISPDenoiseMethod {
  DW_SOFTISP_DENOISE_METHOD_NONE ,
  DW_SOFTISP_DENOISE_METHOD_BILATERAL
}
 
enum  dwSoftISPProcessType {
  DW_SOFTISP_PROCESS_TYPE_BAYER = 1 << 0 ,
  DW_SOFTISP_PROCESS_TYPE_DEMOSAIC = 1 << 1 ,
  DW_SOFTISP_PROCESS_TYPE_TONEMAP = 1 << 2
}
 
enum  dwSoftISPWhiteBalanceMode {
  DW_SOFTISP_WHITEBALANCE_MODE_FIXED ,
  DW_SOFTISP_WHITEBALANCE_MODE_AUTO
}
 

Functions

DW_API_PUBLIC dwStatus dwSoftISP_bindInputRaw (const dwImageCUDA *rawImage, dwSoftISPHandle_t obj)
 Binds the input image to the softISP. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_bindOutputBayer (dwImageCUDA *bayerImage, dwSoftISPHandle_t obj)
 Binds a Bayer image to the softISP. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_bindOutputDemosaic (dwImageCUDA *demosaicImage, dwSoftISPHandle_t obj)
 Binds a demosaic image to the softISP. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_bindOutputTonemap (dwImageCUDA *tonemappedImage, dwSoftISPHandle_t obj)
 Binds a tone-mapped image to the softISP. 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 (dwTonemapMethod *type, dwSoftISPHandle_t obj)
 Gets the tonemap type. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_getWhiteBalanceMode (dwSoftISPWhiteBalanceMode *mode, dwSoftISPHandle_t obj)
 Gets the whitebalance mode. 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 (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_setProcessType (const int32_t processType, dwSoftISPHandle_t obj)
 Sets the proceesed output type that will be computed. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_setTonemapType (dwTonemapMethod type, dwSoftISPHandle_t obj)
 Sets the tonemap type. More...
 
DW_API_PUBLIC dwStatus dwSoftISP_setWhiteBalanceMode (dwSoftISPWhiteBalanceMode mode, dwSoftISPHandle_t obj)
 Sets the whitebalance mode. More...