]> git.sesse.net Git - ffmpeg/commit
avcodec: add a get_encode_buffer() callback to AVCodecContext
authorJames Almer <jamrial@gmail.com>
Sat, 20 Feb 2021 19:01:52 +0000 (16:01 -0300)
committerJames Almer <jamrial@gmail.com>
Fri, 12 Mar 2021 22:49:08 +0000 (19:49 -0300)
commit6e7e3a3820f0888ff92d6be44f40ff733bcce874
treef057b934848eeb52d019213018b4fedaeafd61f6
parent2c96e6cb955af3062e78c5b0f9fb907cfb2e59e3
avcodec: add a get_encode_buffer() callback to AVCodecContext

This callback is functionally the same as get_buffer2() is for decoders, and
implements for the new encode API the functionality of the old encode API had
where the user could provide their own buffers.

Reviewed-by: Lynne <dev@lynne.ee>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: James Almer <jamrial@gmail.com>
doc/APIchanges
libavcodec/avcodec.h
libavcodec/codec.h
libavcodec/encode.c
libavcodec/encode.h
libavcodec/options.c
libavcodec/version.h