|
FFmpeg
|
#include "libavutil/buffer.h"#include "libavutil/frame.h"#include "libavutil/hwcontext.h"#include "avcodec.h"Go to the source code of this file.
Data Structures | |
| struct | FrameDecodeData |
| This struct stores per-frame lavc-internal data and is attached to it via private_ref. More... | |
Functions | |
| int | ff_decode_get_packet (AVCodecContext *avctx, AVPacket *pkt) |
| Called by decoders to get the next packet for decoding. More... | |
| int | ff_decode_bsfs_init (AVCodecContext *avctx) |
| void | ff_decode_bsfs_uninit (AVCodecContext *avctx) |
| int | ff_decode_get_hw_frames_ctx (AVCodecContext *avctx, enum AVHWDeviceType dev_type) |
| Make sure avctx.hw_frames_ctx is set. More... | |
| 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.
| pkt | An empty packet to be filled with data. |
Definition at line 329 of file decode.c.
Referenced by binkaudio_receive_frame(), crystalhd_receive_frame(), cuvid_output_frame(), decode_simple_internal(), mediacodec_receive_frame(), and v4l2_receive_frame().
| int ff_decode_bsfs_init | ( | AVCodecContext * | avctx | ) |
Definition at line 185 of file decode.c.
Referenced by avcodec_open2().
| void ff_decode_bsfs_uninit | ( | AVCodecContext * | avctx | ) |
Definition at line 2007 of file decode.c.
Referenced by avcodec_close(), and ff_decode_bsfs_init().
| int ff_decode_get_hw_frames_ctx | ( | AVCodecContext * | avctx, |
| enum AVHWDeviceType | dev_type | ||
| ) |
Make sure avctx.hw_frames_ctx is set.
If it's not set, the function will try to allocate it from hw_device_ctx. If that is not possible, an error message is printed, and an error code is returned.
Definition at line 1177 of file decode.c.
Referenced by ff_dxva2_decode_init(), ff_nvdec_decode_init(), ff_vaapi_decode_init(), and ff_vdpau_common_init().
Definition at line 1836 of file decode.c.
Referenced by ff_videotoolbox_alloc_frame(), get_buffer_internal(), and wrapped_avframe_decode().
1.8.6