$(includedir)/gstreamer-$(GST_API_VERSION)/gst/vaapi
libgstvaapi_cflags = \
- -DGST_VAAPI_CORE \
+ -DIN_LIBGSTVAAPI \
+ -DIN_LIBGSTVAAPI_CORE \
-DGST_USE_UNSTABLE_API \
-I$(top_srcdir)/gst-libs \
-I$(top_builddir)/gst-libs \
gstvaapivideopool_priv.h \
gstvaapiwindow_priv.h \
gstvaapiworkarounds.h \
+ libgstvaapi_priv_check.h \
sysdeps.h \
$(NULL)
$(libgstvaapi_includedir)
libgstvaapi_drm_@GST_API_VERSION@_la_CFLAGS = \
+ -DIN_LIBGSTVAAPI \
-DGST_USE_UNSTABLE_API \
-I$(top_srcdir)/gst-libs \
$(GLIB_CFLAGS) \
$(libgstvaapi_includedir)
libgstvaapi_x11_@GST_API_VERSION@_la_CFLAGS = \
+ -DIN_LIBGSTVAAPI \
-DGST_USE_UNSTABLE_API \
-I$(top_srcdir)/gst-libs \
$(GLIB_CFLAGS) \
$(libgstvaapi_includedir)
libgstvaapi_glx_@GST_API_VERSION@_la_CFLAGS = \
+ -DIN_LIBGSTVAAPI \
-DGST_USE_UNSTABLE_API \
-I$(top_srcdir)/gst-libs \
$(GLIB_CFLAGS) \
$(libgstvaapi_includedir)
libgstvaapi_wayland_@GST_API_VERSION@_la_CFLAGS = \
+ -DIN_LIBGSTVAAPI \
-DGST_USE_UNSTABLE_API \
-I$(top_srcdir)/gst-libs \
$(GLIB_CFLAGS) \
#ifndef GST_VAAPI_DECODER_UNIT_H
#define GST_VAAPI_DECODER_UNIT_H
+#include "libgstvaapi_priv_check.h"
+
G_BEGIN_DECLS
typedef struct _GstVaapiDecoderUnit GstVaapiDecoderUnit;
}
/* Inline reference counting for core libgstvaapi library */
-#ifdef GST_VAAPI_CORE
+#ifdef IN_LIBGSTVAAPI_CORE
#define gst_vaapi_display_ref_internal(display) \
((gpointer)gst_vaapi_mini_object_ref(GST_VAAPI_MINI_OBJECT(display)))
#ifndef GSTVAAPIDISPLAYCACHE_H
#define GSTVAAPIDISPLAYCACHE_H
+#include "libgstvaapi_priv_check.h"
#include <gst/vaapi/gstvaapidisplay.h>
typedef struct _GstVaapiDisplayCache GstVaapiDisplayCache;
#define GST_VAAPI_MINI_OBJECT_H
#include <glib.h>
+#include "libgstvaapi_priv_check.h"
G_BEGIN_DECLS
GstVaapiDisplay *display);
/* Inline reference counting for core libgstvaapi library */
-#ifdef GST_VAAPI_CORE
+#ifdef IN_LIBGSTVAAPI_CORE
static inline gpointer
gst_vaapi_object_ref_internal(gpointer object)
{
GstVaapiDisplay *display, gpointer native_pixmap);
/* Inline reference counting for core libgstvaapi library */
-#ifdef GST_VAAPI_CORE
+#ifdef IN_LIBGSTVAAPI_CORE
#define gst_vaapi_pixmap_ref_internal(pixmap) \
((gpointer)gst_vaapi_mini_object_ref(GST_VAAPI_MINI_OBJECT(pixmap)))
#define GST_VAAPI_UTILS_H
#include "config.h"
+#include "libgstvaapi_priv_check.h"
#include <glib.h>
#include <va/va.h>
#define GST_VAAPI_UTILS_GLX_H
#include "config.h"
+#include "libgstvaapi_priv_check.h"
#include <GL/gl.h>
#include <GL/glext.h>
#include <GL/glx.h>
#define GST_VAAPI_UTILS_H264_PRIV_H
#include "gstvaapiutils_h264.h"
+#include "libgstvaapi_priv_check.h"
G_BEGIN_DECLS
#define GST_VAAPI_UTILS_MPEG2_PRIV_H
#include "gstvaapiutils_mpeg2.h"
+#include "libgstvaapi_priv_check.h"
G_BEGIN_DECLS
#define GST_VAAPI_UTILS_X11_H
#include "config.h"
+#include "libgstvaapi_priv_check.h"
#include <X11/Xlib.h>
#include <glib.h>
GstVaapiDisplay *display, gpointer native_window);
/* Inline reference counting for core libgstvaapi library */
-#ifdef GST_VAAPI_CORE
+#ifdef IN_LIBGSTVAAPI_CORE
#define gst_vaapi_window_ref_internal(window) \
((gpointer)gst_vaapi_mini_object_ref(GST_VAAPI_MINI_OBJECT(window)))