[FFmpeg-devel] [PATCH 0/5] Initial usage of AVCodecContext.get_encode_buffer()
James Almer
jamrial at gmail.com
Sat Mar 13 02:15:33 EET 2021
For ffmpeg 4.4, as the last version featuring avcodec_encode_video2/audio2 and
since marking an encoder as AV_CODEC_CAP_DR1 capable will make it unusable with
that API, we should only port encoders using the AVCodec.receive_packet() API.
The rest can be ported after either ffmpeg 4.4 is branched out from master, or
the major version bumped and the old encode API removed.
James Almer (5):
avcodec/amfenc: use AVCodecContext.get_encode_buffer()
avcodec/librav1e: use AVCodecContext.get_encode_buffer()
avcodec/mfenc: use AVCodecContext.get_encode_buffer()
avcodec/nvenc: use AVCodecContext.get_encode_buffer()
avcodec/vaapi_encode: use AVCodecContext.get_encode_buffer()
libavcodec/amfenc.c | 2 +-
libavcodec/amfenc_h264.c | 3 ++-
libavcodec/amfenc_hevc.c | 3 ++-
libavcodec/librav1e.c | 5 +++--
libavcodec/mfenc.c | 5 +++--
libavcodec/nvenc.c | 2 +-
libavcodec/nvenc_h264.c | 2 +-
libavcodec/nvenc_hevc.c | 2 +-
libavcodec/vaapi_encode.c | 2 +-
libavcodec/vaapi_encode_h264.c | 3 ++-
libavcodec/vaapi_encode_h265.c | 3 ++-
libavcodec/vaapi_encode_mjpeg.c | 2 +-
libavcodec/vaapi_encode_mpeg2.c | 3 ++-
libavcodec/vaapi_encode_vp8.c | 3 ++-
libavcodec/vaapi_encode_vp9.c | 3 ++-
15 files changed, 26 insertions(+), 17 deletions(-)
--
2.30.2
More information about the ffmpeg-devel
mailing list