mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
7c7f2bb6df
This allow allocating memory from any DRM driver that supports this method. It additionally allow exporting DMABuf. This allocator depends on libdrm and will be stubbed if the dependency is missing. This is derived from kmssink dumb allocator. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3801>
33 lines
1.1 KiB
C
33 lines
1.1 KiB
C
/* GStreamer
|
|
* Copyright (C) 2012 GStreamer developers
|
|
*
|
|
* allocators.h: single include header for gst-allocators library
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Library General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Library General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
* Boston, MA 02110-1301, USA.
|
|
*/
|
|
|
|
#ifndef __GST_ALLOCATORS_H__
|
|
#define __GST_ALLOCATORS_H__
|
|
|
|
#include <gst/allocators/allocators-prelude.h>
|
|
|
|
#include <gst/allocators/gstdmabuf.h>
|
|
#include <gst/allocators/gstfdmemory.h>
|
|
#include <gst/allocators/gstphysmemory.h>
|
|
#include <gst/allocators/gstdrmdumb.h>
|
|
|
|
#endif /* __GST_ALLOCATORS_H__ */
|
|
|