va: Don't expose internal classes.

VA allocators and pools classes don't need to be exposed as external
symbols.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2070>
This commit is contained in:
Víctor Manuel Jáquez Leal 2022-03-30 07:03:59 +02:00
parent 630acb40f0
commit 602d249847
4 changed files with 9 additions and 10 deletions

View file

@ -236,6 +236,9 @@ gst_va_memory_pool_surface_inc (GstVaMemoryPool * self)
/*=========================== GstVaDmabufAllocator ===========================*/
typedef struct _GstVaDmabufAllocator GstVaDmabufAllocator;
typedef struct _GstVaDmabufAllocatorClass GstVaDmabufAllocatorClass;
struct _GstVaDmabufAllocator
{
GstDmaBufAllocator parent;
@ -914,6 +917,9 @@ gst_va_dmabuf_memories_setup (GstVaDisplay * display, GstVideoInfo * info,
/*===================== GstVaAllocator / GstVaMemory =========================*/
typedef struct _GstVaAllocator GstVaAllocator;
typedef struct _GstVaAllocatorClass GstVaAllocatorClass;
struct _GstVaAllocator
{
GstAllocator parent;

View file

@ -27,6 +27,9 @@
GST_DEBUG_CATEGORY_STATIC (gst_va_pool_debug);
#define GST_CAT_DEFAULT gst_va_pool_debug
typedef struct _GstVaPool GstVaPool;
typedef struct _GstVaPoolClass GstVaPoolClass;
struct _GstVaPool
{
GstBufferPool parent;

View file

@ -22,7 +22,6 @@
#include <gst/gst.h>
#include <gst/va/gstva.h>
#include <gst/va/va_fwd.h>
G_BEGIN_DECLS

View file

@ -32,13 +32,4 @@ typedef struct _GstVaDisplayDrmClass GstVaDisplayDrmClass;
typedef struct _GstVaDisplayWrapped GstVaDisplayWrapped;
typedef struct _GstVaDisplayWrappedClass GstVaDisplayWrappedClass;
typedef struct _GstVaAllocator GstVaAllocator;
typedef struct _GstVaAllocatorClass GstVaAllocatorClass;
typedef struct _GstVaDmabufAllocator GstVaDmabufAllocator;
typedef struct _GstVaDmabufAllocatorClass GstVaDmabufAllocatorClass;
typedef struct _GstVaPool GstVaPool;
typedef struct _GstVaPoolClass GstVaPoolClass;
G_END_DECLS