FFmpeg
|
#include "libavutil/hwcontext_amf.h"
#include "libavutil/hwcontext_amf_internal.h"
#include "amfdec.h"
#include "codec_internal.h"
#include "hwconfig.h"
#include "libavutil/imgutils.h"
#include "libavutil/mem.h"
#include "libavutil/time.h"
#include "decode.h"
#include "libavutil/mastering_display_metadata.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_decode_init (AVCodecContext *avctx) |
static AMF_RESULT | amf_get_property_buffer (AMFData *object, const wchar_t *name, AMFBuffer **val) |
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 int | amf_decode_frame (AVCodecContext *avctx, struct AVFrame *frame) |
static void | amf_decode_flush (AVCodecContext *avctx) |
Variables | |
enum AVPixelFormat | amf_dec_pix_fmts [] |
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 67 of file amfdec.c.
Referenced by amf_amfsurface_to_avframe().
|
static |
Definition at line 73 of file amfdec.c.
Referenced by amf_decode_init(), and amf_init_decoder().
|
static |
Color Range (Support for older Drivers)
Definition at line 82 of file amfdec.c.
Referenced by amf_decode_init().
|
static |
Definition at line 220 of file amfdec.c.
Referenced by amf_decode_init().
|
static |
Definition at line 236 of file amfdec.c.
Referenced by amf_decode_frame(), and amf_decode_init().
|
static |
|
static |
Definition at line 336 of file amfdec.c.
Referenced by amf_amfsurface_to_avframe().
|
static |
Definition at line 357 of file amfdec.c.
Referenced by amf_receive_frame().
|
static |
Definition at line 474 of file amfdec.c.
Referenced by amf_decode_frame().
|
static |
Definition at line 508 of file amfdec.c.
Referenced by amf_buffer_from_packet().
|
static |
Definition at line 522 of file amfdec.c.
Referenced by amf_decode_frame().
|
static |
|
static |
enum AVPixelFormat amf_dec_pix_fmts[] |
|
static |
|
static |