45 #ifndef DW_FRAMECAPTURE_H__ 46 #define DW_FRAMECAPTURE_H__ 125 dwFrameCaptureHandle_t framecapture);
156 #endif // DW_FRAMECAPTURE_H__ uint32_t height
Height of the GL window / image.
DW_API_PUBLIC dwStatus dwFrameCapture_initialize(dwFrameCaptureHandle_t *obj, const dwFrameCaptureParams *params, dwSALHandle_t sal, dwContextHandle_t ctx)
Create a new frame capture module.
DW_API_PUBLIC dwStatus dwFrameCapture_appendFrameGL(const dwImageGL *img, dwFrameCaptureHandle_t framecapture)
Append a dwImageGL frame to the capture and it's serialized.
DW_API_PUBLIC dwStatus dwFrameCapture_release(dwFrameCaptureHandle_t *framecapture)
Releases the frame capture module.
NVIDIA DriveWorks API: Sensor Serializer
DW_API_PUBLIC dwStatus dwFrameCapture_appendFrameCUDA(const dwImageCUDA *img, dwFrameCaptureHandle_t framecapture)
Append a dwImageCUDA frame to the capture and it's serialized.
NVIDIA DriveWorks API: Core Methods
Holds the parameters for sensor serializer creation.
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
dwBool disableSerialization
Set DW_TRUE to disable setup for serialization and setup only screen capture.
dwSerializerParams params
SensorSerializer parameters, see SensorSerializer.h.
dwStatus
Status definition.
NVIDIA DriveWorks API: Sensors
DW_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...
dwImageType
Specifies the image type.
struct dwSALObject * dwSALHandle_t
Handle representing the Sensor Abstraction Layer interface.
Defines a GL texture image.
struct dwContextObject * dwContextHandle_t
Context handle.
struct dwFrameCaptureObject * dwFrameCaptureHandle_t
Handle to a Frame Capture module object.
uint32_t width
Width of the GL window / image.
dwImageType type
Type, either DW_IMAGE_GL or DW_IMAGE_CUDA for the type of image serializaion.
Initialization parameters for the frame capture module.