msdk: Add method to export dmabuf to VASurface
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Thu, 31 May 2018 00:22:49 +0000 (16:22 -0800)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Thu, 31 May 2018 00:22:49 +0000 (16:22 -0800)
commit62d2d8ebf91ae7f8554e67a15a1cc8a22f549a3c
tree1b9a5ef10929462ff4010e6985adde3020070d09
parent33c7af8845c9f53c21c0c3f8ca20e26b58346317
msdk: Add method to export dmabuf to VASurface

Exporting DRM_PRIME fd to VASurface requires direct
invocation of VA api VACreateSurface with
VASurfaceAttribExternalBufferDescriptor and other
necessary surface attributes.

https://bugzilla.gnome.org/show_bug.cgi?id=794817
sys/msdk/gstmsdkallocator_libva.c
sys/msdk/gstmsdkallocator_libva.h