FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | AVCodecHWConfigInternal |
Macros | |
#define | HW_CONFIG_HWACCEL(device, frames, ad_hoc, format, device_type_, name) |
#define | HW_CONFIG_INTERNAL(format) |
#define | HWACCEL_DXVA2(codec) HW_CONFIG_HWACCEL(1, 1, 1, DXVA2_VLD, DXVA2, ff_ ## codec ## _dxva2_hwaccel) |
#define | HWACCEL_D3D11VA2(codec) HW_CONFIG_HWACCEL(1, 1, 0, D3D11, D3D11VA, ff_ ## codec ## _d3d11va2_hwaccel) |
#define | HWACCEL_NVDEC(codec) HW_CONFIG_HWACCEL(1, 1, 0, CUDA, CUDA, ff_ ## codec ## _nvdec_hwaccel) |
#define | HWACCEL_VAAPI(codec) HW_CONFIG_HWACCEL(1, 1, 1, VAAPI, VAAPI, ff_ ## codec ## _vaapi_hwaccel) |
#define | HWACCEL_VDPAU(codec) HW_CONFIG_HWACCEL(1, 1, 1, VDPAU, VDPAU, ff_ ## codec ## _vdpau_hwaccel) |
#define | HWACCEL_VIDEOTOOLBOX(codec) HW_CONFIG_HWACCEL(1, 1, 1, VIDEOTOOLBOX, VIDEOTOOLBOX, ff_ ## codec ## _videotoolbox_hwaccel) |
#define | HWACCEL_VULKAN(codec) HW_CONFIG_HWACCEL(1, 1, 1, VULKAN, VULKAN, ff_ ## codec ## _vulkan_hwaccel) |
#define | HWACCEL_D3D11VA(codec) HW_CONFIG_HWACCEL(0, 0, 1, D3D11VA_VLD, NONE, ff_ ## codec ## _d3d11va_hwaccel) |
#define | HW_CONFIG_ENCODER(device, frames, ad_hoc, format, device_type_) |
#define | HW_CONFIG_ENCODER_DEVICE(format, device_type_) HW_CONFIG_ENCODER(1, 0, 0, format, device_type_) |
#define | HW_CONFIG_ENCODER_FRAMES(format, device_type_) HW_CONFIG_ENCODER(0, 1, 0, format, device_type_) |
Functions | |
void | ff_hwaccel_uninit (AVCodecContext *avctx) |
Definition at line 42 of file hwconfig.h.
#define HW_CONFIG_INTERNAL | ( | format | ) |
Definition at line 54 of file hwconfig.h.
#define HWACCEL_DXVA2 | ( | codec | ) | HW_CONFIG_HWACCEL(1, 1, 1, DXVA2_VLD, DXVA2, ff_ ## codec ## _dxva2_hwaccel) |
Definition at line 64 of file hwconfig.h.
#define HWACCEL_D3D11VA2 | ( | codec | ) | HW_CONFIG_HWACCEL(1, 1, 0, D3D11, D3D11VA, ff_ ## codec ## _d3d11va2_hwaccel) |
Definition at line 66 of file hwconfig.h.
#define HWACCEL_NVDEC | ( | codec | ) | HW_CONFIG_HWACCEL(1, 1, 0, CUDA, CUDA, ff_ ## codec ## _nvdec_hwaccel) |
Definition at line 68 of file hwconfig.h.
#define HWACCEL_VAAPI | ( | codec | ) | HW_CONFIG_HWACCEL(1, 1, 1, VAAPI, VAAPI, ff_ ## codec ## _vaapi_hwaccel) |
Definition at line 70 of file hwconfig.h.
#define HWACCEL_VDPAU | ( | codec | ) | HW_CONFIG_HWACCEL(1, 1, 1, VDPAU, VDPAU, ff_ ## codec ## _vdpau_hwaccel) |
Definition at line 72 of file hwconfig.h.
#define HWACCEL_VIDEOTOOLBOX | ( | codec | ) | HW_CONFIG_HWACCEL(1, 1, 1, VIDEOTOOLBOX, VIDEOTOOLBOX, ff_ ## codec ## _videotoolbox_hwaccel) |
Definition at line 74 of file hwconfig.h.
#define HWACCEL_VULKAN | ( | codec | ) | HW_CONFIG_HWACCEL(1, 1, 1, VULKAN, VULKAN, ff_ ## codec ## _vulkan_hwaccel) |
Definition at line 76 of file hwconfig.h.
#define HWACCEL_D3D11VA | ( | codec | ) | HW_CONFIG_HWACCEL(0, 0, 1, D3D11VA_VLD, NONE, ff_ ## codec ## _d3d11va_hwaccel) |
Definition at line 78 of file hwconfig.h.
Definition at line 81 of file hwconfig.h.
#define HW_CONFIG_ENCODER_DEVICE | ( | format, | |
device_type_ | |||
) | HW_CONFIG_ENCODER(1, 0, 0, format, device_type_) |
Definition at line 93 of file hwconfig.h.
#define HW_CONFIG_ENCODER_FRAMES | ( | format, | |
device_type_ | |||
) | HW_CONFIG_ENCODER(0, 1, 0, format, device_type_) |
Definition at line 96 of file hwconfig.h.
void ff_hwaccel_uninit | ( | AVCodecContext * | avctx | ) |
Definition at line 1252 of file decode.c.
Referenced by avcodec_close(), ff_frame_thread_free(), ff_get_format(), and update_context_from_thread().