LiVES 1.3.11-svn
Data Fields
lives_decoder_sys_t Struct Reference

#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, void **pixel_data)
 frame starts at 0 in these functions
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)

Field Documentation

call this for each cdata before unloading the module

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, void **pixel_data)

frame starts at 0 in these functions

may be shared between several instances

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)
const char*(* lives_decoder_sys_t::version)(void)

The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines