LiVES
3.2.0
|
#include <plugins.h>
Data Fields | |
const char * | name |
plugin name More... | |
void * | handle |
may be shared between several instances More... | |
const char *(* | version )(void) |
lives_clip_data_t *(* | get_clip_data )(char *URI, const 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[]) More... | |
boolean(* | 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 More... | |
boolean(* | chill_out )(const lives_clip_data_t *) |
free buffers when we arent playing sequentially / on standby More... | |
void(* | clip_data_free )(lives_clip_data_t *) |
call this for each cdata before unloading the module More... | |
const char *(* | module_check_init )(void) |
boolean(* | set_palette )(lives_clip_data_t *) |
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) |
boolean(* lives_decoder_sys_t::chill_out) (const lives_clip_data_t *) |
free buffers when we arent playing sequentially / on standby
Definition at line 435 of file plugins.h.
Referenced by chill_decoder_plugin().
void(* lives_decoder_sys_t::clip_data_free) (lives_clip_data_t *) |
call this for each cdata before unloading the module
Definition at line 438 of file plugins.h.
Referenced by close_decoder_plugin(), and open_decoder_plugin().
lives_clip_data_t*(* lives_decoder_sys_t::get_clip_data) (char *URI, const 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
to get a clone of cdata, pass in NULL URI and cdata
Definition at line 429 of file plugins.h.
Referenced by open_decoder_plugin().
boolean(* 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
Definition at line 432 of file plugins.h.
Referenced by open_decoder_plugin().
void* lives_decoder_sys_t::handle |
may be shared between several instances
Definition at line 415 of file plugins.h.
Referenced by open_decoder_plugin().
const char*(* lives_decoder_sys_t::module_check_init) (void) |
const char* lives_decoder_sys_t::name |
plugin name
Definition at line 414 of file plugins.h.
Referenced by get_decoder_cdata(), on_decplug_advanced_clicked(), open_decoder_plugin(), reload_clip(), and save_clip_values().
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) |
boolean(* lives_decoder_sys_t::set_palette) (lives_clip_data_t *) |
const char*(* lives_decoder_sys_t::version) (void) |
Definition at line 418 of file plugins.h.
Referenced by on_decplug_advanced_clicked(), and open_decoder_plugin().