Initialization parameters for the frame capture module.
Definition at line 58 of file FrameCapture.h.
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... | |
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.
uint32_t dwFrameCaptureParams::height |
Height of the GL window / image.
Definition at line 64 of file FrameCapture.h.
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.
dwSerializerParams dwFrameCaptureParams::params |
SensorSerializer parameters, see SensorSerializer.h.
Definition at line 79 of file FrameCapture.h.
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.
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.
uint32_t dwFrameCaptureParams::width |
Width of the GL window / image.
Definition at line 61 of file FrameCapture.h.