mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
Add header for system-dependent definitions.
This commit is contained in:
parent
a79c7f9fa6
commit
0fb1147d9c
38 changed files with 66 additions and 36 deletions
|
@ -87,6 +87,7 @@ libgstvaapi_source_priv_h = \
|
|||
gstvaapiutils_tsb.h \
|
||||
gstvaapivideobuffer_priv.h \
|
||||
gstvaapiworkarounds.h \
|
||||
sysdeps.h \
|
||||
$(libgst_vaapi_ffmpeg_source_priv_h) \
|
||||
$(NULL)
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "sysdeps.h"
|
||||
#include <string.h>
|
||||
#include <gst/vaapi/gstvaapicontext.h>
|
||||
#include "gstvaapicodec_objects.h"
|
||||
|
|
|
@ -25,7 +25,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 "gstvaapicompat.h"
|
||||
#include "gstvaapidecoder.h"
|
||||
#include "gstvaapidecoder_priv.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
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* @short_description: H.264 decoder
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "sysdeps.h"
|
||||
#include <string.h>
|
||||
#include <gst/base/gstadapter.h>
|
||||
#include <gst/codecparsers/gsth264parser.h>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* @short_description: MPEG-2 decoder
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "sysdeps.h"
|
||||
#include <string.h>
|
||||
#include <gst/base/gstbitreader.h>
|
||||
#include <gst/codecparsers/gstmpegvideoparser.h>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* @short_description: MPEG-4 decoder, include h263/divx/xvid support
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "sysdeps.h"
|
||||
#include <string.h>
|
||||
#include <gst/base/gstbitreader.h>
|
||||
#include <gst/codecparsers/gstmpeg4parser.h>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "sysdeps.h"
|
||||
#include <string.h>
|
||||
#include <gst/vaapi/gstvaapicontext.h>
|
||||
#include "gstvaapidecoder_objects.h"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* @short_description: VC-1 decoder
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "sysdeps.h"
|
||||
#include <string.h>
|
||||
#include <gst/codecparsers/gstvc1parser.h>
|
||||
#include "gstvaapidecoder_vc1.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
* @short_description: VA display abstraction
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "sysdeps.h"
|
||||
#include <string.h>
|
||||
#include "gstvaapiutils.h"
|
||||
#include "gstvaapidisplay.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
* @short_description: VA/GLX display abstraction
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "sysdeps.h"
|
||||
#include "gstvaapicompat.h"
|
||||
#include "gstvaapiutils.h"
|
||||
#include "gstvaapiutils_glx.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
* @short_description: VA/X11 display abstraction
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "sysdeps.h"
|
||||
#include <string.h>
|
||||
#include "gstvaapiutils.h"
|
||||
#include "gstvaapidisplay_priv.h"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "sysdeps.h"
|
||||
#include <glib.h>
|
||||
#include <string.h>
|
||||
#include "gstvaapidisplaycache.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"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*/
|
||||
|
||||
#define _GNU_SOURCE 1 /* RTLD_DEFAULT */
|
||||
#include "config.h"
|
||||
#include "sysdeps.h"
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <dlfcn.h>
|
||||
|
|
|
@ -20,7 +20,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 "gstvaapivideobuffer_priv.h"
|
||||
#include "gstvaapiimagepool.h"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* @short_description: VA video buffer for GStreamer with GLX support
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "sysdeps.h"
|
||||
#include "gstvaapivideobuffer_glx.h"
|
||||
#include "gstvaapivideobuffer_priv.h"
|
||||
#include "gstvaapivideoconverter_glx.h"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "sysdeps.h"
|
||||
#include <string.h>
|
||||
#include "gstvaapivideoconverter_glx.h"
|
||||
#include "gstvaapivideobuffer.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"
|
||||
|
|
29
gst-libs/gst/vaapi/sysdeps.h
Normal file
29
gst-libs/gst/vaapi/sysdeps.h
Normal file
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
* 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 */
|
Loading…
Reference in a new issue