[Libva] [PATCH 0/2] intel-driver: add support for vaPutImage()

Gwenole Beauchesne gb.devel at gmail.com
Mon Sep 5 06:22:12 PDT 2011


Hi,

This patch series implements vaPutImage() on Intel Gen gfx. It's necessary for
GStreamer vaapiconvert functionality. i.e. upload YUV pixels to VA surfaces.
The second patch is specifically necessary for cases where there is no VA context
created for video decoding. That is, we use VA-API as a raw replacement to Xv.

Tested on CTG & SNB along with VA context created for decoding (mpeg2 or h264),
or without any VA context at all. i.e. test matrix is { CTG, SNB } x { no-VA context,
VA context + mpeg2 decoding first, VA context + h264 decoding first }.

Another test includes gst-launch videotestsrc ! vaapiconvert direct-rendering=0 ! vaapisink
on SNB. vaDeriveImage() needs to be fixed next.

Note: this does not allocate tiled surfaces on SNB.

Thanks,
Gwenole.

Gwenole Beauchesne (2):
  Add vaPutImage() implementation.
  Use VA surface format to determine interleaved_uv.

 src/i965_drv_video.c |  218 ++++++++++++++++++++++++++++++++++++++++++++++----
 src/i965_render.c    |   25 ++++---
 2 files changed, 217 insertions(+), 26 deletions(-)

-- 
1.7.4.1



More information about the Libva mailing list