vaapi_encode: Clean up the GOP structure configuration
authorMark Thompson <sw@jkqxz.net>
Tue, 18 Sep 2018 22:30:47 +0000 (23:30 +0100)
committerMark Thompson <sw@jkqxz.net>
Sun, 23 Sep 2018 13:42:33 +0000 (14:42 +0100)
commitbf726c26fde26601a90daacf1b10a9860d21321c
tree9ed0e2a816515ea53a488410333c86f18e522e1f
parent8479f99c7dd227d9cb94d262602f1298f71cf33b
vaapi_encode: Clean up the GOP structure configuration

Choose what types of reference frames will be used based on what types
are available, and make the intra-only mode explicit (GOP size one,
which must be used for MJPEG).
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