LiVES  3.2.0
Data Fields
lives_decoder_sys_t Struct Reference

#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)
 

Detailed Description

Definition at line 412 of file plugins.h.

Field Documentation

◆ chill_out

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().

◆ clip_data_free

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().

◆ get_clip_data

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().

◆ get_frame

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().

◆ handle

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().

◆ module_check_init

const char*(* lives_decoder_sys_t::module_check_init) (void)

Definition at line 441 of file plugins.h.

◆ module_unload

void(* lives_decoder_sys_t::module_unload) (void)

Definition at line 446 of file plugins.h.

◆ name

const char* lives_decoder_sys_t::name

◆ rip_audio

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)

Definition at line 443 of file plugins.h.

◆ rip_audio_cleanup

void(* lives_decoder_sys_t::rip_audio_cleanup) (const lives_clip_data_t *cdata)

Definition at line 445 of file plugins.h.

◆ set_palette

boolean(* lives_decoder_sys_t::set_palette) (lives_clip_data_t *)

Definition at line 442 of file plugins.h.

◆ version

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().


The documentation for this struct was generated from the following file: