diff options
author | gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969> | 2010-03-24 16:25:56 +0000 |
---|---|---|
committer | gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969> | 2010-03-24 16:25:56 +0000 |
commit | 520f7ac5b68d4f2fbca47f8206133dc621bb97c3 (patch) | |
tree | 0d4a34b31e4705075403b801b040ba58c0e89078 /gst-libs/gst/vaapi | |
parent | 1727295d2c37b0508f74d98eef59bdadfd4ee26b (diff) |
Include gstvaapicompat.h in source files only, not headers.
Diffstat (limited to 'gst-libs/gst/vaapi')
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapiimage.c | 1 | ||||
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapiimageformat.c | 2 | ||||
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapiimageformat.h | 25 | ||||
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapiobject.c | 1 | ||||
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapisubpicture.c | 1 | ||||
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapiwindow_x11.c | 1 |
6 files changed, 14 insertions, 17 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiimage.c b/gst-libs/gst/vaapi/gstvaapiimage.c index e8752cd9..9413f5e0 100644 --- a/gst-libs/gst/vaapi/gstvaapiimage.c +++ b/gst-libs/gst/vaapi/gstvaapiimage.c @@ -25,6 +25,7 @@ #include "config.h" #include <string.h> +#include "gstvaapicompat.h" #include "gstvaapiutils.h" #include "gstvaapiimage.h" #include "gstvaapiobject_priv.h" diff --git a/gst-libs/gst/vaapi/gstvaapiimageformat.c b/gst-libs/gst/vaapi/gstvaapiimageformat.c index 45d2f75f..038c37d6 100644 --- a/gst-libs/gst/vaapi/gstvaapiimageformat.c +++ b/gst-libs/gst/vaapi/gstvaapiimageformat.c @@ -24,8 +24,8 @@ */ #include "config.h" -#include <glib.h> #include <gst/video/video.h> +#include "gstvaapicompat.h" #include "gstvaapiimageformat.h" typedef enum _GstVaapiImageFormatType GstVaapiImageFormatType; diff --git a/gst-libs/gst/vaapi/gstvaapiimageformat.h b/gst-libs/gst/vaapi/gstvaapiimageformat.h index 46b6aa6e..c4863594 100644 --- a/gst-libs/gst/vaapi/gstvaapiimageformat.h +++ b/gst-libs/gst/vaapi/gstvaapiimageformat.h @@ -21,14 +21,7 @@ #ifndef GST_VAAPI_IMAGE_FORMAT_H #define GST_VAAPI_IMAGE_FORMAT_H -#ifdef GST_VAAPI_USE_OLD_VAAPI_0_29 -# include <va.h> -# include <gst/vaapi/gstvaapicompat.h> -#else -# include <va/va.h> -#endif - -#include <glib/gtypes.h> +#include <gst/gstvalue.h> G_BEGIN_DECLS @@ -56,14 +49,14 @@ typedef enum _GstVaapiImageFormat GstVaapiImageFormat; * The set of all image formats for #GstVaapiImage. */ enum _GstVaapiImageFormat { - GST_VAAPI_IMAGE_NV12 = VA_FOURCC('N','V','1','2'), - GST_VAAPI_IMAGE_YV12 = VA_FOURCC('Y','V','1','2'), - GST_VAAPI_IMAGE_I420 = VA_FOURCC('I','4','2','0'), - GST_VAAPI_IMAGE_AYUV = VA_FOURCC('A','Y','U','V'), - GST_VAAPI_IMAGE_ARGB = VA_FOURCC('A','R','G','B'), - GST_VAAPI_IMAGE_RGBA = VA_FOURCC('R','G','B','A'), - GST_VAAPI_IMAGE_ABGR = VA_FOURCC('A','B','G','R'), - GST_VAAPI_IMAGE_BGRA = VA_FOURCC('B','G','R','A'), + GST_VAAPI_IMAGE_NV12 = GST_MAKE_FOURCC('N','V','1','2'), + GST_VAAPI_IMAGE_YV12 = GST_MAKE_FOURCC('Y','V','1','2'), + GST_VAAPI_IMAGE_I420 = GST_MAKE_FOURCC('I','4','2','0'), + GST_VAAPI_IMAGE_AYUV = GST_MAKE_FOURCC('A','Y','U','V'), + GST_VAAPI_IMAGE_ARGB = GST_MAKE_FOURCC('A','R','G','B'), + GST_VAAPI_IMAGE_RGBA = GST_MAKE_FOURCC('R','G','B','A'), + GST_VAAPI_IMAGE_ABGR = GST_MAKE_FOURCC('A','B','G','R'), + GST_VAAPI_IMAGE_BGRA = GST_MAKE_FOURCC('B','G','R','A'), }; gboolean diff --git a/gst-libs/gst/vaapi/gstvaapiobject.c b/gst-libs/gst/vaapi/gstvaapiobject.c index 32f82f1f..03a9db66 100644 --- a/gst-libs/gst/vaapi/gstvaapiobject.c +++ b/gst-libs/gst/vaapi/gstvaapiobject.c @@ -24,6 +24,7 @@ */ #include "config.h" +#include "gstvaapicompat.h" #include "gstvaapiobject.h" #include "gstvaapiobject_priv.h" #include "gstvaapiparamspecs.h" diff --git a/gst-libs/gst/vaapi/gstvaapisubpicture.c b/gst-libs/gst/vaapi/gstvaapisubpicture.c index 9f4948e3..7c922555 100644 --- a/gst-libs/gst/vaapi/gstvaapisubpicture.c +++ b/gst-libs/gst/vaapi/gstvaapisubpicture.c @@ -25,6 +25,7 @@ #include "config.h" #include <string.h> +#include "gstvaapicompat.h" #include "gstvaapiutils.h" #include "gstvaapisubpicture.h" #include "gstvaapiobject_priv.h" diff --git a/gst-libs/gst/vaapi/gstvaapiwindow_x11.c b/gst-libs/gst/vaapi/gstvaapiwindow_x11.c index 67457b25..ce15a630 100644 --- a/gst-libs/gst/vaapi/gstvaapiwindow_x11.c +++ b/gst-libs/gst/vaapi/gstvaapiwindow_x11.c @@ -26,6 +26,7 @@ #include "config.h" #include <string.h> #include <X11/Xatom.h> +#include "gstvaapicompat.h" #include "gstvaapiwindow_x11.h" #include "gstvaapidisplay_x11.h" #include "gstvaapiutils_x11.h" |