summaryrefslogtreecommitdiffstats
path: root/docs/utilities.html
diff options
context:
space:
mode:
authorJulien Isorce <[email protected]>2015-10-30 11:42:46 +0000
committerChristian König <[email protected]>2015-10-30 13:19:54 +0100
commitadf11331186b1e63ed3cadbcea102ecdd18627e3 (patch)
treebf1e60d665eb60bd2c0db87d7d5f63f4691fd887 /docs/utilities.html
parentd42029d2d9bc6b65ccf847dc9ba2e70b496d0299 (diff)
st/va: implement VaCreateSurfaces2 and VaQuerySurfaceAttributes
Inspired from http://cgit.freedesktop.org/vaapi/intel-driver/ especially src/i965_drv_video.c::i965_CreateSurfaces2. This patch is mainly to support gstreamer-vaapi and tools that uses this newer libva API. The first advantage of using VaCreateSurfaces2 over existing VaCreateSurfaces, is that it is possible to select which the pixel format for the surface. Indeed with the simple VaCreateSurfaces function it is only possible to create a NV12 surface. It can be useful to create a RGBA surface to use with video post processing. The avaible pixel formats can be query with VaQuerySurfaceAttributes. Signed-off-by: Julien Isorce <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'docs/utilities.html')
0 files changed, 0 insertions, 0 deletions