mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
va: Set <gst/va/gstva.h> as library single point entry header.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2048>
This commit is contained in:
parent
990fbb3b52
commit
400faf7361
30 changed files with 48 additions and 54 deletions
|
@ -25,7 +25,13 @@
|
|||
#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>
|
||||
|
|
|
@ -28,11 +28,6 @@
|
|||
|
||||
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))
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#endif
|
||||
|
||||
#include "gstvadisplay.h"
|
||||
|
||||
#include <va/va.h>
|
||||
|
||||
GST_DEBUG_CATEGORY (gst_va_display_debug);
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#endif
|
||||
|
||||
#include "gstvadisplay_drm.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "gstvadisplay.h"
|
||||
#include <gst/va/gstva.h>
|
||||
#include <gst/va/va_fwd.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "gstvadisplay.h"
|
||||
#include <gst/va/gstva.h>
|
||||
#include <gst/va/va_fwd.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -20,15 +20,12 @@
|
|||
|
||||
#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))
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#endif
|
||||
|
||||
#include "gstvautils.h"
|
||||
|
||||
#include <gst/va/gstvadisplay_drm.h>
|
||||
#include <gst/va/gstvadisplay_wrapped.h>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <gst/va/gstvaallocator.h>
|
||||
#include <gst/va/gstva.h>
|
||||
|
||||
#include "gstvaav1dec.h"
|
||||
#include "gstvabasedec.h"
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -22,9 +22,8 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <gst/va/gstvavideoformat.h>
|
||||
|
||||
#include "gstvadisplay_priv.h"
|
||||
|
||||
#include "gstvaprofile.h"
|
||||
|
||||
GArray *
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <gst/va/gstvadisplay.h>
|
||||
#include <gst/va/gstva.h>
|
||||
#include <va/va.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
|
|
@ -25,11 +25,6 @@
|
|||
|
||||
#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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -54,10 +54,7 @@
|
|||
#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>
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -11,10 +11,10 @@
|
|||
|
||||
#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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue