gstvaapiprofile : Add VAEntrypointEncSliceLP definitions

This is for implementations that supports low_power/high_performance
variant for slice level encode.

https://bugzilla.gnome.org/show_bug.cgi?id=766050
This commit is contained in:
Sreerenj Balachandran 2016-05-11 11:59:59 +03:00
parent 7baacda91c
commit 7e4e597c6d
2 changed files with 7 additions and 1 deletions

View file

@ -154,6 +154,9 @@ static const GstVaapiEntrypointMap gst_vaapi_entrypoints[] = {
#if VA_CHECK_VERSION(0,30,0)
{GST_VAAPI_ENTRYPOINT_SLICE_ENCODE, VAEntrypointEncSlice},
{GST_VAAPI_ENTRYPOINT_PICTURE_ENCODE, VAEntrypointEncPicture},
#endif
#if VA_CHECK_VERSION(0,39,1)
{GST_VAAPI_ENTRYPOINT_SLICE_ENCODE_LP, VAEntrypointEncSliceLP},
#endif
{0,}
};

View file

@ -188,6 +188,8 @@ typedef enum {
* @GST_VAAPI_ENTRYPOINT_MOCO: Motion Compensation
* @GST_VAAPI_ENTRYPOINT_SLICE_ENCODE: Encode Slice
* @GST_VAAPI_ENTRYPOINT_PICTURE_ENCODE: Encode Picture
* @GST_VAAPI_ENTRYPOINT_SLICE_ENCODE_LP: Encode Slice low power/
* high performace varient
*
* The set of all entrypoints for #GstVaapiEntrypoint
*/
@ -196,7 +198,8 @@ typedef enum {
GST_VAAPI_ENTRYPOINT_IDCT,
GST_VAAPI_ENTRYPOINT_MOCO,
GST_VAAPI_ENTRYPOINT_SLICE_ENCODE,
GST_VAAPI_ENTRYPOINT_PICTURE_ENCODE
GST_VAAPI_ENTRYPOINT_PICTURE_ENCODE,
GST_VAAPI_ENTRYPOINT_SLICE_ENCODE_LP
} GstVaapiEntrypoint;
const gchar *