Loading [MathJax]/extensions/tex2jax.js
  • <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>

  • DriveWorks SDK Reference
    5.10.90 Release
    For Test and Development only

    All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    FrameCapture.h File Reference

    Detailed Description

    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...
     
    人人超碰97caoporen国产