Commit 1a2f105e authored by Gwenole Beauchesne's avatar Gwenole Beauchesne

Add header for system-dependent definitions.

parent cffa72e3
......@@ -78,6 +78,7 @@ libgstvaapi_source_priv_h = \
gstvaapiobject_priv.h \
gstvaapiutils.h \
gstvaapiutils_gst.h \
sysdeps.h \
$(libgst_vaapi_ffmpeg_source_priv_h) \
$(NULL)
......
......@@ -24,7 +24,7 @@
* @short_description: VA context abstraction
*/
#include "config.h"
#include "sysdeps.h"
#include <assert.h>
#include "gstvaapicompat.h"
#include "gstvaapicontext.h"
......
......@@ -25,7 +25,7 @@
* @short_description: VA decoder abstraction
*/
#include "config.h"
#include "sysdeps.h"
#include <assert.h>
#include <string.h>
#include "gstvaapicompat.h"
......
......@@ -25,7 +25,7 @@
* @short_description: FFmpeg-based decoder
*/
#include "config.h"
#include "sysdeps.h"
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h>
#endif
......
......@@ -25,7 +25,7 @@
* @short_description: VA display abstraction
*/
#include "config.h"
#include "sysdeps.h"
#include "gstvaapiutils.h"
#include "gstvaapidisplay.h"
#include "gstvaapidisplay_priv.h"
......
......@@ -24,7 +24,7 @@
* @short_description: VA/GLX display abstraction
*/
#include "config.h"
#include "sysdeps.h"
#include "gstvaapicompat.h"
#include "gstvaapiutils.h"
#include "gstvaapiutils_glx.h"
......
......@@ -24,7 +24,7 @@
* @short_description: VA/X11 display abstraction
*/
#include "config.h"
#include "sysdeps.h"
#include "gstvaapiutils.h"
#include "gstvaapidisplay_priv.h"
#include "gstvaapidisplay_x11.h"
......
......@@ -25,7 +25,7 @@
* @short_description: VA image abstraction
*/
#include "config.h"
#include "sysdeps.h"
#include <string.h>
#include "gstvaapicompat.h"
#include "gstvaapiutils.h"
......
......@@ -25,7 +25,7 @@
* @short_description: VA image format abstraction
*/
#include "config.h"
#include "sysdeps.h"
#include <gst/video/video.h>
#include "gstvaapicompat.h"
#include "gstvaapiimageformat.h"
......
......@@ -24,7 +24,7 @@
* @short_description: VA image pool
*/
#include "config.h"
#include "sysdeps.h"
#include "gstvaapiimagepool.h"
#define DEBUG 1
......
......@@ -24,7 +24,7 @@
* @short_description: Base VA object
*/
#include "config.h"
#include "sysdeps.h"
#include "gstvaapiobject.h"
#include "gstvaapi_priv.h"
#include "gstvaapiparamspecs.h"
......
......@@ -24,7 +24,7 @@
* @short_description: GParamSpecs for some of our types
*/
#include "config.h"
#include "sysdeps.h"
#include "gstvaapiparamspecs.h"
#include "gstvaapivalue.h"
......
......@@ -24,7 +24,7 @@
* @short_description: VA profile abstraction
*/
#include "config.h"
#include "sysdeps.h"
#include <string.h>
#include <gst/gstbuffer.h>
#include "gstvaapicompat.h"
......
......@@ -25,7 +25,7 @@
* @short_description: VA subpicture abstraction
*/
#include "config.h"
#include "sysdeps.h"
#include <string.h>
#include "gstvaapicompat.h"
#include "gstvaapiutils.h"
......
......@@ -25,7 +25,7 @@
* @short_description: VA surface abstraction
*/
#include "config.h"
#include "sysdeps.h"
#include "gstvaapicompat.h"
#include "gstvaapiutils.h"
#include "gstvaapisurface.h"
......
......@@ -24,7 +24,7 @@
* @short_description: VA surface pool
*/
#include "config.h"
#include "sysdeps.h"
#include "gstvaapisurfacepool.h"
#define DEBUG 1
......
......@@ -25,7 +25,7 @@
* @short_description: VA surface proxy
*/
#include "config.h"
#include "sysdeps.h"
#include "gstvaapisurfaceproxy.h"
#include "gstvaapiobject_priv.h"
......
......@@ -24,7 +24,7 @@
* @short_description: VA/GLX texture abstraction
*/
#include "config.h"
#include "sysdeps.h"
#include "gstvaapitexture.h"
#include "gstvaapicompat.h"
#include "gstvaapiutils.h"
......
......@@ -20,7 +20,7 @@
* Boston, MA 02110-1301 USA
*/
#include "config.h"
#include "sysdeps.h"
#include "gstvaapicompat.h"
#include "gstvaapiutils.h"
#include "gstvaapisurface.h"
......
......@@ -20,7 +20,7 @@
*/
#define _GNU_SOURCE 1 /* RTLD_DEFAULT */
#include "config.h"
#include "sysdeps.h"
#include <string.h>
#include <math.h>
#include <dlfcn.h>
......
......@@ -19,7 +19,7 @@
* Boston, MA 02110-1301 USA
*/
#include "config.h"
#include "sysdeps.h"
#include <glib.h>
#include <X11/Xutil.h>
#include "gstvaapiutils_x11.h"
......
......@@ -24,7 +24,7 @@
* @short_description: GValue implementations specific to VA-API
*/
#include "config.h"
#include "sysdeps.h"
#include <gobject/gvaluecollector.h>
#include "gstvaapivalue.h"
......
......@@ -25,7 +25,7 @@
* @short_description: VA video buffer for GStreamer
*/
#include "config.h"
#include "sysdeps.h"
#include "gstvaapivideobuffer.h"
#include "gstvaapiimagepool.h"
#include "gstvaapisurfacepool.h"
......
......@@ -24,7 +24,7 @@
* @short_description: Video object pool abstraction
*/
#include "config.h"
#include "sysdeps.h"
#include "gstvaapivideopool.h"
#define DEBUG 1
......
......@@ -24,7 +24,7 @@
* @short_description: An interface for implementing VA-API sink elements
*/
#include "config.h"
#include "sysdeps.h"
#include "gstvaapivideosink.h"
static void
......
......@@ -25,7 +25,7 @@
* @short_description: VA window abstraction
*/
#include "config.h"
#include "sysdeps.h"
#include "gstvaapiwindow.h"
#include "gstvaapi_priv.h"
......
......@@ -24,7 +24,7 @@
* @short_description: VA/GLX window abstraction
*/
#include "config.h"
#include "sysdeps.h"
#include "gstvaapiwindow_glx.h"
#include "gstvaapidisplay_x11.h"
#include "gstvaapidisplay_x11_priv.h"
......
......@@ -24,7 +24,7 @@
* @short_description: VA/X11 window abstraction
*/
#include "config.h"
#include "sysdeps.h"
#include <string.h>
#include <X11/Xatom.h>
#include "gstvaapicompat.h"
......
/*
* sysdeps.h - System-dependent definitions
*
* Copyright (C) 2012 Intel Corporation
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1
* 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
#ifndef SYSDEPS_H
#define SYSDEPS_H
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#endif /* SYSDEPS_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment