encoder: filter out the supported set of rate-control properties.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sun, 12 Jan 2014 17:52:14 +0000 (18:52 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 13 Jan 2014 16:31:55 +0000 (17:31 +0100)
commit850a637d0f21b750a37fe836f0dc123c4a826dd9
treee36d1656a911a20990b5a741cea8c3943b6ca7b1
parent59229b20a5965081a210296122efe34e71d9d79f
encoder: filter out the supported set of rate-control properties.

Only expose the exact static set of supported rate-control properties
to the upper layer. For instance, if the GstVaapiEncoderXXX class does
only support CQP rate control, then only add it the the exposed enum
type.

Add helper macros and functions to build a GType for an enum subset.
gst-libs/gst/vaapi/gstvaapiencoder.c
gst-libs/gst/vaapi/gstvaapiencoder_priv.h
gst-libs/gst/vaapi/gstvaapivalue.c
gst-libs/gst/vaapi/gstvaapivalue.h