Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(622)

Unified Diff: third_party/libva/va/wayland/va_wayland_private.h

Issue 62273006: Update libva headers to the latest release (1.2.1). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: remove two header files, fix comment style Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 */

Powered by Google App Engine
This is Rietveld 408576698