struktur DXVAHDSW_CALLBACKS (dxvahd.h)
Berisi pointer ke fungsi yang diimplementasikan oleh plug-in perangkat lunak untuk Microsoft DirectX Video Acceleration High Definition (DXVA-HD).
Sintaks
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;
Anggota
CreateDevice
Penunjuk fungsi jenis PDXVAHDSW_CreateDevice.
ProposeVideoPrivateFormat
Penunjuk fungsi jenis PDXVAHDSW_ProposeVideoPrivateFormat.
GetVideoProcessorDeviceCaps
Penunjuk fungsi jenis PDXVAHDSW_GetVideoProcessorDeviceCaps.
GetVideoProcessorOutputFormats
Penunjuk fungsi jenis PDXVAHDSW_GetVideoProcessorOutputFormats.
GetVideoProcessorInputFormats
Penunjuk fungsi jenis PDXVAHDSW_GetVideoProcessorInputFormats.
GetVideoProcessorCaps
Penunjuk fungsi jenis PDXVAHDSW_GetVideoProcessorCaps.
GetVideoProcessorCustomRates
Penunjuk fungsi jenis PDXVAHDSW_GetVideoProcessorCustomRates.
GetVideoProcessorFilterRange
Penunjuk fungsi jenis PDXVAHDSW_GetVideoProcessorFilterRange.
DestroyDevice
Penunjuk fungsi jenis PDXVAHDSW_DestroyDevice.
CreateVideoProcessor
Penunjuk fungsi jenis PDXVAHDSW_CreateVideoProcessor.
SetVideoProcessBltState
Penunjuk fungsi jenis PDXVAHDSW_SetVideoProcessBltState.
GetVideoProcessBltStatePrivate
Penunjuk fungsi jenis PDXVAHDSW_GetVideoProcessBltStatePrivate.
SetVideoProcessStreamState
Penunjuk fungsi jenis PDXVAHDSW_SetVideoProcessStreamState.
GetVideoProcessStreamStatePrivate
Penunjuk fungsi jenis PDXVAHDSW_GetVideoProcessStreamStatePrivate.
VideoProcessBltHD
Penunjuk fungsi jenis PDXVAHDSW_VideoProcessBltHD.
DestroyVideoProcessor
Penunjuk fungsi jenis PDXVAHDSW_DestroyVideoProcessor.
Keterangan
Jika Anda menyediakan plug-in perangkat lunak untuk DXVA-HD, plug-in harus mengimplementasikan serangkaian fungsi yang ditentukan oleh jenis penunjuk fungsi dalam struktur ini.
Pada inisialisasi, runtime DXVA-HD memanggil fungsi PDXVAHDSW_Plugin perangkat plug-in. Fungsi ini mengisi struktur DXVAHDSW_CALLBACKS dengan penunjuk ke set fungsi yang diimplementasikan oleh perangkat plug-in. Ketika aplikasi memanggil metode DXVA-HD, runtime DXVA-HD memanggil fungsi plug-in yang sesuai.
Persyaratan
Klien minimum yang didukung | Windows 7 [hanya aplikasi desktop] |
Server minimum yang didukung | Windows Server 2008 R2 [hanya aplikasi desktop] |
Header | dxvahd.h |