about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-09-10 22:09:14 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-09-10 22:09:14 +0200
commit1eb1bd6800cc28a4ed66d455b6467f1f060ff733 (patch)
treeec08b81c10daab059bb5f699c5aacd893c952cf4 /src
parentcda4af34037a3cb982d8e69bc03c94d32fe6dd6c (diff)
downloadbox64-1eb1bd6800cc28a4ed66d455b6467f1f060ff733.tar.gz
box64-1eb1bd6800cc28a4ed66d455b6467f1f060ff733.zip
Added empty wrapped libva and friends
Diffstat (limited to 'src')
-rwxr-xr-xsrc/library_list.h4
-rw-r--r--src/wrapped/generated/functions_list.txt4
-rw-r--r--src/wrapped/generated/wrappedlibvadefs.h8
-rw-r--r--src/wrapped/generated/wrappedlibvadrmdefs.h8
-rw-r--r--src/wrapped/generated/wrappedlibvadrmtypes.h17
-rw-r--r--src/wrapped/generated/wrappedlibvadrmundefs.h8
-rw-r--r--src/wrapped/generated/wrappedlibvatypes.h17
-rw-r--r--src/wrapped/generated/wrappedlibvaundefs.h8
-rw-r--r--src/wrapped/generated/wrappedlibvawaylanddefs.h8
-rw-r--r--src/wrapped/generated/wrappedlibvawaylandtypes.h17
-rw-r--r--src/wrapped/generated/wrappedlibvawaylandundefs.h8
-rw-r--r--src/wrapped/generated/wrappedlibvax11defs.h8
-rw-r--r--src/wrapped/generated/wrappedlibvax11types.h17
-rw-r--r--src/wrapped/generated/wrappedlibvax11undefs.h8
-rw-r--r--src/wrapped/wrappedlibva.c18
-rw-r--r--src/wrapped/wrappedlibva_private.h96
-rw-r--r--src/wrapped/wrappedlibvadrm.c18
-rw-r--r--src/wrapped/wrappedlibvadrm_private.h5
-rw-r--r--src/wrapped/wrappedlibvawayland.c18
-rw-r--r--src/wrapped/wrappedlibvawayland_private.h7
-rw-r--r--src/wrapped/wrappedlibvax11.c18
-rw-r--r--src/wrapped/wrappedlibvax11_private.h22
22 files changed, 342 insertions, 0 deletions
diff --git a/src/library_list.h b/src/library_list.h
index ef320ea1..02b3e40f 100755
--- a/src/library_list.h
+++ b/src/library_list.h
@@ -196,6 +196,10 @@ GO("libsoftokn3.so", softokn3)
 GO("libwayland-egl.so.1", waylandegl)
 GO("libwayland-client.so.0", waylandclient)
 GO("libwayland-cursor.so.0", waylandcursor)
+GO("libva.so.2", libva)
+GO("libva-drm.so.2", libvadrm)
+GO("libva-x11.so.2", libvax11)
+GO("libva-wayland.so.2", libvawayland)
 
 GO("ld-linux-x86-64.so.2", ldlinux)
 
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt
index da5fc8dc..3e63ad19 100644
--- a/src/wrapped/generated/functions_list.txt
+++ b/src/wrapped/generated/functions_list.txt
@@ -3383,6 +3383,10 @@ wrappedlibusb1:
 - iFpiiiiippp:
   - libusb_hotplug_register_callback
 wrappedlibuuid:
+wrappedlibva:
+wrappedlibvadrm:
+wrappedlibvawayland:
+wrappedlibvax11:
 wrappedlibvorbis:
 wrappedlibx11:
 - iFp:
