libs: add support for rate-control to GstVaapiContext.
authorWind Yuan <feng.yuan@intel.com>
Fri, 12 Jul 2013 14:07:59 +0000 (22:07 +0800)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sun, 24 Nov 2013 15:45:35 +0000 (16:45 +0100)
commit02e174c8bc473c6c2fb8b6a5ecf288839537d27e
tree01ec03c4042476f119033cd9dc40c37392b5d34f
parent082fb3f1b4390aa1fc4c735e57b7ea1b0687b4a2
libs: add support for rate-control to GstVaapiContext.

Extend GstVaapiContextInfo structure to hold the desired rate control
mode for encoding purposes. For decoding purposes, this field is not
used and it is initialized to GST_VAAPI_RATECONTROL_NONE.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/vaapi/gstvaapicontext.c
gst-libs/gst/vaapi/gstvaapicontext.h