va: Set <gst/va/gstva.h> as library single point entry header.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 25 Mar 2022 14:56:01 +0000 (15:56 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 29 Mar 2022 19:48:30 +0000 (19:48 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2048>

30 files changed:
subprojects/gst-plugins-bad/gst-libs/gst/va/gstva.h
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvaallocator.h
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvadisplay.c
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvadisplay.h
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvadisplay_drm.c
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvadisplay_drm.h
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvadisplay_wrapped.h
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvapool.c
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvapool.h
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvasurfacecopy.h
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvautils.c
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvautils.h
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvavideoformat.h
subprojects/gst-plugins-bad/gst-libs/gst/va/va_fwd.h
subprojects/gst-plugins-bad/gst-libs/gst/va/vasurfaceimage.h
subprojects/gst-plugins-bad/sys/va/gstvaav1dec.c
subprojects/gst-plugins-bad/sys/va/gstvabasedec.c
subprojects/gst-plugins-bad/sys/va/gstvabasetransform.c
subprojects/gst-plugins-bad/sys/va/gstvacaps.c
subprojects/gst-plugins-bad/sys/va/gstvadecoder.c
subprojects/gst-plugins-bad/sys/va/gstvadeinterlace.c
subprojects/gst-plugins-bad/sys/va/gstvadisplay_priv.c
subprojects/gst-plugins-bad/sys/va/gstvadisplay_priv.h
subprojects/gst-plugins-bad/sys/va/gstvaencoder.c
subprojects/gst-plugins-bad/sys/va/gstvaencoder.h
subprojects/gst-plugins-bad/sys/va/gstvafilter.c
subprojects/gst-plugins-bad/sys/va/gstvah264enc.c
subprojects/gst-plugins-bad/sys/va/gstvavpp.c
subprojects/gst-plugins-bad/tests/examples/va/main.c
subprojects/gst-plugins-bad/tests/examples/va/multiple-vpp.c

index dc830ab..e9c08eb 100644 (file)
 #pragma message ("You can define GST_USE_UNSTABLE_API to avoid this warning.")
 #endif
 
+#include <gst/va/va-prelude.h>
 #include <gst/va/gstvadisplay.h>
 #include <gst/va/gstvadisplay_drm.h>
 #include <gst/va/gstvadisplay_wrapped.h>
+
+#include <gst/va/gstvaallocator.h>
+#include <gst/va/gstvapool.h>
+
 #include <gst/va/gstvautils.h>
+#include <gst/va/gstvavideoformat.h>
index a61b7c6..afd55a1 100644 (file)
 
 G_BEGIN_DECLS
 
-typedef struct _GstVaAllocator GstVaAllocator;
-typedef struct _GstVaAllocatorClass GstVaAllocatorClass;
-typedef struct _GstVaDmabufAllocator GstVaDmabufAllocator;
-typedef struct _GstVaDmabufAllocatorClass GstVaDmabufAllocatorClass;
-
 #define GST_TYPE_VA_DMABUF_ALLOCATOR (gst_va_dmabuf_allocator_get_type())
 #define GST_VA_DMABUF_ALLOCATOR(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_VA_DMABUF_ALLOCATOR, GstVaDmabufAllocator))
 #define GST_VA_DMABUF_ALLOCATOR_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_VA_DMABUF_ALLOCATOR, GstVaDmabufAllocatorClass))
index e448755..88f3569 100644 (file)
@@ -20,9 +20,9 @@
 
 #pragma once
 
-#include <gst/va/va_fwd.h>
-#include <gst/va/va-prelude.h>
 #include <gst/gst.h>
+#include <gst/va/gstva.h>
+#include <gst/va/va_fwd.h>
 
 G_BEGIN_DECLS
 
index 496e893..d14a1f6 100644 (file)
@@ -20,7 +20,8 @@
 
 #pragma once
 
-#include "gstvadisplay.h"
+#include <gst/va/gstva.h>
+#include <gst/va/va_fwd.h>
 
 G_BEGIN_DECLS
 
index fda830e..b394a1f 100644 (file)
@@ -23,7 +23,6 @@
 #endif
 
 #include "gstvapool.h"
-#include "gstvaallocator.h"
 
 GST_DEBUG_CATEGORY_STATIC (gst_va_pool_debug);
 #define GST_CAT_DEFAULT gst_va_pool_debug
index d38a6a0..5d0ae37 100644 (file)
 
 #pragma once
 
-#include <gst/va/va_fwd.h>
-#include <gst/va/va-prelude.h>
 #include <gst/gst.h>
+#include <gst/va/gstva.h>
+#include <gst/va/va_fwd.h>
 
 G_BEGIN_DECLS
 
-typedef struct _GstVaPool GstVaPool;
-typedef struct _GstVaPoolClass GstVaPoolClass;
-
 #define GST_TYPE_VA_POOL (gst_va_pool_get_type())
 #define GST_VA_POOL(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_VA_POOL, GstVaPool))
 #define GST_VA_POOL_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_VA_POOL, GstVaPoolClass))
index 624169a..0aaf13b 100644 (file)
@@ -21,6 +21,7 @@
 #pragma once
 
 #include <gst/va/gstva.h>
+#include <gst/va/va_fwd.h>
 #include <gst/video/video.h>
 #include <va/va.h>
 
index bc54f26..0478a52 100644 (file)
@@ -23,6 +23,7 @@
 #endif
 
 #include "gstvautils.h"
+
 #include <gst/va/gstvadisplay_drm.h>
 #include <gst/va/gstvadisplay_wrapped.h>
 
index 65de738..a36c2bf 100644 (file)
@@ -20,7 +20,9 @@
 
 #pragma once
 
-#include <gst/va/gstvadisplay.h>
+#include <gst/gst.h>
+#include <gst/va/gstva.h>
+#include <gst/va/va_fwd.h>
 
 G_BEGIN_DECLS
 
index a11bed3..bda88df 100644 (file)
@@ -20,8 +20,8 @@
 
 #pragma once
 
-#include <gst/va/va_fwd.h>
-#include <gst/va/va-prelude.h>
+#include <gst/gst.h>
+#include <gst/va/gstva.h>
 #include <gst/video/video.h>
 #include <va/va.h>
 
index 0b1b8cb..b159728 100644 (file)
@@ -32,4 +32,13 @@ 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
index 41af438..4a68ac1 100644 (file)
@@ -20,7 +20,7 @@
 
 #pragma once
 
-#include <gst/va/gstva.h>
+#include <gst/va/va_fwd.h>
 #include <gst/video/video.h>
 #include <va/va.h>
 #include <va/va_drmcommon.h>
index fd8300c..539251a 100644 (file)
@@ -43,7 +43,7 @@
 #include "config.h"
 #endif
 
-#include <gst/va/gstvaallocator.h>
+#include <gst/va/gstva.h>
 
 #include "gstvaav1dec.h"
 #include "gstvabasedec.h"
index f00ebf4..ccdcf13 100644 (file)
@@ -20,9 +20,7 @@
 
 #include "gstvabasedec.h"
 
-#include <gst/va/gstvaallocator.h>
-#include <gst/va/gstvapool.h>
-#include <gst/va/gstvavideoformat.h>
+#include <gst/va/gstva.h>
 
 #include "gstvacaps.h"
 
index 98435ec..68bdf1c 100644 (file)
@@ -24,8 +24,7 @@
 
 #include "gstvabasetransform.h"
 
-#include <gst/va/gstvaallocator.h>
-#include <gst/va/gstvapool.h>
+#include <gst/va/gstva.h>
 
 #include "gstvacaps.h"
 
index e56b007..40e9c79 100644 (file)
@@ -24,9 +24,6 @@
 
 #include "gstvacaps.h"
 
-#include <gst/allocators/allocators.h>
-#include <gst/va/gstvavideoformat.h>
-
 #include <va/va_drmcommon.h>
 
 #include "gstvadisplay_priv.h"
index 50f7e4c..8948dd3 100644 (file)
@@ -24,8 +24,7 @@
 
 #include "gstvadecoder.h"
 
-#include <gst/va/gstvaallocator.h>
-#include <gst/va/gstvavideoformat.h>
+#include <gst/va/gstva.h>
 
 #include "gstvacaps.h"
 #include "gstvadisplay_priv.h"
index ff2aad6..c7b7290 100644 (file)
@@ -51,8 +51,7 @@
 
 #include "gstvadeinterlace.h"
 
-#include <gst/va/gstvaallocator.h>
-#include <gst/va/gstvapool.h>
+#include <gst/va/gstva.h>
 #include <gst/video/video.h>
 #include <va/va_drmcommon.h>
 
index bb10e54..9a9ea68 100644 (file)
@@ -22,9 +22,8 @@
 #include "config.h"
 #endif
 
-#include <gst/va/gstvavideoformat.h>
-
 #include "gstvadisplay_priv.h"
+
 #include "gstvaprofile.h"
 
 GArray *
index 2f9200b..ac0fa6c 100644 (file)
@@ -20,7 +20,7 @@
 
 #pragma once
 
-#include <gst/va/gstvadisplay.h>
+#include <gst/va/gstva.h>
 #include <va/va.h>
 
 G_BEGIN_DECLS
index 55a7754..8067ff3 100644 (file)
 
 #include "gstvaencoder.h"
 
-#include <gst/va/gstvaallocator.h>
-#include <gst/va/gstvadisplay_wrapped.h>
-#include <gst/va/gstvapool.h>
-#include <gst/va/gstvavideoformat.h>
-
 #include "vacompat.h"
 #include "gstvacaps.h"
 #include "gstvadisplay_priv.h"
index 138bb10..3dd9a1a 100644 (file)
@@ -21,8 +21,8 @@
 
 #pragma once
 
+#include <gst/va/gstva.h>
 #include <gst/video/video.h>
-#include <gst/va/gstvadisplay.h>
 #include <va/va.h>
 
 G_BEGIN_DECLS
index 5979fd1..41eb229 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "gstvafilter.h"
 
-#include <gst/va/gstvaallocator.h>
-#include <gst/va/gstvavideoformat.h>
 #include <gst/video/video.h>
 #include <va/va_drmcommon.h>
 
index 124ba0f..69f3882 100644 (file)
 #include "gstvah264enc.h"
 
 #include <gst/codecparsers/gsth264bitwriter.h>
-#include <gst/va/gstvaallocator.h>
-#include <gst/va/gstvapool.h>
-#include <gst/va/gstvautils.h>
-#include <gst/va/gstvavideoformat.h>
+#include <gst/va/gstva.h>
 #include <gst/video/video.h>
 #include <va/va_drmcommon.h>
 
index 9ec189a..a47b25c 100644 (file)
@@ -62,9 +62,8 @@
 
 #include "gstvavpp.h"
 
+#include <gst/va/gstva.h>
 #include <gst/video/video.h>
-#include <gst/va/gstvaallocator.h>
-#include <gst/va/gstvapool.h>
 #include <va/va_drmcommon.h>
 
 #include "gstvabasetransform.h"
index 4f37243..19341e8 100644 (file)
 
 #include <gtk/gtk.h>
 
-#include <gst/gst.h>
 #include <gst/app/gstappsink.h>
-#include <gst/video/video.h>
+#include <gst/gst.h>
 #include <gst/va/gstva.h>
+#include <gst/video/video.h>
 
 #include <va/va_x11.h>
 
index 8c08c2b..b6c926a 100644 (file)
@@ -1,10 +1,10 @@
 #include <stdlib.h>
 
-#include <gst/gst.h>
-#include <gst/video/video.h>
-#include <gst/controller/gstinterpolationcontrolsource.h>
 #include <gst/controller/gstdirectcontrolbinding.h>
+#include <gst/controller/gstinterpolationcontrolsource.h>
+#include <gst/gst.h>
 #include <gst/va/gstva.h>
+#include <gst/video/video.h>
 
 #define CHANGE_DIR_WITH_EVENT 0