FFmpeg
|
Go to the source code of this file.
Functions | |
int | ff_encode_get_frame (AVCodecContext *avctx, AVFrame *frame) |
Called by encoders to get the next frame for encoding. More... | |
int | ff_get_encode_buffer (AVCodecContext *avctx, AVPacket *avpkt, int64_t size, int flags) |
Get a buffer for a packet. More... | |
int | ff_encode_preinit (AVCodecContext *avctx) |
int ff_encode_get_frame | ( | AVCodecContext * | avctx, |
AVFrame * | frame | ||
) |
Called by encoders to get the next frame for encoding.
frame | An empty frame to be filled with data. |
Definition at line 160 of file encode.c.
Referenced by eb_receive_packet(), encode_simple_internal(), ff_amf_receive_packet(), ff_nvenc_receive_packet(), ff_vaapi_encode_receive_packet(), librav1e_receive_packet(), mf_receive_packet(), and v4l2_receive_packet().
int ff_get_encode_buffer | ( | AVCodecContext * | avctx, |
AVPacket * | avpkt, | ||
int64_t | size, | ||
int | flags | ||
) |
Get a buffer for a packet.
This is a wrapper around AVCodecContext.get_encode_buffer() and should be used instead calling get_encode_buffer() directly.
Definition at line 82 of file encode.c.
Referenced by amf_copy_buffer(), librav1e_receive_packet(), mf_sample_to_avpacket(), process_output_surface(), and vaapi_encode_output().
int ff_encode_preinit | ( | AVCodecContext * | avctx | ) |
Definition at line 527 of file encode.c.
Referenced by avcodec_open2().