123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- #ifndef AVUTIL_HWCONTEXT_D3D11VA_H
- #define AVUTIL_HWCONTEXT_D3D11VA_H
- #include <d3d11.h>
- #include <stdint.h>
- typedef struct AVD3D11VADeviceContext {
-
- ID3D11Device *device;
-
- ID3D11DeviceContext *device_context;
-
- ID3D11VideoDevice *video_device;
-
- ID3D11VideoContext *video_context;
-
- void (*lock)(void *lock_ctx);
- void (*unlock)(void *lock_ctx);
- void *lock_ctx;
- } AVD3D11VADeviceContext;
- typedef struct AVD3D11FrameDescriptor {
-
- ID3D11Texture2D *texture;
-
- intptr_t index;
- } AVD3D11FrameDescriptor;
- typedef struct AVD3D11VAFramesContext {
-
- ID3D11Texture2D *texture;
-
- UINT BindFlags;
-
- UINT MiscFlags;
- } AVD3D11VAFramesContext;
- #endif
|