21 #ifndef AVCODEC_DECODE_H 22 #define AVCODEC_DECODE_H This structure describes decoded (raw) audio or video data.
void(* hwaccel_priv_free)(void *priv)
void * post_process_opaque
reference-counted frame API
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...
void(* post_process_opaque_free)(void *opaque)
Libavcodec external API header.
typedef void(RENAME(mix_any_func_type))
main external API structure.
void ff_decode_bsfs_uninit(AVCodecContext *avctx)
refcounted data buffer API
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.
This struct stores per-frame lavc-internal data and is attached to it via private_ref.
int ff_decode_get_hw_frames_ctx(AVCodecContext *avctx, enum AVHWDeviceType dev_type)
Make sure avctx.hw_frames_ctx is set.
void * hwaccel_priv
Per-frame private data for hwaccels.
This structure stores compressed data.