|
FFmpeg
|
#include <windows.h>#include <d3d9.h>#include <dxva2api.h>#include <initguid.h>#include "avassert.h"#include "common.h"#include "hwcontext.h"#include "hwcontext_dxva2.h"#include "hwcontext_internal.h"#include "imgutils.h"#include "mem.h"#include "pixdesc.h"#include "pixfmt.h"#include "compat/w32dlfcn.h"Go to the source code of this file.
Data Structures | |
| struct | DXVA2Mapping |
| struct | DXVA2FramesContext |
| struct | DXVA2DevicePriv |
Macros | |
| #define | DXVA2API_USE_BITFIELDS |
| #define | COBJMACROS |
| #define | FF_D3DCREATE_FLAGS |
Typedefs | |
| typedef IDirect3D9 *WINAPI | pDirect3DCreate9(UINT) |
| typedef HRESULT WINAPI | pDirect3DCreate9Ex(UINT, IDirect3D9Ex **) |
| typedef HRESULT WINAPI | pCreateDeviceManager9(UINT *, IDirect3DDeviceManager9 **) |
Variables | ||
| static const D3DPRESENT_PARAMETERS | dxva2_present_params | |
| struct { | ||
| D3DFORMAT d3d_format | ||
| enum AVPixelFormat pix_fmt | ||
| } | supported_formats [] | |
| const HWContextType | ff_hwcontext_type_dxva2 | |
| #define DXVA2API_USE_BITFIELDS |
Definition at line 21 of file hwcontext_dxva2.c.
| #define COBJMACROS |
Definition at line 22 of file hwcontext_dxva2.c.
| #define FF_D3DCREATE_FLAGS |
Definition at line 43 of file hwcontext_dxva2.c.
Referenced by dxva2_device_create9(), and dxva2_device_create9ex().
| typedef IDirect3D9 *WINAPI pDirect3DCreate9(UINT) |
Definition at line 39 of file hwcontext_dxva2.c.
| typedef HRESULT WINAPI pDirect3DCreate9Ex(UINT, IDirect3D9Ex **) |
Definition at line 40 of file hwcontext_dxva2.c.
| typedef HRESULT WINAPI pCreateDeviceManager9(UINT *, IDirect3DDeviceManager9 **) |
Definition at line 41 of file hwcontext_dxva2.c.
| DEFINE_GUID | ( | video_decoder_service | , |
| 0xfc51a551 | , | ||
| 0xd5e7 | , | ||
| 0x11d9 | , | ||
| 0xaf | , | ||
| 0x55 | , | ||
| 0x00 | , | ||
| 0x05 | , | ||
| 0x4e | , | ||
| 0x43 | , | ||
| 0xff | , | ||
| 0x02 | ) |
| DEFINE_GUID | ( | video_processor_service | , |
| 0xfc51a552 | , | ||
| 0xd5e7 | , | ||
| 0x11d9 | , | ||
| 0xaf | , | ||
| 0x55 | , | ||
| 0x00 | , | ||
| 0x05 | , | ||
| 0x4e | , | ||
| 0x43 | , | ||
| 0xff | , | ||
| 0x02 | ) |
|
static |
Definition at line 109 of file hwcontext_dxva2.c.
|
static |
Definition at line 138 of file hwcontext_dxva2.c.
Referenced by dxva2_pool_alloc().
|
static |
Definition at line 145 of file hwcontext_dxva2.c.
Referenced by dxva2_init_pool().
|
static |
Definition at line 160 of file hwcontext_dxva2.c.
Referenced by dxva2_frames_init().
|
static |
Definition at line 228 of file hwcontext_dxva2.c.
|
static |
Definition at line 255 of file hwcontext_dxva2.c.
|
static |
Definition at line 269 of file hwcontext_dxva2.c.
|
static |
Definition at line 287 of file hwcontext_dxva2.c.
Referenced by dxva2_map_frame().
|
static |
Definition at line 294 of file hwcontext_dxva2.c.
Referenced by dxva2_map_from(), dxva2_transfer_data_from(), and dxva2_transfer_data_to().
|
static |
Definition at line 352 of file hwcontext_dxva2.c.
|
static |
Definition at line 378 of file hwcontext_dxva2.c.
|
static |
Definition at line 408 of file hwcontext_dxva2.c.
|
static |
Definition at line 428 of file hwcontext_dxva2.c.
Referenced by dxva2_device_create().
|
static |
Definition at line 454 of file hwcontext_dxva2.c.
Referenced by dxva2_device_create().
|
static |
Definition at line 487 of file hwcontext_dxva2.c.
Referenced by dxva2_device_create().
|
static |
Definition at line 526 of file hwcontext_dxva2.c.
|
static |
Definition at line 47 of file hwcontext_dxva2.c.
Referenced by dxva2_device_create9(), and dxva2_device_create9ex().
| D3DFORMAT d3d_format |
Definition at line 86 of file hwcontext_dxva2.c.
| enum AVPixelFormat pix_fmt |
Definition at line 87 of file hwcontext_dxva2.c.
| const struct { ... } supported_formats[] |
| const HWContextType ff_hwcontext_type_dxva2 |
Definition at line 595 of file hwcontext_dxva2.c.