NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release

Detailed Description

Initialization parameters for the frame capture module.

Definition at line 58 of file FrameCapture.h.

Collaboration diagram for dwFrameCaptureParams:

Data Fields

uint32_t width
 Width of the GL window / image. More...
 
uint32_t height
 Height of the GL window / image. More...
 
bool captureCustom
 The frameCaptured image is returned as a dwImageGL. More...
 
uint32_t mode
 Logic OR of the dwFrameCaptureMode. Can be either or all. Useful for not allocating useless resources. More...
 
bool serializeGL
 Boolean, if true it serializes DW_IMAGE_GL only, otherwise all other serializations (CUDA/CPU on X86, CUDA/NVMEDIA on Drive) More...
 
dwSerializerParams params
 SensorSerializer parameters, see SensorSerializer.h. More...
 
bool setupForDirectCameraOutput
 Boolean, if it is true and MUST use dwFrameCapture_appendAllocationAttributes to append nvsciBufAttrList to image's nvsciBufAttrLists, this image must be the output of camera with isp-mode=yuv420-bl then dwFrameCapture_appendFrame will append it without copyconvert overhead. More...
 

Field Documentation

◆ captureCustom

bool dwFrameCaptureParams::captureCustom

The frameCaptured image is returned as a dwImageGL.

By default (false) the resources for the dwImageGL are allocated automatically and the image received through the call dwFrameCapture_screenCapture. If true, then no resource will be allocated and the dwImageGL will have to be allocated by with dwImage_createGL()/dwImage_getGL and the frameCapture will return the image through dwFrameCapture_screenCaptureCustom()

Definition at line 70 of file FrameCapture.h.

◆ height

uint32_t dwFrameCaptureParams::height

Height of the GL window / image.

Definition at line 64 of file FrameCapture.h.

◆ mode

uint32_t dwFrameCaptureParams::mode

Logic OR of the dwFrameCaptureMode. Can be either or all. Useful for not allocating useless resources.

Definition at line 73 of file FrameCapture.h.

◆ params

dwSerializerParams dwFrameCaptureParams::params

SensorSerializer parameters, see SensorSerializer.h.

Definition at line 79 of file FrameCapture.h.

◆ serializeGL

bool dwFrameCaptureParams::serializeGL

Boolean, if true it serializes DW_IMAGE_GL only, otherwise all other serializations (CUDA/CPU on X86, CUDA/NVMEDIA on Drive)

Definition at line 76 of file FrameCapture.h.

◆ setupForDirectCameraOutput

bool dwFrameCaptureParams::setupForDirectCameraOutput

Boolean, if it is true and MUST use dwFrameCapture_appendAllocationAttributes to append nvsciBufAttrList to image's nvsciBufAttrLists, this image must be the output of camera with isp-mode=yuv420-bl then dwFrameCapture_appendFrame will append it without copyconvert overhead.

Definition at line 85 of file FrameCapture.h.

◆ width

uint32_t dwFrameCaptureParams::width

Width of the GL window / image.

Definition at line 61 of file FrameCapture.h.


The documentation for this struct was generated from the following file: