diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-11-13 17:27:53 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-11-13 17:27:53 +0100 |
| commit | 0c55facdd9b6fe3c851395dfd017978022244fec (patch) | |
| tree | c3340e81eb36cacb0c84dd8836d0bb7eb6f1a8d0 /src | |
| parent | d9e1f91735d60e8d33cb140e9b130132fddab4f5 (diff) | |
| download | box64-0c55facdd9b6fe3c851395dfd017978022244fec.tar.gz box64-0c55facdd9b6fe3c851395dfd017978022244fec.zip | |
Added wrapped (empty) libvdpau
Diffstat (limited to 'src')
| -rwxr-xr-x | src/library_list.h | 1 | ||||
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 1 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibvdpaudefs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibvdpautypes.h | 17 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibvdpauundefs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/wrappedlibvdpau.c | 18 | ||||
| -rw-r--r-- | src/wrapped/wrappedlibvdpau_private.h | 5 |
7 files changed, 58 insertions, 0 deletions
diff --git a/src/library_list.h b/src/library_list.h index 1680d3b1..abcccccc 100755 --- a/src/library_list.h +++ b/src/library_list.h @@ -203,6 +203,7 @@ GO("libva.so.2", libva) GO("libva-drm.so.2", libvadrm) GO("libva-x11.so.2", libvax11) GO("libva-wayland.so.2", libvawayland) +GO("libvdpau.so.1", libvdpau) 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 796b4347..2317b39f 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -3413,6 +3413,7 @@ wrappedlibva: wrappedlibvadrm: wrappedlibvawayland: wrappedlibvax11: +wrappedlibvdpau: wrappedlibvorbis: wrappedlibx11: - iFp: diff --git a/src/wrapped/generated/wrappedlibvdpaudefs.h b/src/wrapped/generated/wrappedlibvdpaudefs.h new file mode 100644 index 00000000..c128892e --- /dev/null +++ b/src/wrapped/generated/wrappedlibvdpaudefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * + *******************************************************************/ +#ifndef __wrappedlibvdpauDEFS_H_ +#define __wrappedlibvdpauDEFS_H_ + + +#endif // __wrappedlibvdpauDEFS_H_ diff --git a/src/wrapped/generated/wrappedlibvdpautypes.h b/src/wrapped/generated/wrappedlibvdpautypes.h new file mode 100644 index 00000000..16b7808b --- /dev/null +++ b/src/wrapped/generated/wrappedlibvdpautypes.h @@ -0,0 +1,17 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * + *******************************************************************/ +#ifndef __wrappedlibvdpauTYPES_H_ +#define __wrappedlibvdpauTYPES_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 // __wrappedlibvdpauTYPES_H_ diff --git a/src/wrapped/generated/wrappedlibvdpauundefs.h b/src/wrapped/generated/wrappedlibvdpauundefs.h new file mode 100644 index 00000000..109b62de --- /dev/null +++ b/src/wrapped/generated/wrappedlibvdpauundefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * + *******************************************************************/ +#ifndef __wrappedlibvdpauUNDEFS_H_ +#define __wrappedlibvdpauUNDEFS_H_ + + +#endif // __wrappedlibvdpauUNDEFS_H_ diff --git a/src/wrapped/wrappedlibvdpau.c b/src/wrapped/wrappedlibvdpau.c new file mode 100644 index 00000000..146ef72e --- /dev/null +++ b/src/wrapped/wrappedlibvdpau.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* libvdpauName = "libvdpau.so.1"; +#define LIBNAME libvdpau + +#include "wrappedlib_init.h" + diff --git a/src/wrapped/wrappedlibvdpau_private.h b/src/wrapped/wrappedlibvdpau_private.h new file mode 100644 index 00000000..3a06a036 --- /dev/null +++ b/src/wrapped/wrappedlibvdpau_private.h @@ -0,0 +1,5 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +#error meh! +#endif + +//GO(vdp_device_create_x11, iFpipp) // last is a pointer to a VdpGetProcAddress function \ No newline at end of file |