NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
wfdext.h File Reference

Detailed Description

Header file for defining available extension on a platform.

See OpenWF specification for usage of this header file.

Definition in file wfdext.h.

Go to the source code of this file.

Macros

#define WFD_VENDOR_INDEX   (0)
 
#define WFD_RENDERER_INDEX   (1)
 
#define WFD_VERSION_INDEX   (2)
 
#define WFD_PORT_PERMISSIBLE_LATENCY_MS_NV   0x7635
 
#define WFD_PIPELINE_COMMIT_NON_BLOCKING_NVX   0x7730
 
#define WFD_PORT_MODE_H_TOTAL_NVX   0x7608
 
#define WFD_PORT_MODE_V_TOTAL_NVX   0x7609
 
#define WFD_PORT_DETECT_FROZEN_FRAME_NV   0x7636
 
#define WFD_INVALID_FROZEN_FRAME_ROI_HANDLE_NV   ((WFDFrozenFrameROIHandleNV)0u)
 Reserved invalid value for WFDFrozenFrameROIHandleNV. More...
 

Typedefs

typedef const WFDPipeline pipeline
 
typedef const WFDPipeline const WFDSource source
 
typedef const WFDPipeline const WFDSource const WFDTransition transition
 
typedef const WFDPipeline const WFDSource const WFDTransition const WFDRect *const region
 
typedef const WFDPipeline const WFDSource const WFDTransition const WFDRect *const const WFDuint64 timestamp
 
typedef struct NvSciBufObjRefRec * NvSciBufObj
 
typedef struct NvSciBufAttrListRec * NvSciBufAttrList
 
typedef const WFDPipeline NvSciBufObj *const bufObj
 
typedef struct NvSciSyncObjRec * NvSciSyncObj
 
typedef struct NvSciSyncAttrListRec * NvSciSyncAttrList
 
typedef struct NvSciSyncFence NvSciSyncFence
 Forward declaration of the NvSciSyncFence object. More...
 
typedef const WFDSource const NvSciSyncFence *const fence
 
typedef const NvSciSyncObj *const obj
 
typedef const WFDCommitType type
 
typedef const WFDCommitType const WFDHandle handle
 
typedef WFDuint32 WFDFrozenFrameROIHandleNV
 Frozen Frame Region of Interest (ROI) extension. More...
 
typedef const WFDPort port
 

Functions