diff --git a/src/wrapped/generated/wrappedlibvadefs.h b/src/wrapped/generated/wrappedlibvadefs.h
new file mode 100644
index 00000000..7311f981
--- /dev/null
+++ b/src/wrapped/generated/wrappedlibvadefs.h
@@ -0,0 +1,8 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.1.0.16) *
+ *******************************************************************/
+#ifndef __wrappedlibvaDEFS_H_
+#define __wrappedlibvaDEFS_H_
+
+
+#endif // __wrappedlibvaDEFS_H_
diff --git a/src/wrapped/generated/wrappedlibvadrmdefs.h b/src/wrapped/generated/wrappedlibvadrmdefs.h
new file mode 100644
index 00000000..3a0fb845
--- /dev/null
+++ b/src/wrapped/generated/wrappedlibvadrmdefs.h
@@ -0,0 +1,8 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.1.0.16) *
+ *******************************************************************/
+#ifndef __wrappedlibvadrmDEFS_H_
+#define __wrappedlibvadrmDEFS_H_
+
+
+#endif // __wrappedlibvadrmDEFS_H_
diff --git a/src/wrapped/generated/wrappedlibvadrmtypes.h b/src/wrapped/generated/wrappedlibvadrmtypes.h
new file mode 100644
index 00000000..3bc6b226
--- /dev/null
+++ b/src/wrapped/generated/wrappedlibvadrmtypes.h
@@ -0,0 +1,17 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.1.0.16) *
+ *******************************************************************/
+#ifndef __wrappedlibvadrmTYPES_H_
+#define __wrappedlibvadrmTYPES_H_
+
+#ifndef LIBNAME
+#error You should only #include this file inside a wrapped*.c file
+#endif
+#ifndef ADDED_FUNCTIONS
+#define ADDED_FUNCTIONS() 
+#endif
+
+
+#define SUPER() ADDED_FUNCTIONS()
+
+#endif // __wrappedlibvadrmTYPES_H_
diff --git a/src/wrapped/generated/wrappedlibvadrmundefs.h b/src/wrapped/generated/wrappedlibvadrmundefs.h
new file mode 100644
index 00000000..f72521e3
--- /dev/null
+++ b/src/wrapped/generated/wrappedlibvadrmundefs.h
@@ -0,0 +1,8 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.1.0.16) *
+ *******************************************************************/
+#ifndef __wrappedlibvadrmUNDEFS_H_
+#define __wrappedlibvadrmUNDEFS_H_
+
+
+#endif // __wrappedlibvadrmUNDEFS_H_
diff --git a/src/wrapped/generated/wrappedlibvatypes.h b/src/wrapped/generated/wrappedlibvatypes.h
new file mode 100644
index 00000000..f90db1c7
--- /dev/null
+++ b/src/wrapped/generated/wrappedlibvatypes.h
@@ -0,0 +1,17 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.1.0.16) *
+ *******************************************************************/
+#ifndef __wrappedlibvaTYPES_H_
+#define __wrappedlibvaTYPES_H_
+
+#ifndef LIBNAME
+#error You should only #include this file inside a wrapped*.c file
+#endif
+#ifndef ADDED_FUNCTIONS
+#define ADDED_FUNCTIONS() 
+#endif
+
+
+#define SUPER() ADDED_FUNCTIONS()
+
+#endif // __wrappedlibvaTYPES_H_
diff --git a/src/wrapped/generated/wrappedlibvaundefs.h b/src/wrapped/generated/wrappedlibvaundefs.h
new file mode 100644
index 00000000..7e8bdfd7
--- /dev/null
+++ b/src/wrapped/generated/wrappedlibvaundefs.h
@@ -0,0 +1,8 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.1.0.16) *
+ *******************************************************************/
+#ifndef __wrappedlibvaUNDEFS_H_
+#define __wrappedlibvaUNDEFS_H_
+
+
+#endif // __wrappedlibvaUNDEFS_H_
diff --git a/src/wrapped/generated/wrappedlibvawaylanddefs.h b/src/wrapped/generated/wrappedlibvawaylanddefs.h
new file mode 100644
index 00000000..0826b4b6
--- /dev/null
+++ b/src/wrapped/generated/wrappedlibvawaylanddefs.h
@@ -0,0 +1,8 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.1.0.16) *
+ *******************************************************************/
+#ifndef __wrappedlibvawaylandDEFS_H_
+#define __wrappedlibvawaylandDEFS_H_
+
+
+#endif // __wrappedlibvawaylandDEFS_H_
diff --git a/src/wrapped/generated/wrappedlibvawaylandtypes.h b/src/wrapped/generated/wrappedlibvawaylandtypes.h
new file mode 100644
index 00000000..d2df87e6
--- /dev/null
+++ b/src/wrapped/generated/wrappedlibvawaylandtypes.h
@@ -0,0 +1,17 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.1.0.16) *
+ *******************************************************************/
+#ifndef __wrappedlibvawaylandTYPES_H_
+#define __wrappedlibvawaylandTYPES_H_
+
+#ifndef LIBNAME
+#error You should only #include this file inside a wrapped*.c file
+#endif
+#ifndef ADDED_FUNCTIONS
+#define ADDED_FUNCTIONS() 
+#endif
+
+
+#define SUPER() ADDED_FUNCTIONS()
+
+#endif // __wrappedlibvawaylandTYPES_H_
diff --git a/src/wrapped/generated/wrappedlibvawaylandundefs.h b/src/wrapped/generated/wrappedlibvawaylandundefs.h
new file mode 100644
index 00000000..267f2637
--- /dev/null
+++ b/src/wrapped/generated/wrappedlibvawaylandundefs.h
@@ -0,0 +1,8 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.1.0.16) *
+ *******************************************************************/
+#ifndef __wrappedlibvawaylandUNDEFS_H_
+#define __wrappedlibvawaylandUNDEFS_H_
+
+
+#endif // __wrappedlibvawaylandUNDEFS_H_
diff --git a/src/wrapped/generated/wrappedlibvax11defs.h b/src/wrapped/generated/wrappedlibvax11defs.h
new file mode 100644
index 00000000..15f1dc5e
--- /dev/null
+++ b/src/wrapped/generated/wrappedlibvax11defs.h
@@ -0,0 +1,8 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.1.0.16) *
+ *******************************************************************/
+#ifndef __wrappedlibvax11DEFS_H_
+#define __wrappedlibvax11DEFS_H_
+
+
+#endif // __wrappedlibvax11DEFS_H_
diff --git a/src/wrapped/generated/wrappedlibvax11types.h b/src/wrapped/generated/wrappedlibvax11types.h
new file mode 100644
index 00000000..7d8d9086
--- /dev/null
+++ b/src/wrapped/generated/wrappedlibvax11types.h
@@ -0,0 +1,17 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.1.0.16) *
+ *******************************************************************/
+#ifndef __wrappedlibvax11TYPES_H_
+#define __wrappedlibvax11TYPES_H_
+
+#ifndef LIBNAME
+#error You should only #include this file inside a wrapped*.c file
+#endif
+#ifndef ADDED_FUNCTIONS
+#define ADDED_FUNCTIONS() 
+#endif
+
+
+#define SUPER() ADDED_FUNCTIONS()
+
+#endif // __wrappedlibvax11TYPES_H_
diff --git a/src/wrapped/generated/wrappedlibvax11undefs.h b/src/wrapped/generated/wrappedlibvax11undefs.h
new file mode 100644
index 00000000..914c2966
--- /dev/null
+++ b/src/wrapped/generated/wrappedlibvax11undefs.h
@@ -0,0 +1,8 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.1.0.16) *
+ *******************************************************************/
+#ifndef __wrappedlibvax11UNDEFS_H_
+#define __wrappedlibvax11UNDEFS_H_
+
+
+#endif // __wrappedlibvax11UNDEFS_H_
diff --git a/src/wrapped/wrappedlibva.c b/src/wrapped/wrappedlibva.c
new file mode 100644
index 00000000..2900057b
--- /dev/null
+++ b/src/wrapped/wrappedlibva.c
@@ -0,0 +1,18 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#define _GNU_SOURCE         /* See feature_test_macros(7) */
+#include <dlfcn.h>
+
+#include "wrappedlibs.h"
+
+#include "wrapper.h"
+#include "bridge.h"
+#include "librarian/library_private.h"
+#include "x64emu.h"
+
+const char* libvaName = "libva.so.2";
+#define LIBNAME libva
+
+#include "wrappedlib_init.h"
+
diff --git a/src/wrapped/wrappedlibva_private.h b/src/wrapped/wrappedlibva_private.h
new file mode 100644
index 00000000..727dd017
--- /dev/null
+++ b/src/wrapped/wrappedlibva_private.h
@@ -0,0 +1,96 @@
+#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
+#error meh!
+#endif
+
+//GO(vaAcquireBufferHandle, 
+//GO(vaAssociateSubpicture, 
+//GO(vaAttachProtectedSession, 
+//GO(vaBeginPicture, 
+//GO(vaBufferInfo, 
+//GO(vaBufferSetNumElements, 
+//GO(vaBufferTypeStr, 
+//GO(vaConfigAttribTypeStr, 
+//GO(vaCopy, 
+//GO(vaCreateBuffer, 
+//GO(vaCreateBuffer2, 
+//GO(vaCreateConfig, 
+//GO(vaCreateContext, 
+//GO(vaCreateImage, 
+//GO(vaCreateMFContext, 
+//GO(vaCreateProtectedSession, 
+//GO(vaCreateSubpicture, 
+//GO(vaCreateSurfaces@VA_API_0.32.0, 
+//GO(vaCreateSurfaces@@VA_API_0.33.0, 
+//GO(vaDeassociateSubpicture, 
+//GO(vaDeriveImage, 
+//GO(vaDestroyBuffer, 
+//GO(vaDestroyConfig, 
+//GO(vaDestroyContext, 
+//GO(vaDestroyImage, 
+//GO(vaDestroyProtectedSession, 
+//GO(vaDestroySubpicture, 
+//GO(vaDestroySurfaces, 
+//GO(vaDetachProtectedSession, 
+//GO(vaDisplayIsValid, 
+//GO(vaEndPicture, 
+//GO(vaEntrypointStr, 
+//GO(va_errorMessage, 
+//GO(vaErrorStr, 
+//GO(vaExportSurfaceHandle, 
+//GO(vaGetConfigAttributes, 
+//GO(vaGetDisplayAttributes, 
+//GO(vaGetImage, 
+//GO(vaGetLibFunc, 
+//GO(va_infoMessage, 
+//GO(vaInitialize, 
+//GO(vaLockSurface, 
+//GO(vaMapBuffer, 
+//GO(vaMaxNumConfigAttributes, 
+//GO(vaMaxNumDisplayAttributes, 
+//GO(vaMaxNumEntrypoints, 
+//GO(vaMaxNumImageFormats, 
+//GO(vaMaxNumProfiles, 
+//GO(vaMaxNumSubpictureFormats, 
+//GO(vaMFAddContext, 
+//GO(vaMFReleaseContext, 
+//GO(vaMFSubmit, 
+//GO(va_newDisplayContext, 
+//GO(va_newDriverContext, 
+//GO(va_parseConfig, 
+//GO(vaProfileStr, 
+//GO(vaProtectedSessionExecute, 
+//GO(vaPutImage, 
+//GO(vaQueryConfigAttributes, 
+//GO(vaQueryConfigEntrypoints, 
+//GO(vaQueryConfigProfiles, 
+//GO(vaQueryDisplayAttributes, 
+//GO(vaQueryImageFormats, 
+//GO(vaQueryProcessingRate, 
+//GO(vaQuerySubpictureFormats, 
+//GO(vaQuerySurfaceAttributes, 
+//GO(vaQuerySurfaceError, 
+//GO(vaQuerySurfaceStatus, 
+//GO(vaQueryVendorString, 
+//GO(vaQueryVideoProcFilterCaps, 
+//GO(vaQueryVideoProcFilters, 
+//GO(vaQueryVideoProcPipelineCaps, 
+//GO(vaReleaseBufferHandle, 
+//GO(vaRenderPicture, 
+//GO(vaSetDisplayAttributes, 
+//GO(vaSetDriverName, 
+//GO(vaSetErrorCallback, 
+//GO(vaSetImagePalette, 
+//GO(vaSetInfoCallback, 
+//GO(vaSetSubpictureChromakey, 
+//GO(vaSetSubpictureGlobalAlpha, 
+//GO(vaSetSubpictureImage, 
+//GO(vaStatusStr, 
+//GO(vaSyncBuffer, 
+//GO(vaSyncSurface, 
+//GO(vaSyncSurface2, 
+//GO(vaTerminate, 
+//DATAB(va_trace_flag, 
+//GO(va_TracePutSurface, 
+//GO(va_TraceStatus, 
+//GO(vaUnlockSurface, 
+//GO(vaUnmapBuffer, 
diff --git a/src/wrapped/wrappedlibvadrm.c b/src/wrapped/wrappedlibvadrm.c
new file mode 100644
index 00000000..f78b88e4
--- /dev/null
+++ b/src/wrapped/wrappedlibvadrm.c
@@ -0,0 +1,18 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#define _GNU_SOURCE         /* See feature_test_macros(7) */
+#include <dlfcn.h>
+
+#include "wrappedlibs.h"
+
+#include "wrapper.h"
+#include "bridge.h"
+#include "librarian/library_private.h"
+#include "x64emu.h"
+
+const char* libvadrmName = "libva-drm.so.2";
+#define LIBNAME libvadrm
+
+#include "wrappedlib_init.h"
+
diff --git a/src/wrapped/wrappedlibvadrm_private.h b/src/wrapped/wrappedlibvadrm_private.h
new file mode 100644
index 00000000..1ffb0d86
--- /dev/null
+++ b/src/wrapped/wrappedlibvadrm_private.h
@@ -0,0 +1,5 @@
+#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
+#error meh!
+#endif
+
+//GO(vaGetDisplayDRM, 
\ No newline at end of file
diff --git a/src/wrapped/wrappedlibvawayland.c b/src/wrapped/wrappedlibvawayland.c
new file mode 100644
index 00000000..85db9cfd
--- /dev/null
+++ b/src/wrapped/wrappedlibvawayland.c
@@ -0,0 +1,18 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#define _GNU_SOURCE         /* See feature_test_macros(7) */
+#include <dlfcn.h>
+
+#include "wrappedlibs.h"
+
+#include "wrapper.h"
+#include "bridge.h"
+#include "librarian/library_private.h"
+#include "x64emu.h"
+
+const char* libvawaylandName = "libva-wayland.so.2";
+#define LIBNAME libvawayland
+
+#include "wrappedlib_init.h"
+
diff --git a/src/wrapped/wrappedlibvawayland_private.h b/src/wrapped/wrappedlibvawayland_private.h
new file mode 100644
index 00000000..d949c204
--- /dev/null
+++ b/src/wrapped/wrappedlibvawayland_private.h
@@ -0,0 +1,7 @@
+#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
+#error meh!
+#endif
+
+//GO(vaGetDisplayWl, 
+//GO(vaGetImageBufferWl, 
+//GO(vaGetSurfaceBufferWl, 
diff --git a/src/wrapped/wrappedlibvax11.c b/src/wrapped/wrappedlibvax11.c
new file mode 100644
index 00000000..48fdc673
--- /dev/null
+++ b/src/wrapped/wrappedlibvax11.c
@@ -0,0 +1,18 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#define _GNU_SOURCE         /* See feature_test_macros(7) */
+#include <dlfcn.h>
+
+#include "wrappedlibs.h"
+
+#include "wrapper.h"
+#include "bridge.h"
+#include "librarian/library_private.h"
+#include "x64emu.h"
+
+const char* libvax11Name = "libva-x11.so.2";
+#define LIBNAME libvax11
+
+#include "wrappedlib_init.h"
+
diff --git a/src/wrapped/wrappedlibvax11_private.h b/src/wrapped/wrappedlibvax11_private.h
new file mode 100644
index 00000000..92173c07
--- /dev/null
+++ b/src/wrapped/wrappedlibvax11_private.h
@@ -0,0 +1,22 @@
+#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
+#error meh!
+#endif
+
+//GO(VA_DRI2Authenticate, 
+//GO(VA_DRI2Connect, 
+//GO(VA_DRI2CopyRegion, 
+//GO(VA_DRI2CreateDrawable, 
+//GO(VA_DRI2DestroyDrawable, 
+//GO(VA_DRI2GetBuffers, 
+//GO(VA_DRI2QueryExtension, 
+//GO(VA_DRI2QueryVersion, 
+//GO(VA_DRI2SwapBuffers, 
+//GO(va_dri_free_drawable, 
+//GO(va_dri_free_drawable_hashtable, 
+//GO(va_dri_get_drawable, 
+//GO(va_dri_get_rendering_buffer, 
+//GO(va_dri_swap_buffer, 
+//GO(vaGetDisplay, 
+//GO(va_isDRI2Connected, 
+//GO(va_isRenderNodeFd, 
+//GO(vaPutSurface,