DXVAHDSW_CALLBACKS structure (dxvahd.h)

Contains pointers to functions implemented by a software plug-in for Microsoft DirectX Video Acceleration High Definition (DXVA-HD).

Syntax

typedef struct _DXVAHDSW_CALLBACKS {
  PDXVAHDSW_CreateDevice                      CreateDevice;
  PDXVAHDSW_ProposeVideoPrivateFormat         ProposeVideoPrivateFormat;
  PDXVAHDSW_GetVideoProcessorDeviceCaps       GetVideoProcessorDeviceCaps;
  PDXVAHDSW_GetVideoProcessorOutputFormats    GetVideoProcessorOutputFormats;
  PDXVAHDSW_GetVideoProcessorInputFormats     GetVideoProcessorInputFormats;
  PDXVAHDSW_GetVideoProcessorCaps             GetVideoProcessorCaps;
  PDXVAHDSW_GetVideoProcessorCustomRates      GetVideoProcessorCustomRates;
  PDXVAHDSW_GetVideoProcessorFilterRange      GetVideoProcessorFilterRange;
  PDXVAHDSW_DestroyDevice                     DestroyDevice;
  PDXVAHDSW_CreateVideoProcessor              CreateVideoProcessor;
  PDXVAHDSW_SetVideoProcessBltState           SetVideoProcessBltState;
  PDXVAHDSW_GetVideoProcessBltStatePrivate    GetVideoProcessBltStatePrivate;
  PDXVAHDSW_SetVideoProcessStreamState        SetVideoProcessStreamState;
  PDXVAHDSW_GetVideoProcessStreamStatePrivate GetVideoProcessStreamStatePrivate;
  PDXVAHDSW_VideoProcessBltHD                 VideoProcessBltHD;
  PDXVAHDSW_DestroyVideoProcessor             DestroyVideoProcessor;
} DXVAHDSW_CALLBACKS;

Members

CreateDevice

Function pointer of type PDXVAHDSW_CreateDevice.

ProposeVideoPrivateFormat

Function pointer of type PDXVAHDSW_ProposeVideoPrivateFormat.

GetVideoProcessorDeviceCaps

Function pointer of type PDXVAHDSW_GetVideoProcessorDeviceCaps.

GetVideoProcessorOutputFormats

Function pointer of type PDXVAHDSW_GetVideoProcessorOutputFormats.

GetVideoProcessorInputFormats

Function pointer of type PDXVAHDSW_GetVideoProcessorInputFormats.

GetVideoProcessorCaps

Function pointer of type PDXVAHDSW_GetVideoProcessorCaps.

GetVideoProcessorCustomRates

Function pointer of type PDXVAHDSW_GetVideoProcessorCustomRates.

GetVideoProcessorFilterRange

Function pointer of type PDXVAHDSW_GetVideoProcessorFilterRange.

DestroyDevice

Function pointer of type PDXVAHDSW_DestroyDevice.

CreateVideoProcessor

Function pointer of type PDXVAHDSW_CreateVideoProcessor.

SetVideoProcessBltState

Function pointer of type PDXVAHDSW_SetVideoProcessBltState.

GetVideoProcessBltStatePrivate

Function pointer of type PDXVAHDSW_GetVideoProcessBltStatePrivate.

SetVideoProcessStreamState

Function pointer of type PDXVAHDSW_SetVideoProcessStreamState.

GetVideoProcessStreamStatePrivate

Function pointer of type PDXVAHDSW_GetVideoProcessStreamStatePrivate.

VideoProcessBltHD

Function pointer of type PDXVAHDSW_VideoProcessBltHD.

DestroyVideoProcessor

Function pointer of type PDXVAHDSW_DestroyVideoProcessor.

Remarks

If you provide a software plug-in for DXVA-HD, the plug-in must implement a set of functions that are defined by the function pointer types in this structure.

At initialization, the DXVA-HD runtime calls the plug-in device's PDXVAHDSW_Plugin function. This function fills in a DXVAHDSW_CALLBACKS structure with pointers to the set of functions that are implemented by the plug-in device. When the application calls DXVA-HD methods, the DXVA-HD runtime calls the corresponding plug-in functions.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header dxvahd.h

See also

DXVA-HD

Direct3D Video Structures

Media Foundation Structures

PDXVAHDSW_Plugin