21 #ifndef AVCODEC_DECODE_H
22 #define AVCODEC_DECODE_H
Libavcodec external API header.
refcounted data buffer API
int ff_decode_preinit(AVCodecContext *avctx)
Perform decoder initialization and validation.
int ff_decode_frame_props(AVCodecContext *avctx, AVFrame *frame)
Set various frame properties from the codec context / packet data.
int ff_attach_decode_data(AVFrame *frame)
int ff_decode_get_packet(AVCodecContext *avctx, AVPacket *pkt)
Called by decoders to get the next packet for decoding.
int ff_decode_get_hw_frames_ctx(AVCodecContext *avctx, enum AVHWDeviceType dev_type)
Make sure avctx.hw_frames_ctx is set.
reference-counted frame API
typedef void(RENAME(mix_any_func_type))
main external API structure.
This structure describes decoded (raw) audio or video data.
This structure stores compressed data.
This struct stores per-frame lavc-internal data and is attached to it via private_ref.
void(* hwaccel_priv_free)(void *priv)
void(* post_process_opaque_free)(void *opaque)
void * post_process_opaque
void * hwaccel_priv
Per-frame private data for hwaccels.
int(* post_process)(void *logctx, AVFrame *frame)
The callback to perform some delayed processing on the frame right before it is returned to the calle...