summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vaapi/gstvaapiimage.c
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-07-26 12:57:19 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-07-26 13:16:52 +0200
commit2b0a4a03046ed3c71aeeee908b42ba5bd480fa9c (patch)
tree672a6af26fbaa6379c199d22a42580735dbb6e26 /gst-libs/gst/vaapi/gstvaapiimage.c
parente183ea12908465f1a05e68d5b9e4cd9a941880fb (diff)
image: clean image API up.
Don't expose functions that reference a GstVaapiImageRaw, those are meant to be internal only for implementing subpictures sync. Also add a few private definitions to avoid functions calls for retrieving image size and format information.
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapiimage.c')
-rw-r--r--gst-libs/gst/vaapi/gstvaapiimage.c32
1 files changed, 1 insertions, 31 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiimage.c b/gst-libs/gst/vaapi/gstvaapiimage.c
index 3ddf1240..49107ba9 100644
--- a/gst-libs/gst/vaapi/gstvaapiimage.c
+++ b/gst-libs/gst/vaapi/gstvaapiimage.c
@@ -30,42 +30,12 @@
#include "gstvaapicompat.h"
#include "gstvaapiutils.h"
#include "gstvaapiimage.h"
+#include "gstvaapiimage_priv.h"
#include "gstvaapiobject_priv.h"
#define DEBUG 1
#include "gstvaapidebug.h"
-typedef struct _GstVaapiImageClass GstVaapiImageClass;
-
-/**
- * GstVaapiImage:
- *
- * A VA image wrapper
- */
-struct _GstVaapiImage {
- /*< private >*/
- GstVaapiObject parent_instance;
-
- VAImage internal_image;
- VAImage image;
- guchar *image_data;
- GstVideoFormat internal_format;
- GstVideoFormat format;
- guint width;
- guint height;
- guint is_linear : 1;
-};
-
-/**
- * GstVaapiImageClass:
- *
- * A VA image wrapper class
- */
-struct _GstVaapiImageClass {
- /*< private >*/
- GstVaapiObjectClass parent_class;
-};
-
#define SWAP_UINT(a, b) do { \
guint v = a; \
a = b; \