21 #ifndef AVCODEC_DECODE_H
22 #define AVCODEC_DECODE_H
This structure describes decoded (raw) audio or video data.
void(* post_process_opaque_free)(void *opaque)
void(* hwaccel_priv_free)(void *priv)
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
reference-counted frame API
typedef void(APIENTRY *FF_PFNGLACTIVETEXTUREPROC)(GLenum texture)
Libavcodec external API header.
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.