12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- #ifndef AVCODEC_DECODE_H
- #define AVCODEC_DECODE_H
- #include "libavutil/buffer.h"
- #include "libavutil/frame.h"
- #include "libavutil/hwcontext.h"
- #include "avcodec.h"
- typedef struct FrameDecodeData {
-
- int (*post_process)(void *logctx, AVFrame *frame);
- void *post_process_opaque;
- void (*post_process_opaque_free)(void *opaque);
-
- void *hwaccel_priv;
- void (*hwaccel_priv_free)(void *priv);
- } FrameDecodeData;
- int ff_decode_get_packet(AVCodecContext *avctx, AVPacket *pkt);
- int ff_decode_frame_props(AVCodecContext *avctx, AVFrame *frame);
- int ff_decode_bsfs_init(AVCodecContext *avctx);
- int ff_decode_get_hw_frames_ctx(AVCodecContext *avctx,
- enum AVHWDeviceType dev_type);
- int ff_attach_decode_data(AVFrame *frame);
- #endif
|