]> git.sesse.net Git - ffmpeg/commit
vaapi_encode: Convert to send/receive API
authorMark Thompson <sw@jkqxz.net>
Thu, 20 Dec 2018 20:39:56 +0000 (20:39 +0000)
committerMark Thompson <sw@jkqxz.net>
Wed, 23 Jan 2019 23:04:11 +0000 (23:04 +0000)
commit5fdcf85bbffe7451c227478fda62da5c0938f27d
treee780fe3a5b8289e4c0cd8fe9700583452e8a06c0
parent26ce3a43a35fe3a43c895945252aa22c6b46ffb7
vaapi_encode: Convert to send/receive API

This attaches the logic of picking the mode of for the next picture to
the output, which simplifies some choices by removing the concept of
the picture for which input is not yet available.  At the same time,
we allow more complex reference structures and track more reference
metadata (particularly the contents of the DPB) for use in the
codec-specific code.

It also adds flags to explicitly track the available features of the
different codecs.  The new structure also allows open-GOP support, so
that is now available for codecs which can do it.
doc/encoders.texi
libavcodec/vaapi_encode.c
libavcodec/vaapi_encode.h
libavcodec/vaapi_encode_h264.c
libavcodec/vaapi_encode_h265.c
libavcodec/vaapi_encode_mjpeg.c
libavcodec/vaapi_encode_mpeg2.c
libavcodec/vaapi_encode_vp8.c
libavcodec/vaapi_encode_vp9.c