Add support for IYUV in vaCreateSurfaces()

Graphics / Video Acceleration / VA-API - Xiang, Haihao [intel.com] - 13 October 2016 03:40 UTC

Actually IYUV is indentical to I420. This fixes the failue reported by CreateSurfacesTest.SupportedPixelFormats in gtest

before:

[ FAILED ] CreateSurfacesTest.SupportedPixelFormats (0 ms) [----------] 1 test from CreateSurfacesTest (0 ms total)

[----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (2 ms total) [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] CreateSurfacesTest.SupportedPixelFormats

after:

[----------] 1 test from CreateSurfacesTest [ RUN ] CreateSurfacesTest.SupportedPixelFormats [ OK ] CreateSurfacesTest.SupportedPixelFormats (1 ms) [----------] 1 test from CreateSurfacesTest (1 ms total)

[----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (4 ms total) [ PASSED ] 1 test.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98033

7ef5135 Add support for IYUV in vaCreateSurfaces()
src/i965_drv_video.c | 1 +
1 file changed, 1 insertion(+)

Upstream: cgit.freedesktop.org


  • Share