- Welcome
- Getting Started With the NVIDIA DriveWorks SDK
- Modules
- Samples
- Tools
- Tutorials
- SDK Porting Guide
- DriveWorks API
- More
NVIDIA DriveWorks API: FrameCapture Methods
Description: This file defines Frame Capture methods.
Definition in file FrameCapture.h.
Go to the source code of this file.
Data Structures | |
struct | dwFrameCaptureParams |
Initialization parameters for the frame capture module. More... | |
Typedefs | |
typedef struct dwFrameCaptureObject * | dwFrameCaptureHandle_t |
Handle to a Frame Capture module object. More... | |
Enumerations | |
enum | dwFrameCaptureMode { DW_FRAMECAPTURE_MODE_SCREENCAP = 1 << 0 , DW_FRAMECAPTURE_MODE_SERIALIZE = 1 << 1 } |
Enables FrameCapture functionalities. These can be set as a logical OR between the two modes. Choosing a mode means that the resources needed by that feature will be allocated. More... | |
Functions | |
DW_API_PUBLIC dwStatus | dwFrameCapture_appendAllocationAttributes (dwImageProperties *imgProps, dwFrameCaptureHandle_t framecapture) |
Append the allocation attribute to create images that work with other NvSci based modules. More... | |
DW_VIZ_API_PUBLIC dwStatus | dwFrameCapture_appendFrame (const dwImageHandle_t img, dwFrameCaptureHandle_t framecapture) |
Append a dwImageHandle frame to the capture and it's serialized. More... | |
DW_VIZ_API_PUBLIC dwStatus | dwFrameCapture_appendFrameCUDA (const dwImageCUDA *img, dwFrameCaptureHandle_t framecapture) |
Append a dwImageCUDA frame to the capture and it's serialized. More... | |
DW_VIZ_API_PUBLIC dwStatus | dwFrameCapture_appendFrameGL (const dwImageGL *img, dwFrameCaptureHandle_t framecapture) |
Append a dwImageGL frame to the capture and it's serialized. More... | |
DW_VIZ_API_PUBLIC dwStatus | dwFrameCapture_appendFrameNvMedia (const dwImageNvMedia *img, dwFrameCaptureHandle_t framecapture) |
Append a dwImageNvMedia frame to the capture and it's serialized. More... | |
DW_VIZ_API_PUBLIC dwStatus | dwFrameCapture_fillSyncAttributes (NvSciSyncAttrList syncAttrList, dwFrameCaptureHandle_t framecapture) |
Fill the sync attributes for the encoder to signal EOF fences. More... | |
DW_VIZ_API_PUBLIC dwStatus | dwFrameCapture_initialize (dwFrameCaptureHandle_t *obj, const dwFrameCaptureParams *params, dwSALHandle_t sal, dwContextHandle_t ctx) |
Create a new frame capture module. More... | |
DW_API_PUBLIC dwStatus | dwFrameCapture_insertFence (NvSciSyncFence *syncFence, dwFrameCaptureHandle_t framecapture) |
Insert fence to wait on completed operations. More... | |
DW_VIZ_API_PUBLIC dwStatus | dwFrameCapture_release (dwFrameCaptureHandle_t framecapture) |
Releases the frame capture module. More... | |
DW_VIZ_API_PUBLIC dwStatus | dwFrameCapture_screenCapture (const dwImageGL **imageGL, const dwRect roi, dwFrameCaptureHandle_t framecapture) |
It grabs what is currently rendered on the current frame buffer and returns a dwImageGL out of it For example, it permits to serialize additional information, such as bounding boxes, labels, etc., that are rendered on top of the current GL frame. More... | |
DW_VIZ_API_PUBLIC dwStatus | dwFrameCapture_screenCaptureCustom (dwImageGL *imageGL, const dwRect roi, dwFrameCaptureHandle_t framecapture) |
It grabs what is currently rendered on the current frame buffer and blits onto the input dwImageGL. More... | |
DW_VIZ_API_PUBLIC dwStatus | dwFrameCapture_setSyncObject (NvSciSyncObj syncObj, dwFrameCaptureHandle_t framecapture) |
Set the sync obj to which the encoder will wait on SOF fences. More... | |