LiVES 1.4.9
|
#include <plugins.h>
Data Fields | |
gchar * | name |
plugin name | |
void * | handle |
may be shared between several instances | |
const char *(* | version )(void) |
lives_clip_data_t *(* | get_clip_data )(char *URI, lives_clip_data_t *cdata) |
gboolean(* | get_frame )(const lives_clip_data_t *, int64_t frame, int *rowstrides, int height, void **pixel_data) |
frame starts at 0 in these functions; height is height of primary plane | |
void(* | clip_data_free )(lives_clip_data_t *) |
call this for each cdata before unloading the module | |
const char *(* | module_check_init )(void) |
int64_t(* | rip_audio )(const lives_clip_data_t *, const char *fname, int64_t stframe, int64_t nframes, unsigned char **abuff) |
void(* | rip_audio_cleanup )(const lives_clip_data_t *cdata) |
void(* | module_unload )(void) |
call this for each cdata before unloading the module
lives_clip_data_t*(* lives_decoder_sys_t::get_clip_data)(char *URI, lives_clip_data_t *cdata) |
call first time with NULL cdata subsequent calls should re-use cdata set cdata->current_clip > 0 to get data for clip n (0 <= n < cdata->nclips) we can also set cdata->current_palette (must be in list cdata->palettes[])
if URI changes, current_clip and current_palette are reset by plugin
gboolean(* lives_decoder_sys_t::get_frame)(const lives_clip_data_t *, int64_t frame, int *rowstrides, int height, void **pixel_data) |
frame starts at 0 in these functions; height is height of primary plane
may be shared between several instances
const char*(* lives_decoder_sys_t::module_check_init)(void) |
void(* lives_decoder_sys_t::module_unload)(void) |
gchar* lives_decoder_sys_t::name |
plugin name
int64_t(* lives_decoder_sys_t::rip_audio)(const lives_clip_data_t *, const char *fname, int64_t stframe, int64_t nframes, unsigned char **abuff) |
void(* lives_decoder_sys_t::rip_audio_cleanup)(const lives_clip_data_t *cdata) |
const char*(* lives_decoder_sys_t::version)(void) |