NVIDIA DriveWorks API: Cameras
NVIDIA DriveWorks API: Tonemap Types
NVIDIA DriveWorks API: Core Types
NVIDIA DriveWorks API: Core Methods
NVIDIA DriveWorks API: Core Exports
dwCameraType
Enum of available camera sensors.
dwCameraRawFormat
Raw encoding formats pixel-order.
struct dwContextObject * dwContextHandle_t
Context handle.
dwStatus
Status definition.
Defines the properties of the image.
uint32_t width
Input Image Width.
dwTonemapMethod method
Tonemapper type (select UNKNOWN for default/no tonemapping)
dwCameraRawFormat cameraRawFormat
dwCameraType cameraType
Camera Type.
const char * cameraModuleName
uint32_t height
Input Image Height.
DW_API_PUBLIC dwStatus dwSoftISP_initParamsFromCamera(dwSoftISPParams *params, const dwCameraProperties *cameraProps)
Initializes the parameters for the softISP using dwCameraProperties.
DW_API_PUBLIC dwStatus dwSoftISP_release(dwSoftISPHandle_t obj)
Releases the softISP pipeline object.
DW_API_PUBLIC dwStatus dwSoftISP_setTonemapType(dwTonemapMethod type, dwSoftISPHandle_t obj)
Sets the tonemap type.
DW_API_PUBLIC dwStatus dwSoftISP_setDenoiseMethod(dwSoftISPDenoiseMethod method, dwSoftISPHandle_t obj)
Sets the method used to denoise.
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.
DW_API_PUBLIC dwStatus dwSoftISP_setProcessType(const int32_t processType, dwSoftISPHandle_t obj)
Sets the proceesed output type that will be computed.
DW_API_PUBLIC dwStatus dwSoftISP_bindOutputBayer(dwImageCUDA *bayerImage, dwSoftISPHandle_t obj)
Binds a Bayer image to the softISP.
DW_API_PUBLIC dwStatus dwSoftISP_getDemosaicImageProperties(dwImageProperties *imageProperties, dwSoftISPHandle_t obj)
Gets the image properties for the produced demosaiced images.
DW_API_PUBLIC dwStatus dwSoftISP_setDemosaicMethod(dwSoftISPDemosaicMethod method, dwSoftISPHandle_t obj)
Sets the method used to demosaic.
DW_API_PUBLIC dwStatus dwSoftISP_bindOutputTonemap(dwImageCUDA *tonemappedImage, dwSoftISPHandle_t obj)
Binds a tone-mapped image to the softISP.
DW_API_PUBLIC dwStatus dwSoftISP_setDemosaicROI(dwRect cropRegion, dwSoftISPHandle_t obj)
Sets the cropping region in the Bayer image used for demosaicing.
DW_API_PUBLIC dwStatus dwSoftISP_bindInputRaw(const dwImageCUDA *rawImage, dwSoftISPHandle_t obj)
Binds the input image to the softISP.
DW_API_PUBLIC dwStatus dwSoftISP_getCUDAStream(cudaStream_t *stream, dwSoftISPHandle_t obj)
Gets the CUDA stream for the softISP pipeline.
DW_API_PUBLIC dwStatus dwSoftISP_setCUDAStream(cudaStream_t stream, dwSoftISPHandle_t obj)
Sets the CUDA stream for the softISP pipeline.
DW_API_PUBLIC dwStatus dwSoftISP_getDemosaicMethod(dwSoftISPDemosaicMethod *method, dwSoftISPHandle_t obj)
Gets the method used for demosaic.
DW_API_PUBLIC dwStatus dwSoftISP_getDenoiseMethod(dwSoftISPDenoiseMethod *method, dwSoftISPHandle_t obj)
Gets the method used for denoising.
DW_API_PUBLIC dwStatus dwSoftISP_getTonemapType(dwTonemapMethod *type, dwSoftISPHandle_t obj)
Gets the tonemap type.
DW_API_PUBLIC dwStatus dwSoftISP_reset(dwSoftISPHandle_t obj)
Resets the softISP pipeline.
DW_API_PUBLIC dwStatus dwSoftISP_setWhiteBalanceMode(dwSoftISPWhiteBalanceMode mode, dwSoftISPHandle_t obj)
Sets the whitebalance mode.
DW_API_PUBLIC dwStatus dwSoftISP_initialize(dwSoftISPHandle_t *obj, const dwSoftISPParams *params, const dwContextHandle_t ctx)
Creates and initializes the software ISP pipeline.
DW_API_PUBLIC dwStatus dwSoftISP_bindOutputDemosaic(dwImageCUDA *demosaicImage, dwSoftISPHandle_t obj)
Binds a demosaic image to the softISP.
DW_API_PUBLIC dwStatus dwSoftISP_getWhiteBalanceMode(dwSoftISPWhiteBalanceMode *mode, dwSoftISPHandle_t obj)
Gets the whitebalance mode.
struct dwSoftISPObject * dwSoftISPHandle_t
Handle representing the Software ISP.
DW_API_PUBLIC dwStatus dwSoftISP_getDemosaicROI(dwRect *cropRegion, dwSoftISPHandle_t obj)
Gets the cropping region in the Bayer image used for demosaicing.
dwSoftISPWhiteBalanceMode
DW_API_PUBLIC dwStatus dwSoftISP_getBayerImageProperties(dwImageProperties *imageProperties, dwSoftISPHandle_t obj)
Gets the image properties for the produced Bayer images.
@ DW_SOFTISP_PROCESS_TYPE_BAYER
Compute Bayer.
@ DW_SOFTISP_PROCESS_TYPE_TONEMAP
Compute tone map.
@ DW_SOFTISP_PROCESS_TYPE_DEMOSAIC
Compute demosaic.
@ DW_SOFTISP_DEMOSAIC_METHOD_INTERPOLATION
Full camera resolution using interpolation.
@ DW_SOFTISP_DEMOSAIC_METHOD_DOWNSAMPLE
Half camera resolution combining a 2x2 Bayer cell into one output pixel.
@ DW_SOFTISP_WHITEBALANCE_MODE_AUTO
Image is automatically white-balanced.
@ DW_SOFTISP_WHITEBALANCE_MODE_FIXED
Image is white-balanced according to fixed parameters from the sensor.
@ DW_SOFTISP_DENOISE_METHOD_NONE
No denoising.
@ DW_SOFTISP_DENOISE_METHOD_BILATERAL
Bilateral denoising.
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality