FEI: libs: Add FEI Entrypoint mapping

Define the new mapping GST_VAAPI_ENTRYPOINT_SLICE_ENCODE_FEI
for VAEntrypointFEI.

https://bugzilla.gnome.org/show_bug.cgi?id=785712
https://bugzilla.gnome.org/show_bug.cgi?id=784667
This commit is contained in:
Sreerenj Balachandran 2017-08-09 13:02:24 -07:00 committed by Víctor Manuel Jáquez Leal
parent 1d287ef865
commit 6bbe79925c
3 changed files with 7 additions and 1 deletions

View file

@ -544,6 +544,7 @@ ensure_profiles (GstVaapiDisplay * display)
case GST_VAAPI_ENTRYPOINT_SLICE_ENCODE:
case GST_VAAPI_ENTRYPOINT_PICTURE_ENCODE:
case GST_VAAPI_ENTRYPOINT_SLICE_ENCODE_LP:
case GST_VAAPI_ENTRYPOINT_SLICE_ENCODE_FEI:
g_array_append_val (priv->encoders, config);
break;
}

View file

@ -159,6 +159,9 @@ static const GstVaapiEntrypointMap gst_vaapi_entrypoints[] = {
#endif
#if VA_CHECK_VERSION(0,39,1)
{GST_VAAPI_ENTRYPOINT_SLICE_ENCODE_LP, VAEntrypointEncSliceLP},
#endif
#if USE_H264_FEI_ENCODER
{GST_VAAPI_ENTRYPOINT_SLICE_ENCODE_FEI, VAEntrypointFEI},
#endif
{0,}
};

View file

@ -190,6 +190,7 @@ typedef enum {
* @GST_VAAPI_ENTRYPOINT_PICTURE_ENCODE: Encode Picture
* @GST_VAAPI_ENTRYPOINT_SLICE_ENCODE_LP: Encode Slice low power/
* high performace varient
* @GST_VAAPI_ENTRYPOINT_SLICE_ENCODE_FEI: FEI Encode
*
* The set of all entrypoints for #GstVaapiEntrypoint
*/
@ -199,7 +200,8 @@ typedef enum {
GST_VAAPI_ENTRYPOINT_MOCO,
GST_VAAPI_ENTRYPOINT_SLICE_ENCODE,
GST_VAAPI_ENTRYPOINT_PICTURE_ENCODE,
GST_VAAPI_ENTRYPOINT_SLICE_ENCODE_LP
GST_VAAPI_ENTRYPOINT_SLICE_ENCODE_LP,
GST_VAAPI_ENTRYPOINT_SLICE_ENCODE_FEI
} GstVaapiEntrypoint;
const gchar *