diff options
author | John Stebbins <[email protected]> | 2015-10-17 15:57:03 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2015-11-12 09:49:56 -0800 |
commit | 890a551270ef8110e47d9c503e1588d3d2bc710f (patch) | |
tree | 1e31de5f379c54157c9ec095b55a8eeadca5ef8a /libhb/ports.h | |
parent | 88ce808b3083415950be070fa7bdc90d49a67eea (diff) |
x264: add multilib support (a.k.a. 10-bit)
This adds the structure to load an libx264 10-bit shared library.
The user must install this library themselves to an appropriate place.
Diffstat (limited to 'libhb/ports.h')
-rw-r--r-- | libhb/ports.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libhb/ports.h b/libhb/ports.h index 941c8feee..b23bd64a0 100644 --- a/libhb/ports.h +++ b/libhb/ports.h @@ -175,6 +175,21 @@ void hb_system_sleep_opaque_close(void **opaque); void hb_system_sleep_private_enable(void *opaque); void hb_system_sleep_private_disable(void *opaque); +/************************************************************************ +* Loadable Libraries +***********************************************************************/ +void * hb_dlopen(const char *name); +void * hb_dlsym(void *h, const char *name); +int hb_dlclose(void *h); + +#if defined( SYS_MINGW ) +#define HB_SO_EXT ".dll" +#elif defined( SYS_DARWIN ) +#define HB_SO_EXT ".dylib" +#else +#define HB_SO_EXT ".so" +#endif + #endif /* __LIBHB__ */ #endif |