Skip to content

Commit 3820018

Browse files
committed
Add vdpau.h stub
1 parent 5db825f commit 3820018

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/* Stub for VDPAU types used by CUDA interop headers. */
2+
#ifndef THAPI_VDPAU_STUB_H
3+
#define THAPI_VDPAU_STUB_H
4+
5+
#include <stdint.h>
6+
7+
typedef int32_t VdpStatus;
8+
typedef uint32_t VdpFuncId;
9+
typedef uint32_t VdpDevice;
10+
typedef VdpStatus VdpGetProcAddress(VdpDevice device, VdpFuncId function_id,
11+
void **function_pointer);
12+
typedef uint32_t VdpVideoSurface;
13+
typedef uint32_t VdpOutputSurface;
14+
15+
#endif

0 commit comments

Comments
 (0)