about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibvdpau.c
blob: ba6264c51342fb2239a9c5d7a341f0df476aea95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define _GNU_SOURCE         /* See feature_test_macros(7) */
#include <dlfcn.h>

#include "wrappedlibs.h"

#include "debug.h"
#include "wrapper.h"
#include "bridge.h"
#include "librarian/library_private.h"
#include "x64emu.h"
#include "callback.h"
#include "librarian.h"
#include "box64context.h"
#include "emu/x64emu_private.h"
#include "myalign.h"

const char* libvdpauName = "libvdpau.so.1";
#define LIBNAME libvdpau


#define ADDED_FUNCTIONS()       \

#include "generated/wrappedlibvdpautypes.h"

#include "wrappercallback.h"

EXPORT uint32_t my_vdp_device_create_x11(x64emu_t* emu, void* display, int screen, void* device, void** get_proc_address)
{
    return 1;   // VDP_STATUS_NO_IMPLEMENTATION
}

#include "wrappedlib_init.h"