Index: third_party/libva/va/wayland/va_wayland_private.h |
diff --git a/third_party/libva/va/sysdeps.h b/third_party/libva/va/wayland/va_wayland_private.h |
similarity index 64% |
copy from third_party/libva/va/sysdeps.h |
copy to third_party/libva/va/wayland/va_wayland_private.h |
index 0752b17710bc2f474e9835d092fc7337bf799ed2..f09f4b7a28d00f61a9b8592f7027ea41262a178b 100644 |
--- a/third_party/libva/va/sysdeps.h |
+++ b/third_party/libva/va/wayland/va_wayland_private.h |
@@ -1,5 +1,7 @@ |
/* |
- * Copyright (c) 2007-2009 Intel Corporation. All Rights Reserved. |
+ * va_wayland_private.h - Wayland private API |
+ * |
+ * Copyright (c) 2012 Intel Corporation. All Rights Reserved. |
* |
* Permission is hereby granted, free of charge, to any person obtaining a |
* copy of this software and associated documentation files (the |
@@ -22,23 +24,21 @@ |
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
*/ |
-#ifndef SYSDEPS_H |
-#define SYSDEPS_H |
+#ifndef VA_WAYLAND_PRIVATE_H |
+#define VA_WAYLAND_PRIVATE_H |
+ |
+struct va_wayland_context; |
-#ifdef HAVE_CONFIG_H |
-# include "config.h" |
-#endif |
+typedef bool (*VADisplayContextCreateFunc)(VADisplayContextP pDisplayContext); |
+typedef void (*VADisplayContextDestroyFunc)(VADisplayContextP pDisplayContext); |
-#include <stdio.h> |
-#include <stdlib.h> |
-#include <string.h> |
-#include <stdint.h> |
-#include <assert.h> |
+/* VA/Wayland base display context */ |
+typedef struct va_wayland_context { |
+ VADisplayContextDestroyFunc destroy; |
+} VADisplayContextWayland, *VADisplayContextWaylandP; |
-#ifdef ANDROID |
-# define Bool int |
-# define True 1 |
-# define False 0 |
-#endif |
+DLL_HIDDEN |
+void |
+va_wayland_error(const char *format, ...); |
-#endif /* SYSDEPS_H */ |
+#endif /* VA_WAYLAND_PRIVATE_H */ |