msdk: supports bufferpool
authorHyunjun Ko <zzoon@igalia.com>
Tue, 13 Feb 2018 22:44:08 +0000 (13:44 -0900)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 13 Feb 2018 22:44:08 +0000 (13:44 -0900)
commit2542b2d34da53f44b259780acba19907aab3e04d
tree07b35594317cb42536ed575576f16e2699a56207
parent4d860ec82b7513e7b858b27f259098b4b6b31e3d
msdk: supports bufferpool

Implements 2 memory allocators:
1\ GstMsdkSystemAllocator: This will allocate system memory.
2\ GstMsdkVideoAllocator: This will allocate device memory depending
on the platform. (eg. VASurface)

Currently GstMsdkBufferPool uses video allocator currently by default
only on linux. On Windows, we should use system memory until d3d
allocator
is implemented.

https://bugzilla.gnome.org/show_bug.cgi?id=790752
sys/msdk/Makefile.am
sys/msdk/gstmsdkbufferpool.c [new file with mode: 0644]
sys/msdk/gstmsdkbufferpool.h [new file with mode: 0644]
sys/msdk/gstmsdksystemmemory.c [new file with mode: 0644]
sys/msdk/gstmsdksystemmemory.h [new file with mode: 0644]
sys/msdk/gstmsdkvideomemory.c [new file with mode: 0644]
sys/msdk/gstmsdkvideomemory.h [new file with mode: 0644]
sys/msdk/meson.build