|
FFmpeg
|
#include "mem.h"#include "buffer.h"#include "pixfmt.h"#include "pixdesc.h"#include "imgutils.h"#include "hwcontext.h"#include "hwcontext_amf.h"#include "hwcontext_internal.h"#include "hwcontext_amf_internal.h"#include "internal.h"#include "libavutil/thread.h"#include "libavutil/avassert.h"#include <AMF/core/Surface.h>#include <AMF/core/Trace.h>#include <dlfcn.h>Go to the source code of this file.
Data Structures | |
| struct | AMFDevicePriv |
| struct | AmfTraceWriter |
| struct | AMFFramesContext |
| We still need AVHWFramesContext to utilize our hardware memory otherwise, we will receive the error "HW format requires hw_frames_ctx to be non-NULL". More... | |
| struct | FormatMap |
Macros | |
| #define | FFMPEG_AMF_WRITER_ID L"ffmpeg_amf" |
Variables | |
| const FormatMap | format_map [] |
| static enum AVPixelFormat | supported_formats [] |
| static enum AVPixelFormat | supported_transfer_formats [] |
| const HWContextType | ff_hwcontext_type_amf |
| #define FFMPEG_AMF_WRITER_ID L"ffmpeg_amf" |
Definition at line 55 of file hwcontext_amf.c.
|
static |
Definition at line 64 of file hwcontext_amf.c.
Referenced by amf_device_init(), and amf_device_uninit().
|
static |
Definition at line 69 of file hwcontext_amf.c.
Referenced by amf_device_init().
|
static |
Definition at line 80 of file hwcontext_amf.c.
Referenced by amf_writer_alloc().
|
static |
Definition at line 87 of file hwcontext_amf.c.
Referenced by amf_writer_alloc().
|
static |
Definition at line 91 of file hwcontext_amf.c.
Referenced by amf_device_create().
|
static |
Definition at line 105 of file hwcontext_amf.c.
Referenced by amf_device_uninit().
| enum AMF_SURFACE_FORMAT av_av_to_amf_format | ( | enum AVPixelFormat | fmt | ) |
Definition at line 142 of file hwcontext_amf.c.
Referenced by amf_avframe_to_amfsurface(), amf_filter_config_output(), amf_filter_config_output(), amf_frc_filter_config_output(), amf_init_encoder(), amf_init_filter_config(), amf_transfer_data_to(), and amf_vqe_filter_config_output().
| enum AVPixelFormat av_amf_to_av_format | ( | enum AMF_SURFACE_FORMAT | fmt | ) |
Definition at line 153 of file hwcontext_amf.c.
Referenced by amf_amfsurface_to_avframe(), amf_capture_frame(), amf_config_props(), amf_decode_frame(), amf_decode_init(), and amf_map_frame().
| enum AMF_VIDEO_CONVERTER_COLOR_PROFILE_ENUM av_amf_get_color_profile | ( | enum AVColorRange | color_range, |
| enum AVColorSpace | color_space ) |
Definition at line 164 of file hwcontext_amf.c.
Referenced by amf_avframe_to_amfsurface(), amf_encode_init_av1(), amf_encode_init_h264(), amf_encode_init_hevc(), and amf_init_decoder().
| int av_amf_display_mastering_meta_to_hdrmeta | ( | const AVMasteringDisplayMetadata * | display_meta, |
| AMFHDRMetadata * | hdrmeta ) |
Definition at line 195 of file hwcontext_amf.c.
Referenced by amf_avframe_to_amfsurface(), amf_filter_config_output(), and av_amf_extract_hdr_metadata().
| int av_amf_light_metadata_to_hdrmeta | ( | const AVContentLightMetadata * | light_meta, |
| AMFHDRMetadata * | hdrmeta ) |
Definition at line 231 of file hwcontext_amf.c.
Referenced by amf_avframe_to_amfsurface(), amf_filter_config_output(), and av_amf_extract_hdr_metadata().
| int av_amf_extract_hdr_metadata | ( | const AVFrame * | frame, |
| AMFHDRMetadata * | hdrmeta ) |
Definition at line 242 of file hwcontext_amf.c.
Referenced by amf_avframe_to_amfsurface(), and amf_submit_frame().
| int av_amf_attach_hdr_metadata | ( | AVFrame * | frame, |
| const AMFHDRMetadata * | hdrmeta ) |
Definition at line 271 of file hwcontext_amf.c.
Referenced by amf_attach_hdr_metadata().
|
static |
Definition at line 353 of file hwcontext_amf.c.
|
static |
Definition at line 378 of file hwcontext_amf.c.
Referenced by amf_pool_alloc().
|
static |
Definition at line 383 of file hwcontext_amf.c.
Referenced by amf_frames_init().
|
static |
Definition at line 396 of file hwcontext_amf.c.
|
static |
Definition at line 418 of file hwcontext_amf.c.
|
static |
Definition at line 431 of file hwcontext_amf.c.
|
static |
Definition at line 449 of file hwcontext_amf.c.
|
static |
Definition at line 457 of file hwcontext_amf.c.
|
static |
Definition at line 502 of file hwcontext_amf.c.
|
static |
Definition at line 550 of file hwcontext_amf.c.
Referenced by amf_device_create().
| enum AMF_MEMORY_TYPE av_amf_get_memory_type | ( | AVAMFDeviceContext * | amf_ctx | ) |
Definition at line 591 of file hwcontext_amf.c.
Referenced by amf_device_init(), amf_filter_config_output(), amf_filter_config_output(), amf_frc_filter_config_output(), and amf_vqe_filter_config_output().
|
static |
Definition at line 645 of file hwcontext_amf.c.
|
static |
Definition at line 727 of file hwcontext_amf.c.
Referenced by amf_device_create().
|
static |
Definition at line 752 of file hwcontext_amf.c.
Referenced by amf_device_derive().
|
static |
Definition at line 1050 of file hwcontext_amf.c.
|
static |
Definition at line 1087 of file hwcontext_amf.c.
Referenced by amf_map_frame().
|
static |
Definition at line 1175 of file hwcontext_amf.c.
| const FormatMap format_map[] |
Definition at line 125 of file hwcontext_amf.c.
Referenced by av_amf_to_av_format(), av_av_to_amf_format(), and cairo_format_from_pix_fmt().
|
static |
Definition at line 322 of file hwcontext_amf.c.
|
static |
Definition at line 342 of file hwcontext_amf.c.
Referenced by amf_transfer_get_formats().
| const HWContextType ff_hwcontext_type_amf |
Definition at line 1250 of file hwcontext_amf.c.