Defines FrameCapture module for performing capture of currently bound GL frame buffer.
|
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_appendFrameAsync (const dwImageHandle_t img, dwFrameCaptureHandle_t framecapture) |
| Asynchronously 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_appendFrameCUDAAsync (const dwImageCUDA *img, dwFrameCaptureHandle_t framecapture) |
| Asynchronously 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_appendFrameGLAsync (const dwImageGL *img, dwFrameCaptureHandle_t framecapture) |
| Asynchronously 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_appendFrameNvMediaAsync (const dwImageNvMedia *img, dwFrameCaptureHandle_t framecapture) |
| Asynchronously append a dwImageNvMedia frame to the capture and it's serialized. 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_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_start (dwFrameCaptureHandle_t framecapture) |
| Starts frame capture. More...
|
|
DW_VIZ_API_PUBLIC dwStatus | dwFrameCapture_stop (dwFrameCaptureHandle_t framecapture) |
| Stops frame capture. More...
|
|
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.
It is independent from the original source of the GL frame, i.e. video or camera, and platform, i.e. Linux or Drive platforms.
- Parameters
-
[out] | imageGL | a pointer to a dwImageGL pointer containing the captured window |
[in] | roi | Region of interest to be captured |
[in] | framecapture | Handle to the frame capture module being released. |
- Returns
- DW_INVALID_HANDLE - if given handle is invalid
DW_SUCCESS