|
FFmpeg
|
#include "libavutil/hwcontext_amf.h"#include "libavutil/hwcontext_amf_internal.h"#include "libavutil/pixdesc.h"#include "amfdec.h"#include "codec_internal.h"#include "hwconfig.h"#include "libavutil/time.h"#include "decode.h"#include "decode_bsf.h"#include <dlfcn.h>Go to the source code of this file.
Macros | |
| #define | AMF_VIDEO_DECODER_OUTPUT_FORMAT L"OutputDecodeFormat" |
| #define | OFFSET(x) offsetof(AMFDecoderContext, x) |
| #define | VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
| #define | DEFINE_AMF_DECODER(x, X, bsf_name) |
Functions | |
| static void | amf_free_amfsurface (void *opaque, uint8_t *data) |
| static int | amf_legacy_driver_no_bitness_detect (AVAMFDeviceContext *amf_device_ctx) |
| static int | amf_init_decoder (AVCodecContext *avctx) |
| static int | amf_decode_close (AVCodecContext *avctx) |
| static int | amf_init_frames_context (AVCodecContext *avctx, int sw_format, int new_width, int new_height) |
| static int | amf_reinit_frames_context (AVCodecContext *avctx, int sw_format, int new_width, int new_height) |
| static int | amf_decode_init (AVCodecContext *avctx) |
| static int | amf_color_primaries_valid (enum AVColorPrimaries pri) |
| static int | amf_color_trc_valid (enum AVColorTransferCharacteristic trc) |
| static enum AVColorPrimaries | amf_to_av_primaries (enum AMF_COLOR_PRIMARIES_ENUM pri) |
| static enum AVColorTransferCharacteristic | amf_to_av_trc (enum AMF_COLOR_TRANSFER_CHARACTERISTIC_ENUM trc) |
| static enum AVColorRange | amf_to_av_range (enum AMF_COLOR_RANGE_ENUM range) |
| static enum AVColorSpace | amf_to_av_colorspace (enum AMF_VIDEO_CONVERTER_COLOR_PROFILE_ENUM profile) |
| static void | amf_read_surface_color (AVCodecContext *avctx, AMFSurface *surface, AVFrame *frame) |
| static AMF_RESULT | amf_get_property_buffer (AMFData *object, const wchar_t *name, AMFBuffer **val) |
| static int | amf_attach_hdr_metadata (AVCodecContext *avctx, AMFSurface *surface, AVFrame *frame) |
| static int | amf_amfsurface_to_avframe (AVCodecContext *avctx, AMFSurface *surface, AVFrame *frame) |
| static AMF_RESULT | amf_receive_frame (AVCodecContext *avctx, AVFrame *frame) |
| static AMF_RESULT | amf_update_buffer_properties (AVCodecContext *avctx, AMFBuffer *buffer, const AVPacket *pkt) |
| static AMF_RESULT | amf_buffer_from_packet (AVCodecContext *avctx, const AVPacket *pkt, AMFBuffer **buffer) |
| static void | amf_init_dimensions (AVCodecContext *avctx) |
| static int | amf_decode_frame (AVCodecContext *avctx, struct AVFrame *frame) |
| static void | amf_decode_flush (AVCodecContext *avctx) |
Variables | |
| static const AVCodecHWConfigInternal *const | amf_hw_configs [] |
| static const AVOption | options [] |
| static const AVClass | amf_decode_class |
| #define AMF_VIDEO_DECODER_OUTPUT_FORMAT L"OutputDecodeFormat" |
| #define OFFSET | ( | x | ) | offsetof(AMFDecoderContext, x) |
| #define VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
| #define DEFINE_AMF_DECODER | ( | x, | |
| X, | |||
| bsf_name | |||
| ) |
|
static |
Definition at line 58 of file amfdec.c.
Referenced by amf_amfsurface_to_avframe().
|
static |
Definition at line 64 of file amfdec.c.
Referenced by amf_decode_init(), and amf_init_decoder().
|
static |
Color Range (Support for older Drivers)
Definition at line 73 of file amfdec.c.
Referenced by amf_decode_init().
|
static |
Definition at line 197 of file amfdec.c.
Referenced by amf_decode_init().
|
static |
Definition at line 213 of file amfdec.c.
Referenced by amf_decode_init(), and amf_reinit_frames_context().
|
static |
Definition at line 243 of file amfdec.c.
Referenced by amf_decode_frame().
|
static |
|
static |
Definition at line 338 of file amfdec.c.
Referenced by amf_to_av_primaries().
|
static |
Definition at line 344 of file amfdec.c.
Referenced by amf_to_av_trc().
|
static |
Definition at line 350 of file amfdec.c.
Referenced by amf_read_surface_color().
|
static |
Definition at line 366 of file amfdec.c.
Referenced by amf_read_surface_color().
|
static |
Definition at line 382 of file amfdec.c.
Referenced by amf_read_surface_color().
|
static |
Definition at line 394 of file amfdec.c.
Referenced by amf_read_surface_color().
|
static |
Definition at line 411 of file amfdec.c.
Referenced by amf_amfsurface_to_avframe().
|
static |
Definition at line 454 of file amfdec.c.
Referenced by amf_attach_hdr_metadata().
|
static |
Definition at line 475 of file amfdec.c.
Referenced by amf_amfsurface_to_avframe().
|
static |
Definition at line 506 of file amfdec.c.
Referenced by amf_frc_filter_avframe(), and amf_receive_frame().
|
static |
Definition at line 580 of file amfdec.c.
Referenced by amf_decode_frame().
|
static |
Definition at line 614 of file amfdec.c.
Referenced by amf_buffer_from_packet().
|
static |
Definition at line 628 of file amfdec.c.
Referenced by amf_decode_frame().
|
static |
Definition at line 657 of file amfdec.c.
Referenced by amf_decode_frame().
|
static |
|
static |
|
static |
|
static |
1.8.17