encoder: add bitrate API.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 6 Jan 2014 17:01:33 +0000 (18:01 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 13 Jan 2014 16:31:54 +0000 (17:31 +0100)
commit70b3600f115d737df876c6fab36319759b070000
tree207b35bf68bb64744d0d308518d9bfc1c92e4e4f
parenta24c52e4d0b3d0c168b30939aae406879c6c6a94
encoder: add bitrate API.

Add gst_vaapi_encoder_set_bitrate() interface to allow the user control
the bitrate for encoding. Currently, changing this parameter is only
valid before the first frame is encoded. Should the value be modified
afterwards, then GST_VAAPI_ENCODER_STATUS_ERROR_OPERATION_FAILED is
returned.

https://bugzilla.gnome.org/show_bug.cgi?id=719529
gst-libs/gst/vaapi/gstvaapiencoder.c
gst-libs/gst/vaapi/gstvaapiencoder.h
gst-libs/gst/vaapi/gstvaapiencoder_h264.c
gst-libs/gst/vaapi/gstvaapiencoder_h264_priv.h
gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c
gst-libs/gst/vaapi/gstvaapiencoder_mpeg2_priv.h
gst-libs/gst/vaapi/gstvaapiencoder_priv.h
gst/vaapi/gstvaapiencode.c
gst/vaapi/gstvaapiencode_h264.c
gst/vaapi/gstvaapiencode_mpeg2.c