FFmpeg
4.0
|
#include "config.h"
#include <windows.h>
#include <initguid.h>
#include <d3d11.h>
#include <dxgi1_2.h>
#include "avassert.h"
#include "common.h"
#include "hwcontext.h"
#include "hwcontext_d3d11va.h"
#include "hwcontext_internal.h"
#include "imgutils.h"
#include "pixdesc.h"
#include "pixfmt.h"
#include "thread.h"
Go to the source code of this file.
Data Structures | |
struct | D3D11VAFramesContext |
Macros | |
#define | COBJMACROS |
Typedefs | |
typedef HRESULT(WINAPI * | PFN_CREATE_DXGI_FACTORY) (REFIID riid, void **ppFactory) |
Variables | |
static AVOnce | functions_loaded = AV_ONCE_INIT |
static PFN_CREATE_DXGI_FACTORY | mCreateDXGIFactory |
static PFN_D3D11_CREATE_DEVICE | mD3D11CreateDevice |
struct { | |
DXGI_FORMAT d3d_format | |
enum AVPixelFormat pix_fmt | |
} | supported_formats [] |
const HWContextType | ff_hwcontext_type_d3d11va |
#define COBJMACROS |
Definition at line 23 of file hwcontext_d3d11va.c.
Definition at line 43 of file hwcontext_d3d11va.c.
Definition at line 50 of file hwcontext_d3d11va.c.
Referenced by d3d11va_device_create().
Definition at line 92 of file hwcontext_d3d11va.c.
Referenced by d3d11va_device_init(), and d3d11va_device_uninit().
Definition at line 97 of file hwcontext_d3d11va.c.
Referenced by d3d11va_device_init().
|
static |
Definition at line 102 of file hwcontext_d3d11va.c.
|
static |
Definition at line 116 of file hwcontext_d3d11va.c.
Definition at line 148 of file hwcontext_d3d11va.c.
Referenced by wrap_texture_buf().
|
static |
Definition at line 154 of file hwcontext_d3d11va.c.
Referenced by d3d11va_alloc_single(), and d3d11va_pool_alloc().
|
static |
Definition at line 176 of file hwcontext_d3d11va.c.
Referenced by d3d11va_pool_alloc().
|
static |
Definition at line 204 of file hwcontext_d3d11va.c.
Referenced by d3d11va_frames_init().
|
static |
Definition at line 225 of file hwcontext_d3d11va.c.
|
static |
Definition at line 285 of file hwcontext_d3d11va.c.
|
static |
Definition at line 304 of file hwcontext_d3d11va.c.
|
static |
Definition at line 327 of file hwcontext_d3d11va.c.
Referenced by d3d11va_transfer_data().
|
static |
Definition at line 352 of file hwcontext_d3d11va.c.
Referenced by d3d11va_transfer_data().
|
static |
Definition at line 366 of file hwcontext_d3d11va.c.
|
static |
Definition at line 444 of file hwcontext_d3d11va.c.
|
static |
Definition at line 482 of file hwcontext_d3d11va.c.
|
static |
Definition at line 513 of file hwcontext_d3d11va.c.
|
static |
Definition at line 45 of file hwcontext_d3d11va.c.
Referenced by d3d11va_device_create().
|
static |
Definition at line 47 of file hwcontext_d3d11va.c.
Referenced by d3d11va_device_create(), and load_functions().
|
static |
Definition at line 48 of file hwcontext_d3d11va.c.
Referenced by d3d11va_device_create(), and load_functions().
DXGI_FORMAT d3d_format |
Definition at line 82 of file hwcontext_d3d11va.c.
Referenced by txd_decode_frame().
enum AVPixelFormat pix_fmt |
Definition at line 83 of file hwcontext_d3d11va.c.
const { ... } supported_formats[] |
Referenced by d3d11va_frames_get_constraints(), and d3d11va_frames_init().
const HWContextType ff_hwcontext_type_d3d11va |
Definition at line 595 of file hwcontext_d3d11va.c.