libs: encoder: Enable trellis quantization method.
authorHe Junyan <junyan.he@hotmail.com>
Wed, 8 May 2019 15:39:20 +0000 (23:39 +0800)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 9 May 2019 05:54:09 +0000 (05:54 +0000)
commita1ae75b500b489c513758da81115888d8b80f538
tree5fd3581dc43c8591baac502fa2b4982675e3ea7b
parenta4e2db4c0bd1a81047c657e458cdbbf8cd2d6cd2
libs: encoder: Enable trellis quantization method.

The advanced trellis algorithm is supported in VA driver. We add
its support as a property named "trellis" of encoder.
It only works for H264 now, should be more in future.
gst-libs/gst/vaapi/gstvaapiencoder.c
gst-libs/gst/vaapi/gstvaapiencoder.h
gst-libs/gst/vaapi/gstvaapiencoder_h264.c
gst-libs/gst/vaapi/gstvaapiencoder_objects.h
gst-libs/gst/vaapi/gstvaapiencoder_priv.h