mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
libs: display: add vpp color standard quirk for i965 driver
The i965 does not properly report supported vpp color standards.
This commit is contained in:
parent
7f61ad7938
commit
c42938fd53
2 changed files with 4 additions and 0 deletions
|
@ -787,6 +787,7 @@ set_driver_quirks (GstVaapiDisplay * display)
|
||||||
} vaapi_driver_quirks_table[] = {
|
} vaapi_driver_quirks_table[] = {
|
||||||
/* @XXX(victor): is this string enough to identify it */
|
/* @XXX(victor): is this string enough to identify it */
|
||||||
{ "AMD", GST_VAAPI_DRIVER_QUIRK_NO_CHECK_SURFACE_PUT_IMAGE },
|
{ "AMD", GST_VAAPI_DRIVER_QUIRK_NO_CHECK_SURFACE_PUT_IMAGE },
|
||||||
|
{ "i965", GST_VAAPI_DRIVER_QUIRK_NO_CHECK_VPP_COLOR_STD },
|
||||||
};
|
};
|
||||||
/* *INDENT-ON* */
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
|
|
|
@ -92,10 +92,13 @@ typedef struct _GstVaapiDisplay GstVaapiDisplay;
|
||||||
* @GST_VAAPI_DRIVER_QUIRK_NO_CHECK_SURFACE_PUT_IMAGE: if driver
|
* @GST_VAAPI_DRIVER_QUIRK_NO_CHECK_SURFACE_PUT_IMAGE: if driver
|
||||||
* crashes when try to put an image in a reused surface.
|
* crashes when try to put an image in a reused surface.
|
||||||
* https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2016
|
* https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2016
|
||||||
|
* @GST_VAAPI_DRIVER_QUIRK_NO_CHECK_VPP_COLOR_STD: if driver does not
|
||||||
|
* properly report supported vpp color standards.
|
||||||
*/
|
*/
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
GST_VAAPI_DRIVER_QUIRK_NO_CHECK_SURFACE_PUT_IMAGE = (1U << 0),
|
GST_VAAPI_DRIVER_QUIRK_NO_CHECK_SURFACE_PUT_IMAGE = (1U << 0),
|
||||||
|
GST_VAAPI_DRIVER_QUIRK_NO_CHECK_VPP_COLOR_STD = (1U << 1),
|
||||||
} GstVaapiDriverQuirks;
|
} GstVaapiDriverQuirks;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue