Go to the source code of this file.
◆ OFFSET
◆ VD
◆ DECLARE_MEDIACODEC_VCLASS
#define DECLARE_MEDIACODEC_VCLASS |
( |
|
short_name | ) |
|
◆ DECLARE_MEDIACODEC_VDEC
#define DECLARE_MEDIACODEC_VDEC |
( |
|
short_name, |
|
|
|
full_name, |
|
|
|
codec_id, |
|
|
|
bsf |
|
) |
| |
Value:
AVCodec ff_##short_name##_mediacodec_decoder = { \
.name = #short_name "_mediacodec", \
.priv_class = &ff_##short_name##_mediacodec_dec_class, \
.bsfs = bsf, \
.wrapper_name = "mediacodec", \
}; \
Definition at line 518 of file mediacodecdec.c.
◆ mediacodec_decode_close()
◆ mediacodec_decode_init()
◆ mediacodec_receive_frame()
◆ mediacodec_decode_flush()
◆ mediacodec_hw_configs
◆ ff_mediacodec_vdec_options
const AVOption ff_mediacodec_vdec_options[] |
|
static |
Initial value:= {
{ "delay_flush", "Delay flush until hw output buffers are returned to the decoder",
}
Definition at line 504 of file mediacodecdec.c.
#define FF_CODEC_CAP_SETS_PKT_DTS
Decoders marked with FF_CODEC_CAP_SETS_PKT_DTS want to set AVFrame.pkt_dts manually.
static av_cold int init(AVCodecContext *avctx)
#define AV_CODEC_CAP_HARDWARE
Codec is backed by a hardware implementation.
@ AV_HWDEVICE_TYPE_MEDIACODEC
@ AV_PIX_FMT_MEDIACODEC
hardware decoding through MediaCodec
#define LIBAVUTIL_VERSION_INT
Describe the class of an AVClass context structure.
static void flush(AVCodecContext *avctx)
static CopyRet receive_frame(AVCodecContext *avctx, AVFrame *frame, int *got_frame)
@ AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX
The codec supports this format via the hw_device_ctx interface.
const char * av_default_item_name(void *ptr)
Return the context name.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
@ AV_CODEC_HW_CONFIG_METHOD_AD_HOC
The codec supports this format by some ad-hoc method.
#define AV_CODEC_CAP_AVOID_PROBING
Decoder is not a preferred choice for probing.