vaapi_encode: Move quality option to common code
authorMark Thompson <sw@jkqxz.net>
Sun, 30 Apr 2017 18:27:54 +0000 (19:27 +0100)
committerMark Thompson <sw@jkqxz.net>
Sun, 20 Aug 2017 11:56:24 +0000 (12:56 +0100)
commit9c878651dbc8c795894740af74670b591551f619
treec0628af9daccaf2fcac85ba233f618eb78b8fc2a
parente7053f3316f53fc31d25384e3b6c89c96f8a5b20
vaapi_encode: Move quality option to common code

Use AVCodecContext.compression_level rather than a private option,
replacing the H.264-specific quality option (which stays only for
compatibility).

This now works with the H.265 encoder in the i965 driver, as well as
the existing cases with the H.264 encoder.

(cherry picked from commit 19388a7200e5d99c703271f05dba1c806720e808)
doc/encoders.texi
libavcodec/vaapi_encode.c
libavcodec/vaapi_encode.h
libavcodec/vaapi_encode_h264.c