Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

662 lines
22 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for videoacc.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __videoacc_h__
  27. #define __videoacc_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IAMVideoAcceleratorNotify_FWD_DEFINED__
  33. #define __IAMVideoAcceleratorNotify_FWD_DEFINED__
  34. typedef interface IAMVideoAcceleratorNotify IAMVideoAcceleratorNotify;
  35. #endif /* __IAMVideoAcceleratorNotify_FWD_DEFINED__ */
  36. #ifndef __IAMVideoAccelerator_FWD_DEFINED__
  37. #define __IAMVideoAccelerator_FWD_DEFINED__
  38. typedef interface IAMVideoAccelerator IAMVideoAccelerator;
  39. #endif /* __IAMVideoAccelerator_FWD_DEFINED__ */
  40. /* header files for imported files */
  41. #include "unknwn.h"
  42. #ifdef __cplusplus
  43. extern "C"{
  44. #endif
  45. void * __RPC_USER MIDL_user_allocate(size_t);
  46. void __RPC_USER MIDL_user_free( void * );
  47. /* interface __MIDL_itf_videoacc_0000 */
  48. /* [local] */
  49. //
  50. // The following declarations within the 'if 0' block are dummy typedefs used to make
  51. // the motncomp.idl file build. The actual definitions are contained in ddraw.h and amva.h
  52. //
  53. #if 0
  54. typedef void *LPVOID;
  55. typedef void *LPGUID;
  56. typedef void *LPDIRECTDRAWSURFACE;
  57. typedef void *LPDDPIXELFORMAT;
  58. typedef void *LPAMVAInternalMemInfo;
  59. typedef void AMVAUncompDataInfo;
  60. typedef void *LPAMVACompBufferInfo;
  61. typedef void AMVABUFFERINFO;
  62. typedef void AMVAEndFrameInfo;
  63. typedef void *LPAMVAUncompBufferInfo;
  64. typedef void AMVABeginFrameInfo;
  65. typedef IUnknown *IMediaSample;
  66. #endif
  67. #include <ddraw.h>
  68. #include <amva.h>
  69. extern RPC_IF_HANDLE __MIDL_itf_videoacc_0000_v0_0_c_ifspec;
  70. extern RPC_IF_HANDLE __MIDL_itf_videoacc_0000_v0_0_s_ifspec;
  71. #ifndef __IAMVideoAcceleratorNotify_INTERFACE_DEFINED__
  72. #define __IAMVideoAcceleratorNotify_INTERFACE_DEFINED__
  73. /* interface IAMVideoAcceleratorNotify */
  74. /* [unique][helpstring][uuid][object][local] */
  75. EXTERN_C const IID IID_IAMVideoAcceleratorNotify;
  76. #if defined(__cplusplus) && !defined(CINTERFACE)
  77. MIDL_INTERFACE("256A6A21-FBAD-11d1-82BF-00A0C9696C8F")
  78. IAMVideoAcceleratorNotify : public IUnknown
  79. {
  80. public:
  81. virtual HRESULT STDMETHODCALLTYPE GetUncompSurfacesInfo(
  82. /* [in] */ const GUID *pGuid,
  83. /* [out][in] */ LPAMVAUncompBufferInfo pUncompBufferInfo) = 0;
  84. virtual HRESULT STDMETHODCALLTYPE SetUncompSurfacesInfo(
  85. /* [in] */ DWORD dwActualUncompSurfacesAllocated) = 0;
  86. virtual HRESULT STDMETHODCALLTYPE GetCreateVideoAcceleratorData(
  87. /* [in] */ const GUID *pGuid,
  88. /* [out] */ LPDWORD pdwSizeMiscData,
  89. /* [out] */ LPVOID *ppMiscData) = 0;
  90. };
  91. #else /* C style interface */
  92. typedef struct IAMVideoAcceleratorNotifyVtbl
  93. {
  94. BEGIN_INTERFACE
  95. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  96. IAMVideoAcceleratorNotify * This,
  97. /* [in] */ REFIID riid,
  98. /* [iid_is][out] */ void **ppvObject);
  99. ULONG ( STDMETHODCALLTYPE *AddRef )(
  100. IAMVideoAcceleratorNotify * This);
  101. ULONG ( STDMETHODCALLTYPE *Release )(
  102. IAMVideoAcceleratorNotify * This);
  103. HRESULT ( STDMETHODCALLTYPE *GetUncompSurfacesInfo )(
  104. IAMVideoAcceleratorNotify * This,
  105. /* [in] */ const GUID *pGuid,
  106. /* [out][in] */ LPAMVAUncompBufferInfo pUncompBufferInfo);
  107. HRESULT ( STDMETHODCALLTYPE *SetUncompSurfacesInfo )(
  108. IAMVideoAcceleratorNotify * This,
  109. /* [in] */ DWORD dwActualUncompSurfacesAllocated);
  110. HRESULT ( STDMETHODCALLTYPE *GetCreateVideoAcceleratorData )(
  111. IAMVideoAcceleratorNotify * This,
  112. /* [in] */ const GUID *pGuid,
  113. /* [out] */ LPDWORD pdwSizeMiscData,
  114. /* [out] */ LPVOID *ppMiscData);
  115. END_INTERFACE
  116. } IAMVideoAcceleratorNotifyVtbl;
  117. interface IAMVideoAcceleratorNotify
  118. {
  119. CONST_VTBL struct IAMVideoAcceleratorNotifyVtbl *lpVtbl;
  120. };
  121. #ifdef COBJMACROS
  122. #define IAMVideoAcceleratorNotify_QueryInterface(This,riid,ppvObject) \
  123. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  124. #define IAMVideoAcceleratorNotify_AddRef(This) \
  125. (This)->lpVtbl -> AddRef(This)
  126. #define IAMVideoAcceleratorNotify_Release(This) \
  127. (This)->lpVtbl -> Release(This)
  128. #define IAMVideoAcceleratorNotify_GetUncompSurfacesInfo(This,pGuid,pUncompBufferInfo) \
  129. (This)->lpVtbl -> GetUncompSurfacesInfo(This,pGuid,pUncompBufferInfo)
  130. #define IAMVideoAcceleratorNotify_SetUncompSurfacesInfo(This,dwActualUncompSurfacesAllocated) \
  131. (This)->lpVtbl -> SetUncompSurfacesInfo(This,dwActualUncompSurfacesAllocated)
  132. #define IAMVideoAcceleratorNotify_GetCreateVideoAcceleratorData(This,pGuid,pdwSizeMiscData,ppMiscData) \
  133. (This)->lpVtbl -> GetCreateVideoAcceleratorData(This,pGuid,pdwSizeMiscData,ppMiscData)
  134. #endif /* COBJMACROS */
  135. #endif /* C style interface */
  136. HRESULT STDMETHODCALLTYPE IAMVideoAcceleratorNotify_GetUncompSurfacesInfo_Proxy(
  137. IAMVideoAcceleratorNotify * This,
  138. /* [in] */ const GUID *pGuid,
  139. /* [out][in] */ LPAMVAUncompBufferInfo pUncompBufferInfo);
  140. void __RPC_STUB IAMVideoAcceleratorNotify_GetUncompSurfacesInfo_Stub(
  141. IRpcStubBuffer *This,
  142. IRpcChannelBuffer *_pRpcChannelBuffer,
  143. PRPC_MESSAGE _pRpcMessage,
  144. DWORD *_pdwStubPhase);
  145. HRESULT STDMETHODCALLTYPE IAMVideoAcceleratorNotify_SetUncompSurfacesInfo_Proxy(
  146. IAMVideoAcceleratorNotify * This,
  147. /* [in] */ DWORD dwActualUncompSurfacesAllocated);
  148. void __RPC_STUB IAMVideoAcceleratorNotify_SetUncompSurfacesInfo_Stub(
  149. IRpcStubBuffer *This,
  150. IRpcChannelBuffer *_pRpcChannelBuffer,
  151. PRPC_MESSAGE _pRpcMessage,
  152. DWORD *_pdwStubPhase);
  153. HRESULT STDMETHODCALLTYPE IAMVideoAcceleratorNotify_GetCreateVideoAcceleratorData_Proxy(
  154. IAMVideoAcceleratorNotify * This,
  155. /* [in] */ const GUID *pGuid,
  156. /* [out] */ LPDWORD pdwSizeMiscData,
  157. /* [out] */ LPVOID *ppMiscData);
  158. void __RPC_STUB IAMVideoAcceleratorNotify_GetCreateVideoAcceleratorData_Stub(
  159. IRpcStubBuffer *This,
  160. IRpcChannelBuffer *_pRpcChannelBuffer,
  161. PRPC_MESSAGE _pRpcMessage,
  162. DWORD *_pdwStubPhase);
  163. #endif /* __IAMVideoAcceleratorNotify_INTERFACE_DEFINED__ */
  164. #ifndef __IAMVideoAccelerator_INTERFACE_DEFINED__
  165. #define __IAMVideoAccelerator_INTERFACE_DEFINED__
  166. /* interface IAMVideoAccelerator */
  167. /* [unique][helpstring][uuid][object][local] */
  168. EXTERN_C const IID IID_IAMVideoAccelerator;
  169. #if defined(__cplusplus) && !defined(CINTERFACE)
  170. MIDL_INTERFACE("256A6A22-FBAD-11d1-82BF-00A0C9696C8F")
  171. IAMVideoAccelerator : public IUnknown
  172. {
  173. public:
  174. virtual HRESULT STDMETHODCALLTYPE GetVideoAcceleratorGUIDs(
  175. /* [out][in] */ LPDWORD pdwNumGuidsSupported,
  176. /* [out][in] */ LPGUID pGuidsSupported) = 0;
  177. virtual HRESULT STDMETHODCALLTYPE GetUncompFormatsSupported(
  178. /* [in] */ const GUID *pGuid,
  179. /* [out][in] */ LPDWORD pdwNumFormatsSupported,
  180. /* [out][in] */ LPDDPIXELFORMAT pFormatsSupported) = 0;
  181. virtual HRESULT STDMETHODCALLTYPE GetInternalMemInfo(
  182. /* [in] */ const GUID *pGuid,
  183. /* [in] */ const AMVAUncompDataInfo *pamvaUncompDataInfo,
  184. /* [out][in] */ LPAMVAInternalMemInfo pamvaInternalMemInfo) = 0;
  185. virtual HRESULT STDMETHODCALLTYPE GetCompBufferInfo(
  186. /* [in] */ const GUID *pGuid,
  187. /* [in] */ const AMVAUncompDataInfo *pamvaUncompDataInfo,
  188. /* [out][in] */ LPDWORD pdwNumTypesCompBuffers,
  189. /* [out] */ LPAMVACompBufferInfo pamvaCompBufferInfo) = 0;
  190. virtual HRESULT STDMETHODCALLTYPE GetInternalCompBufferInfo(
  191. /* [out][in] */ LPDWORD pdwNumTypesCompBuffers,
  192. /* [out] */ LPAMVACompBufferInfo pamvaCompBufferInfo) = 0;
  193. virtual HRESULT STDMETHODCALLTYPE BeginFrame(
  194. /* [in] */ const AMVABeginFrameInfo *amvaBeginFrameInfo) = 0;
  195. virtual HRESULT STDMETHODCALLTYPE EndFrame(
  196. /* [in] */ const AMVAEndFrameInfo *pEndFrameInfo) = 0;
  197. virtual HRESULT STDMETHODCALLTYPE GetBuffer(
  198. /* [in] */ DWORD dwTypeIndex,
  199. /* [in] */ DWORD dwBufferIndex,
  200. /* [in] */ BOOL bReadOnly,
  201. /* [out] */ LPVOID *ppBuffer,
  202. /* [out] */ LONG *lpStride) = 0;
  203. virtual HRESULT STDMETHODCALLTYPE ReleaseBuffer(
  204. /* [in] */ DWORD dwTypeIndex,
  205. /* [in] */ DWORD dwBufferIndex) = 0;
  206. virtual HRESULT STDMETHODCALLTYPE Execute(
  207. /* [in] */ DWORD dwFunction,
  208. /* [in] */ LPVOID lpPrivateInputData,
  209. /* [in] */ DWORD cbPrivateInputData,
  210. /* [in] */ LPVOID lpPrivateOutputDat,
  211. /* [in] */ DWORD cbPrivateOutputData,
  212. /* [in] */ DWORD dwNumBuffers,
  213. /* [in] */ const AMVABUFFERINFO *pamvaBufferInfo) = 0;
  214. virtual HRESULT STDMETHODCALLTYPE QueryRenderStatus(
  215. /* [in] */ DWORD dwTypeIndex,
  216. /* [in] */ DWORD dwBufferIndex,
  217. /* [in] */ DWORD dwFlags) = 0;
  218. virtual HRESULT STDMETHODCALLTYPE DisplayFrame(
  219. /* [in] */ DWORD dwFlipToIndex,
  220. /* [in] */ IMediaSample *pMediaSample) = 0;
  221. };
  222. #else /* C style interface */
  223. typedef struct IAMVideoAcceleratorVtbl
  224. {
  225. BEGIN_INTERFACE
  226. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  227. IAMVideoAccelerator * This,
  228. /* [in] */ REFIID riid,
  229. /* [iid_is][out] */ void **ppvObject);
  230. ULONG ( STDMETHODCALLTYPE *AddRef )(
  231. IAMVideoAccelerator * This);
  232. ULONG ( STDMETHODCALLTYPE *Release )(
  233. IAMVideoAccelerator * This);
  234. HRESULT ( STDMETHODCALLTYPE *GetVideoAcceleratorGUIDs )(
  235. IAMVideoAccelerator * This,
  236. /* [out][in] */ LPDWORD pdwNumGuidsSupported,
  237. /* [out][in] */ LPGUID pGuidsSupported);
  238. HRESULT ( STDMETHODCALLTYPE *GetUncompFormatsSupported )(
  239. IAMVideoAccelerator * This,
  240. /* [in] */ const GUID *pGuid,
  241. /* [out][in] */ LPDWORD pdwNumFormatsSupported,
  242. /* [out][in] */ LPDDPIXELFORMAT pFormatsSupported);
  243. HRESULT ( STDMETHODCALLTYPE *GetInternalMemInfo )(
  244. IAMVideoAccelerator * This,
  245. /* [in] */ const GUID *pGuid,
  246. /* [in] */ const AMVAUncompDataInfo *pamvaUncompDataInfo,
  247. /* [out][in] */ LPAMVAInternalMemInfo pamvaInternalMemInfo);
  248. HRESULT ( STDMETHODCALLTYPE *GetCompBufferInfo )(
  249. IAMVideoAccelerator * This,
  250. /* [in] */ const GUID *pGuid,
  251. /* [in] */ const AMVAUncompDataInfo *pamvaUncompDataInfo,
  252. /* [out][in] */ LPDWORD pdwNumTypesCompBuffers,
  253. /* [out] */ LPAMVACompBufferInfo pamvaCompBufferInfo);
  254. HRESULT ( STDMETHODCALLTYPE *GetInternalCompBufferInfo )(
  255. IAMVideoAccelerator * This,
  256. /* [out][in] */ LPDWORD pdwNumTypesCompBuffers,
  257. /* [out] */ LPAMVACompBufferInfo pamvaCompBufferInfo);
  258. HRESULT ( STDMETHODCALLTYPE *BeginFrame )(
  259. IAMVideoAccelerator * This,
  260. /* [in] */ const AMVABeginFrameInfo *amvaBeginFrameInfo);
  261. HRESULT ( STDMETHODCALLTYPE *EndFrame )(
  262. IAMVideoAccelerator * This,
  263. /* [in] */ const AMVAEndFrameInfo *pEndFrameInfo);
  264. HRESULT ( STDMETHODCALLTYPE *GetBuffer )(
  265. IAMVideoAccelerator * This,
  266. /* [in] */ DWORD dwTypeIndex,
  267. /* [in] */ DWORD dwBufferIndex,
  268. /* [in] */ BOOL bReadOnly,
  269. /* [out] */ LPVOID *ppBuffer,
  270. /* [out] */ LONG *lpStride);
  271. HRESULT ( STDMETHODCALLTYPE *ReleaseBuffer )(
  272. IAMVideoAccelerator * This,
  273. /* [in] */ DWORD dwTypeIndex,
  274. /* [in] */ DWORD dwBufferIndex);
  275. HRESULT ( STDMETHODCALLTYPE *Execute )(
  276. IAMVideoAccelerator * This,
  277. /* [in] */ DWORD dwFunction,
  278. /* [in] */ LPVOID lpPrivateInputData,
  279. /* [in] */ DWORD cbPrivateInputData,
  280. /* [in] */ LPVOID lpPrivateOutputDat,
  281. /* [in] */ DWORD cbPrivateOutputData,
  282. /* [in] */ DWORD dwNumBuffers,
  283. /* [in] */ const AMVABUFFERINFO *pamvaBufferInfo);
  284. HRESULT ( STDMETHODCALLTYPE *QueryRenderStatus )(
  285. IAMVideoAccelerator * This,
  286. /* [in] */ DWORD dwTypeIndex,
  287. /* [in] */ DWORD dwBufferIndex,
  288. /* [in] */ DWORD dwFlags);
  289. HRESULT ( STDMETHODCALLTYPE *DisplayFrame )(
  290. IAMVideoAccelerator * This,
  291. /* [in] */ DWORD dwFlipToIndex,
  292. /* [in] */ IMediaSample *pMediaSample);
  293. END_INTERFACE
  294. } IAMVideoAcceleratorVtbl;
  295. interface IAMVideoAccelerator
  296. {
  297. CONST_VTBL struct IAMVideoAcceleratorVtbl *lpVtbl;
  298. };
  299. #ifdef COBJMACROS
  300. #define IAMVideoAccelerator_QueryInterface(This,riid,ppvObject) \
  301. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  302. #define IAMVideoAccelerator_AddRef(This) \
  303. (This)->lpVtbl -> AddRef(This)
  304. #define IAMVideoAccelerator_Release(This) \
  305. (This)->lpVtbl -> Release(This)
  306. #define IAMVideoAccelerator_GetVideoAcceleratorGUIDs(This,pdwNumGuidsSupported,pGuidsSupported) \
  307. (This)->lpVtbl -> GetVideoAcceleratorGUIDs(This,pdwNumGuidsSupported,pGuidsSupported)
  308. #define IAMVideoAccelerator_GetUncompFormatsSupported(This,pGuid,pdwNumFormatsSupported,pFormatsSupported) \
  309. (This)->lpVtbl -> GetUncompFormatsSupported(This,pGuid,pdwNumFormatsSupported,pFormatsSupported)
  310. #define IAMVideoAccelerator_GetInternalMemInfo(This,pGuid,pamvaUncompDataInfo,pamvaInternalMemInfo) \
  311. (This)->lpVtbl -> GetInternalMemInfo(This,pGuid,pamvaUncompDataInfo,pamvaInternalMemInfo)
  312. #define IAMVideoAccelerator_GetCompBufferInfo(This,pGuid,pamvaUncompDataInfo,pdwNumTypesCompBuffers,pamvaCompBufferInfo) \
  313. (This)->lpVtbl -> GetCompBufferInfo(This,pGuid,pamvaUncompDataInfo,pdwNumTypesCompBuffers,pamvaCompBufferInfo)
  314. #define IAMVideoAccelerator_GetInternalCompBufferInfo(This,pdwNumTypesCompBuffers,pamvaCompBufferInfo) \
  315. (This)->lpVtbl -> GetInternalCompBufferInfo(This,pdwNumTypesCompBuffers,pamvaCompBufferInfo)
  316. #define IAMVideoAccelerator_BeginFrame(This,amvaBeginFrameInfo) \
  317. (This)->lpVtbl -> BeginFrame(This,amvaBeginFrameInfo)
  318. #define IAMVideoAccelerator_EndFrame(This,pEndFrameInfo) \
  319. (This)->lpVtbl -> EndFrame(This,pEndFrameInfo)
  320. #define IAMVideoAccelerator_GetBuffer(This,dwTypeIndex,dwBufferIndex,bReadOnly,ppBuffer,lpStride) \
  321. (This)->lpVtbl -> GetBuffer(This,dwTypeIndex,dwBufferIndex,bReadOnly,ppBuffer,lpStride)
  322. #define IAMVideoAccelerator_ReleaseBuffer(This,dwTypeIndex,dwBufferIndex) \
  323. (This)->lpVtbl -> ReleaseBuffer(This,dwTypeIndex,dwBufferIndex)
  324. #define IAMVideoAccelerator_Execute(This,dwFunction,lpPrivateInputData,cbPrivateInputData,lpPrivateOutputDat,cbPrivateOutputData,dwNumBuffers,pamvaBufferInfo) \
  325. (This)->lpVtbl -> Execute(This,dwFunction,lpPrivateInputData,cbPrivateInputData,lpPrivateOutputDat,cbPrivateOutputData,dwNumBuffers,pamvaBufferInfo)
  326. #define IAMVideoAccelerator_QueryRenderStatus(This,dwTypeIndex,dwBufferIndex,dwFlags) \
  327. (This)->lpVtbl -> QueryRenderStatus(This,dwTypeIndex,dwBufferIndex,dwFlags)
  328. #define IAMVideoAccelerator_DisplayFrame(This,dwFlipToIndex,pMediaSample) \
  329. (This)->lpVtbl -> DisplayFrame(This,dwFlipToIndex,pMediaSample)
  330. #endif /* COBJMACROS */
  331. #endif /* C style interface */
  332. HRESULT STDMETHODCALLTYPE IAMVideoAccelerator_GetVideoAcceleratorGUIDs_Proxy(
  333. IAMVideoAccelerator * This,
  334. /* [out][in] */ LPDWORD pdwNumGuidsSupported,
  335. /* [out][in] */ LPGUID pGuidsSupported);
  336. void __RPC_STUB IAMVideoAccelerator_GetVideoAcceleratorGUIDs_Stub(
  337. IRpcStubBuffer *This,
  338. IRpcChannelBuffer *_pRpcChannelBuffer,
  339. PRPC_MESSAGE _pRpcMessage,
  340. DWORD *_pdwStubPhase);
  341. HRESULT STDMETHODCALLTYPE IAMVideoAccelerator_GetUncompFormatsSupported_Proxy(
  342. IAMVideoAccelerator * This,
  343. /* [in] */ const GUID *pGuid,
  344. /* [out][in] */ LPDWORD pdwNumFormatsSupported,
  345. /* [out][in] */ LPDDPIXELFORMAT pFormatsSupported);
  346. void __RPC_STUB IAMVideoAccelerator_GetUncompFormatsSupported_Stub(
  347. IRpcStubBuffer *This,
  348. IRpcChannelBuffer *_pRpcChannelBuffer,
  349. PRPC_MESSAGE _pRpcMessage,
  350. DWORD *_pdwStubPhase);
  351. HRESULT STDMETHODCALLTYPE IAMVideoAccelerator_GetInternalMemInfo_Proxy(
  352. IAMVideoAccelerator * This,
  353. /* [in] */ const GUID *pGuid,
  354. /* [in] */ const AMVAUncompDataInfo *pamvaUncompDataInfo,
  355. /* [out][in] */ LPAMVAInternalMemInfo pamvaInternalMemInfo);
  356. void __RPC_STUB IAMVideoAccelerator_GetInternalMemInfo_Stub(
  357. IRpcStubBuffer *This,
  358. IRpcChannelBuffer *_pRpcChannelBuffer,
  359. PRPC_MESSAGE _pRpcMessage,
  360. DWORD *_pdwStubPhase);
  361. HRESULT STDMETHODCALLTYPE IAMVideoAccelerator_GetCompBufferInfo_Proxy(
  362. IAMVideoAccelerator * This,
  363. /* [in] */ const GUID *pGuid,
  364. /* [in] */ const AMVAUncompDataInfo *pamvaUncompDataInfo,
  365. /* [out][in] */ LPDWORD pdwNumTypesCompBuffers,
  366. /* [out] */ LPAMVACompBufferInfo pamvaCompBufferInfo);
  367. void __RPC_STUB IAMVideoAccelerator_GetCompBufferInfo_Stub(
  368. IRpcStubBuffer *This,
  369. IRpcChannelBuffer *_pRpcChannelBuffer,
  370. PRPC_MESSAGE _pRpcMessage,
  371. DWORD *_pdwStubPhase);
  372. HRESULT STDMETHODCALLTYPE IAMVideoAccelerator_GetInternalCompBufferInfo_Proxy(
  373. IAMVideoAccelerator * This,
  374. /* [out][in] */ LPDWORD pdwNumTypesCompBuffers,
  375. /* [out] */ LPAMVACompBufferInfo pamvaCompBufferInfo);
  376. void __RPC_STUB IAMVideoAccelerator_GetInternalCompBufferInfo_Stub(
  377. IRpcStubBuffer *This,
  378. IRpcChannelBuffer *_pRpcChannelBuffer,
  379. PRPC_MESSAGE _pRpcMessage,
  380. DWORD *_pdwStubPhase);
  381. HRESULT STDMETHODCALLTYPE IAMVideoAccelerator_BeginFrame_Proxy(
  382. IAMVideoAccelerator * This,
  383. /* [in] */ const AMVABeginFrameInfo *amvaBeginFrameInfo);
  384. void __RPC_STUB IAMVideoAccelerator_BeginFrame_Stub(
  385. IRpcStubBuffer *This,
  386. IRpcChannelBuffer *_pRpcChannelBuffer,
  387. PRPC_MESSAGE _pRpcMessage,
  388. DWORD *_pdwStubPhase);
  389. HRESULT STDMETHODCALLTYPE IAMVideoAccelerator_EndFrame_Proxy(
  390. IAMVideoAccelerator * This,
  391. /* [in] */ const AMVAEndFrameInfo *pEndFrameInfo);
  392. void __RPC_STUB IAMVideoAccelerator_EndFrame_Stub(
  393. IRpcStubBuffer *This,
  394. IRpcChannelBuffer *_pRpcChannelBuffer,
  395. PRPC_MESSAGE _pRpcMessage,
  396. DWORD *_pdwStubPhase);
  397. HRESULT STDMETHODCALLTYPE IAMVideoAccelerator_GetBuffer_Proxy(
  398. IAMVideoAccelerator * This,
  399. /* [in] */ DWORD dwTypeIndex,
  400. /* [in] */ DWORD dwBufferIndex,
  401. /* [in] */ BOOL bReadOnly,
  402. /* [out] */ LPVOID *ppBuffer,
  403. /* [out] */ LONG *lpStride);
  404. void __RPC_STUB IAMVideoAccelerator_GetBuffer_Stub(
  405. IRpcStubBuffer *This,
  406. IRpcChannelBuffer *_pRpcChannelBuffer,
  407. PRPC_MESSAGE _pRpcMessage,
  408. DWORD *_pdwStubPhase);
  409. HRESULT STDMETHODCALLTYPE IAMVideoAccelerator_ReleaseBuffer_Proxy(
  410. IAMVideoAccelerator * This,
  411. /* [in] */ DWORD dwTypeIndex,
  412. /* [in] */ DWORD dwBufferIndex);
  413. void __RPC_STUB IAMVideoAccelerator_ReleaseBuffer_Stub(
  414. IRpcStubBuffer *This,
  415. IRpcChannelBuffer *_pRpcChannelBuffer,
  416. PRPC_MESSAGE _pRpcMessage,
  417. DWORD *_pdwStubPhase);
  418. HRESULT STDMETHODCALLTYPE IAMVideoAccelerator_Execute_Proxy(
  419. IAMVideoAccelerator * This,
  420. /* [in] */ DWORD dwFunction,
  421. /* [in] */ LPVOID lpPrivateInputData,
  422. /* [in] */ DWORD cbPrivateInputData,
  423. /* [in] */ LPVOID lpPrivateOutputDat,
  424. /* [in] */ DWORD cbPrivateOutputData,
  425. /* [in] */ DWORD dwNumBuffers,
  426. /* [in] */ const AMVABUFFERINFO *pamvaBufferInfo);
  427. void __RPC_STUB IAMVideoAccelerator_Execute_Stub(
  428. IRpcStubBuffer *This,
  429. IRpcChannelBuffer *_pRpcChannelBuffer,
  430. PRPC_MESSAGE _pRpcMessage,
  431. DWORD *_pdwStubPhase);
  432. HRESULT STDMETHODCALLTYPE IAMVideoAccelerator_QueryRenderStatus_Proxy(
  433. IAMVideoAccelerator * This,
  434. /* [in] */ DWORD dwTypeIndex,
  435. /* [in] */ DWORD dwBufferIndex,
  436. /* [in] */ DWORD dwFlags);
  437. void __RPC_STUB IAMVideoAccelerator_QueryRenderStatus_Stub(
  438. IRpcStubBuffer *This,
  439. IRpcChannelBuffer *_pRpcChannelBuffer,
  440. PRPC_MESSAGE _pRpcMessage,
  441. DWORD *_pdwStubPhase);
  442. HRESULT STDMETHODCALLTYPE IAMVideoAccelerator_DisplayFrame_Proxy(
  443. IAMVideoAccelerator * This,
  444. /* [in] */ DWORD dwFlipToIndex,
  445. /* [in] */ IMediaSample *pMediaSample);
  446. void __RPC_STUB IAMVideoAccelerator_DisplayFrame_Stub(
  447. IRpcStubBuffer *This,
  448. IRpcChannelBuffer *_pRpcChannelBuffer,
  449. PRPC_MESSAGE _pRpcMessage,
  450. DWORD *_pdwStubPhase);
  451. #endif /* __IAMVideoAccelerator_INTERFACE_DEFINED__ */
  452. /* Additional Prototypes for ALL interfaces */
  453. /* end of Additional Prototypes */
  454. #ifdef __cplusplus
  455. }
  456. #endif
  457. #endif