st/va: implement vlVa(Query|Create|Get|Put|Destroy)Image
authorLeo Liu <leo.liu@amd.com>
Thu, 18 Sep 2014 16:21:58 +0000 (12:21 -0400)
committerLeo Liu <leo.liu@amd.com>
Wed, 1 Oct 2014 17:21:36 +0000 (13:21 -0400)
commit4f7916ab4f8093fa33519dfa3d08e73b4d35ebe3
tree348e3538add5d9fb29376c57534c992d43498b41
parent7913c8943a1d1dd1b3f77f34bb4b0108a10a1d20
st/va: implement vlVa(Query|Create|Get|Put|Destroy)Image

This patch implements functions for images support,
which basically supports copy data between video
surface and user buffers, in this case supports
SW decode, and other video output

v2: fix buffer size for odd-sized image case
    expose I420 format as well
v3: fix YUV 4:2:2 format data buffer size
    cleanup I420 format  exposure

Signed-off-by: Leo Liu <leo.liu@amd.com>
src/gallium/state_trackers/va/context.c
src/gallium/state_trackers/va/image.c
src/gallium/state_trackers/va/va_private.h