include: Fix IDirectXVideoDecoderService declaration in dxva2api.idl.
This matches the declaration with official documentation and fixes the following two compiler errors in apitrace project. d3d9trace.cpp:28469:59: error: invalid conversion from 'const DXVA2_ConfigPictureDecode*' to 'DXVA2_ConfigPictureDecode*' [-fpermissive] d3d9trace.cpp:28194:65: error: invalid conversion from 'void*' to 'IUnknown*' [-fpermissive] Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
This commit is contained in:
parent
84f1f36686
commit
467604c661
2 changed files with 4 additions and 4 deletions
|
@ -701,7 +701,7 @@ static HRESULT WINAPI device_manager_decoder_service_GetDecoderRenderTargets(IDi
|
|||
}
|
||||
|
||||
static HRESULT WINAPI device_manager_decoder_service_GetDecoderConfigurations(IDirectXVideoDecoderService *iface,
|
||||
REFGUID guid, const DXVA2_VideoDesc *video_desc, IUnknown *reserved, UINT *count, DXVA2_ConfigPictureDecode **configs)
|
||||
REFGUID guid, const DXVA2_VideoDesc *video_desc, void *reserved, UINT *count, DXVA2_ConfigPictureDecode **configs)
|
||||
{
|
||||
FIXME("%p, %s, %p, %p, %p, %p.\n", iface, debugstr_guid(guid), video_desc, reserved, count, configs);
|
||||
|
||||
|
@ -709,7 +709,7 @@ static HRESULT WINAPI device_manager_decoder_service_GetDecoderConfigurations(ID
|
|||
}
|
||||
|
||||
static HRESULT WINAPI device_manager_decoder_service_CreateVideoDecoder(IDirectXVideoDecoderService *iface,
|
||||
REFGUID guid, const DXVA2_VideoDesc *video_desc, DXVA2_ConfigPictureDecode *config, IDirect3DSurface9 **rts,
|
||||
REFGUID guid, const DXVA2_VideoDesc *video_desc, const DXVA2_ConfigPictureDecode *config, IDirect3DSurface9 **rts,
|
||||
UINT num_surfaces, IDirectXVideoDecoder **decoder)
|
||||
{
|
||||
FIXME("%p, %s, %p, %p, %p, %u, %p.\n", iface, debugstr_guid(guid), video_desc, config, rts, num_surfaces,
|
||||
|
|
|
@ -631,14 +631,14 @@ interface IDirectXVideoDecoderService : IDirectXVideoAccelerationService
|
|||
HRESULT GetDecoderConfigurations(
|
||||
[in] REFGUID guid,
|
||||
[in] const DXVA2_VideoDesc *pVideoDesc,
|
||||
[in] IUnknown *pReserved,
|
||||
[in] void *pReserved,
|
||||
[out] UINT *pCount,
|
||||
[out] DXVA2_ConfigPictureDecode **ppConfigs);
|
||||
|
||||
HRESULT CreateVideoDecoder(
|
||||
[in] REFGUID guid,
|
||||
[in] const DXVA2_VideoDesc *pVideoDesc,
|
||||
[in] DXVA2_ConfigPictureDecode *pConfig,
|
||||
[in] const DXVA2_ConfigPictureDecode *pConfig,
|
||||
[in] IDirect3DSurface9 **ppDecoderRenderTargets,
|
||||
[in] UINT NumSurfaces,
|
||||
[out] IDirectXVideoDecoder **ppDecode);
|
||||
|
|
Loading…
Add table
Reference in a new issue