diff options
Diffstat (limited to 'libmpcodecs/vd_internal.h')
-rw-r--r-- | libmpcodecs/vd_internal.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libmpcodecs/vd_internal.h b/libmpcodecs/vd_internal.h new file mode 100644 index 0000000000..16e8679803 --- /dev/null +++ b/libmpcodecs/vd_internal.h @@ -0,0 +1,16 @@ + +// prototypes: +static vd_info_t info; +static int control(sh_video_t *sh,int cmd,void* arg,...); +static int init(sh_video_t *sh); +static void uninit(sh_video_t *sh); +static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags); + +#define LIBVD_EXTERN(x) vd_functions_t mpcodecs_vd_##x = {\ + &info,\ + init,\ + uninit,\ + control,\ + decode\ +}; + |