typedef void (WFD_APIENTRY PFNWFDBINDSOURCETOPIPELINEWITHTIMESTAMPNV)(const WFDDevice device
 
typedef WFDSource (WFD_APIENTRY PFNWFDCREATESOURCEFROMNVSCIBUFNVX)(const WFDDevice device
 
typedef WFDErrorCode (WFD_APIENTRY PFNWFDNVSCIBUFSETDISPLAYATTRIBUTESNVX)(NvSciBufAttrList *const attrList)
 
typedef WFDFrozenFrameROIHandleNV (WFD_APIENTRY PFNWFDREGISTERFROZENFRAMEROINV)(const WFDDevice device
 

Macro Definition Documentation

◆ WFD_INVALID_FROZEN_FRAME_ROI_HANDLE_NV

#define WFD_INVALID_FROZEN_FRAME_ROI_HANDLE_NV   ((WFDFrozenFrameROIHandleNV)0u)

Reserved invalid value for WFDFrozenFrameROIHandleNV.

Returned by wfdRegisterFrozenFrameROINV on failure and rejected with WFD_ERROR_ILLEGAL_ARGUMENT by wfdUnregisterFrozenFrameROINV.

  • Maturity: GA

Definition at line 576 of file wfdext.h.

◆ WFD_PIPELINE_COMMIT_NON_BLOCKING_NVX

#define WFD_PIPELINE_COMMIT_NON_BLOCKING_NVX   0x7730

Definition at line 534 of file wfdext.h.

◆ WFD_PORT_DETECT_FROZEN_FRAME_NV

#define WFD_PORT_DETECT_FROZEN_FRAME_NV   0x7636

Definition at line 539 of file wfdext.h.

◆ WFD_PORT_MODE_H_TOTAL_NVX

#define WFD_PORT_MODE_H_TOTAL_NVX   0x7608

Definition at line 536 of file wfdext.h.

◆ WFD_PORT_MODE_V_TOTAL_NVX

#define WFD_PORT_MODE_V_TOTAL_NVX   0x7609

Definition at line 537 of file wfdext.h.

◆ WFD_PORT_PERMISSIBLE_LATENCY_MS_NV

#define WFD_PORT_PERMISSIBLE_LATENCY_MS_NV   0x7635

Definition at line 44 of file wfdext.h.

◆ WFD_RENDERER_INDEX

#define WFD_RENDERER_INDEX   (1)

Definition at line 41 of file wfdext.h.

◆ WFD_VENDOR_INDEX

#define WFD_VENDOR_INDEX   (0)

Definition at line 40 of file wfdext.h.

◆ WFD_VERSION_INDEX

#define WFD_VERSION_INDEX   (2)

Definition at line 42 of file wfdext.h.

Typedef Documentation

◆ bufObj

typedef const WFDPipeline NvSciBufObj* const bufObj

Definition at line 236 of file wfdext.h.

◆ fence

typedef const WFDCommitType const WFDHandle NvSciSyncFence *const fence

Definition at line 525 of file wfdext.h.

◆ handle

typedef const WFDPort const WFDFrozenFrameROIHandleNV handle

Definition at line 532 of file wfdext.h.

◆ NvSciBufAttrList

typedef struct NvSciBufAttrListRec* NvSciBufAttrList

Definition at line 138 of file wfdext.h.

◆ NvSciBufObj

typedef struct NvSciBufObjRefRec* NvSciBufObj

Definition at line 126 of file wfdext.h.

◆ NvSciSyncAttrList

typedef struct NvSciSyncAttrListRec* NvSciSyncAttrList

Definition at line 261 of file wfdext.h.

◆ NvSciSyncFence

Forward declaration of the NvSciSyncFence object.

Definition is owned by the NvSciSync subsystem. Used by OpenWFD APIs that bind pre-flip fences to sources or return post-flip fences.

  • Maturity: GA

Definition at line 271 of file wfdext.h.

◆ NvSciSyncObj

typedef struct NvSciSyncObjRec* NvSciSyncObj

Definition at line 249 of file wfdext.h.

◆ obj

typedef const NvSciSyncObj* const obj

Definition at line 528 of file wfdext.h.

◆ pipeline

typedef const WFDPipeline pipeline

Definition at line 110 of file wfdext.h.

◆ port

typedef const WFDPort port

Definition at line 705 of file wfdext.h.

◆ region

typedef const WFDPort const WFDRect *const region

Definition at line 113 of file wfdext.h.

◆ source

typedef const WFDSource source

Definition at line 111 of file wfdext.h.

◆ timestamp

typedef const WFDPipeline const WFDSource const WFDTransition const WFDRect* const const WFDuint64 timestamp

Definition at line 114 of file wfdext.h.

◆ transition

typedef const WFDPipeline const WFDSource const WFDTransition transition

Definition at line 112 of file wfdext.h.

◆ type

typedef const WFDCommitType type

Definition at line 531 of file wfdext.h.

◆ WFDFrozenFrameROIHandleNV

typedef WFDuint32 WFDFrozenFrameROIHandleNV

Frozen Frame Region of Interest (ROI) extension.

On platforms whose WFDPort reports WFD_PORT_DETECT_FROZEN_FRAME_NV as supported, an application may register screen-space rectangles to be monitored by the hardware-assisted frozen frame detector. Each registered ROI yields an opaque handle; while frozen frame detection is enabled (WFD_PORT_DETECT_FROZEN_FRAME_NV = WFD_TRUE), the hardware monitors the union of currently registered ROIs.

Handle 0 (WFD_INVALID_FROZEN_FRAME_ROI_HANDLE_NV) is reserved and returned on registration failure.

Opaque handle identifying a registered frozen-frame Region of Interest on a WFDPort.

Returned by wfdRegisterFrozenFrameROINV on success and consumed by wfdUnregisterFrozenFrameROINV. All non-zero values are valid handles; the value 0 (WFD_INVALID_FROZEN_FRAME_ROI_HANDLE_NV) is reserved to indicate an invalid or unregistered ROI.

  • Maturity: GA

Definition at line 566 of file wfdext.h.

Function Documentation

◆ void()

typedef void ( WFD_APIENTRY  PFNWFDBINDSOURCETOPIPELINEWITHTIMESTAMPNV) const

◆ WFDErrorCode()

typedef WFDErrorCode ( WFD_APIENTRY  PFNWFDNVSCIBUFSETDISPLAYATTRIBUTESNVX) const

◆ WFDFrozenFrameROIHandleNV()

typedef WFDFrozenFrameROIHandleNV ( WFD_APIENTRY  PFNWFDREGISTERFROZENFRAMEROINV) const

◆ WFDSource()

typedef WFDSource ( WFD_APIENTRY  PFNWFDCREATESOURCEFROMNVSCIBUFNVX) const