vpp: expose BGRA surface formats on Ivybridge and Haswell

Graphics / Video Acceleration / VA-API - Gwenole Beauchesne [intel.com] - 9 September 2014 07:26 UTC

Allow for vaQuerySurfaceAttributes() to return BGRA and BGRX formats for VPP on Ivybridge and Haswell. This is supported as both source and target surface formats.

This fixes VA/EGL interop on Gen7 processors when a BGR[AX] surface is exported into an EGLImage.

8d20776 vpp: expose BGRA surface formats on Ivybridge and Haswell.
src/i965_drv_video.c | 12 ++++++++++++
1 file changed, 12 insertions(+)

Upstream: cgit.freedesktop.org


  • Share