LiVES  2.4.1-svn
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
plugins.c File Reference
#include <dlfcn.h>
#include <errno.h>
#include "../libweed/weed.h"
#include "../libweed/weed-palettes.h"
#include "../libweed/weed-effects.h"
#include "../libweed/weed-utils.h"
#include "../libweed/weed-host.h"
#include "main.h"
#include "resample.h"
#include "support.h"
#include "effects.h"
#include "rfx-builder.h"
#include "paramwindow.h"

Macros

#define LIVES_PLUGIN_TIMEOUT   (20 * U_SEC)
 

Functions

LiVESList * plugin_request_with_blanks (const char *plugin_type, const char *plugin_name, const char *request)
 
LiVESList * plugin_request (const char *plugin_type, const char *plugin_name, const char *request)
 
LiVESList * plugin_request_by_line (const char *plugin_type, const char *plugin_name, const char *request)
 
LiVESList * plugin_request_by_space (const char *plugin_type, const char *plugin_name, const char *request)
 
LiVESList * plugin_request_common (const char *plugin_type, const char *plugin_name, const char *request, const char *delim, boolean allow_blanks)
 
LiVESList * get_plugin_list (const char *plugin_type, boolean allow_nonex, const char *plugdir, const char *filter_ext)
 
void save_vpp_defaults (_vid_playback_plugin *vpp, char *vpp_file)
 
void load_vpp_defaults (_vid_playback_plugin *vpp, char *vpp_file)
 
void on_vppa_cancel_clicked (LiVESButton *button, livespointer user_data)
 
void on_vppa_ok_clicked (LiVESButton *button, livespointer user_data)
 
void on_vppa_save_clicked (LiVESButton *button, livespointer user_data)
 
_vppawon_vpp_advanced_clicked (LiVESButton *button, livespointer user_data)
 
void close_vid_playback_plugin (_vid_playback_plugin *vpp)
 
const weed_plant_t * pp_get_param (weed_plant_t **pparams, int idx)
 
const weed_plant_t * pp_get_chan (weed_plant_t **pparams, int idx)
 
_vid_playback_pluginopen_vid_playback_plugin (const char *name, boolean in_use)
 
void vid_playback_plugin_exit (void)
 
int64_t get_best_audio (_vid_playback_plugin *vpp)
 
void do_plugin_encoder_error (const char *plugin_name)
 
boolean check_encoder_restrictions (boolean get_extension, boolean user_audio, boolean save_all)
 
LiVESList * filter_encoders_by_img_ext (LiVESList *encoders, const char *img_ext)
 
LIVES_INLINE boolean decplugin_supports_palette (const lives_decoder_t *dplug, int palette)
 
lives_decoder_tclone_decoder (int fileno)
 
const lives_clip_data_tget_decoder_cdata (int fileno, LiVESList *disabled, const lives_clip_data_t *fake_cdata)
 
void close_decoder_plugin (lives_decoder_t *dplug)
 
void unload_decoder_plugins (void)
 
lives_decoder_sys_topen_decoder_plugin (const char *plname)
 
void get_mime_type (char *text, int maxlen, const lives_clip_data_t *cdata)
 
void on_decplug_advanced_clicked (LiVESButton *button, livespointer user_data)
 
boolean check_rfx_for_lives (lives_rfx_t *rfx)
 
void do_rfx_cleanup (lives_rfx_t *rfx)
 
void render_fx_get_params (lives_rfx_t *rfx, const char *plugin_name, short status)
 
LiVESList * array_to_string_list (char **array, int offset, int len)
 
void sort_rfx_array (lives_rfx_t *in, int num)
 
void rfx_copy (lives_rfx_t *src, lives_rfx_t *dest, boolean full)
 
void rfx_params_free (lives_rfx_t *rfx)
 
void rfx_free (lives_rfx_t *rfx)
 
void rfx_free_all (void)
 
void param_copy (lives_param_t *src, lives_param_t *dest, boolean full)
 
boolean get_bool_param (void *value)
 
int get_int_param (void *value)
 
double get_double_param (void *value)
 
void get_colRGB24_param (void *value, lives_colRGB24_t *rgb)
 
void get_colRGBA32_param (void *value, lives_colRGBA32_t *rgba)
 
void set_bool_param (void *value, boolean _const)
 
void set_int_param (void *value, int _const)
 
void set_double_param (void *value, double _const)
 
void set_colRGB24_param (void *value, short red, short green, short blue)
 
void set_colRGBA32_param (void *value, short red, short green, short blue, short alpha)
 
int find_rfx_plugin_by_name (const char *name, short status)
 
lives_param_tweed_params_to_rfx (int npar, weed_plant_t *inst, boolean show_reinits)
 
lives_rfx_tweed_to_rfx (weed_plant_t *plant, boolean show_reinits)
 
LiVESList * get_external_window_hints (lives_rfx_t *rfx)
 
char * plugin_run_param_window (const char *get_com, LiVESVBox *vbox, lives_rfx_t **ret_rfx)
 

Variables

const char * anames [AUDIO_CODEC_MAX] = {"mp3","pcm","mp2","vorbis","AC3","AAC","AMR_NB","raw","wma2",""}
 

Macro Definition Documentation

#define LIVES_PLUGIN_TIMEOUT   (20 * U_SEC)

Function Documentation

LiVESList* array_to_string_list ( char **  array,
int  offset,
int  len 
)
boolean check_encoder_restrictions ( boolean  get_extension,
boolean  user_audio,
boolean  save_all 
)

end restrictions

boolean check_rfx_for_lives ( lives_rfx_t rfx)
lives_decoder_t* clone_decoder ( int  fileno)
void close_decoder_plugin ( lives_decoder_t dplug)
void close_vid_playback_plugin ( _vid_playback_plugin vpp)
LIVES_INLINE boolean decplugin_supports_palette ( const lives_decoder_t dplug,
int  palette 
)
void do_plugin_encoder_error ( const char *  plugin_name)
void do_rfx_cleanup ( lives_rfx_t rfx)
LiVESList* filter_encoders_by_img_ext ( LiVESList *  encoders,
const char *  img_ext 
)
int find_rfx_plugin_by_name ( const char *  name,
short  status 
)
int64_t get_best_audio ( _vid_playback_plugin vpp)
boolean get_bool_param ( void *  value)
void get_colRGB24_param ( void *  value,
lives_colRGB24_t rgb 
)
void get_colRGBA32_param ( void *  value,
lives_colRGBA32_t rgba 
)
const lives_clip_data_t* get_decoder_cdata ( int  fileno,
LiVESList *  disabled,
const lives_clip_data_t fake_cdata 
)
double get_double_param ( void *  value)
LiVESList* get_external_window_hints ( lives_rfx_t rfx)
int get_int_param ( void *  value)
void get_mime_type ( char *  text,
int  maxlen,
const lives_clip_data_t cdata 
)
LiVESList* get_plugin_list ( const char *  plugin_type,
boolean  allow_nonex,
const char *  plugdir,
const char *  filter_ext 
)
void load_vpp_defaults ( _vid_playback_plugin vpp,
char *  vpp_file 
)
void on_decplug_advanced_clicked ( LiVESButton *  button,
livespointer  user_data 
)
_vppaw* on_vpp_advanced_clicked ( LiVESButton *  button,
livespointer  user_data 
)
void on_vppa_cancel_clicked ( LiVESButton *  button,
livespointer  user_data 
)
void on_vppa_ok_clicked ( LiVESButton *  button,
livespointer  user_data 
)
void on_vppa_save_clicked ( LiVESButton *  button,
livespointer  user_data 
)
lives_decoder_sys_t* open_decoder_plugin ( const char *  plname)
_vid_playback_plugin* open_vid_playback_plugin ( const char *  name,
boolean  in_use 
)
void param_copy ( lives_param_t src,
lives_param_t dest,
boolean  full 
)
LiVESList* plugin_request ( const char *  plugin_type,
const char *  plugin_name,
const char *  request 
)
LiVESList* plugin_request_by_line ( const char *  plugin_type,
const char *  plugin_name,
const char *  request 
)
LiVESList* plugin_request_by_space ( const char *  plugin_type,
const char *  plugin_name,
const char *  request 
)
LiVESList* plugin_request_common ( const char *  plugin_type,
const char *  plugin_name,
const char *  request,
const char *  delim,
boolean  allow_blanks 
)
LiVESList* plugin_request_with_blanks ( const char *  plugin_type,
const char *  plugin_name,
const char *  request 
)
char* plugin_run_param_window ( const char *  get_com,
LiVESVBox *  vbox,
lives_rfx_t **  ret_rfx 
)
const weed_plant_t* pp_get_chan ( weed_plant_t **  pparams,
int  idx 
)
const weed_plant_t* pp_get_param ( weed_plant_t **  pparams,
int  idx 
)
void render_fx_get_params ( lives_rfx_t rfx,
const char *  plugin_name,
short  status 
)
void rfx_copy ( lives_rfx_t src,
lives_rfx_t dest,
boolean  full 
)
void rfx_free ( lives_rfx_t rfx)
void rfx_free_all ( void  )
void rfx_params_free ( lives_rfx_t rfx)
void save_vpp_defaults ( _vid_playback_plugin vpp,
char *  vpp_file 
)
void set_bool_param ( void *  value,
boolean  _const 
)
void set_colRGB24_param ( void *  value,
short  red,
short  green,
short  blue 
)
void set_colRGBA32_param ( void *  value,
short  red,
short  green,
short  blue,
short  alpha 
)
void set_double_param ( void *  value,
double  _const 
)
void set_int_param ( void *  value,
int  _const 
)
void sort_rfx_array ( lives_rfx_t in,
int  num 
)
void unload_decoder_plugins ( void  )
void vid_playback_plugin_exit ( void  )
lives_param_t* weed_params_to_rfx ( int  npar,
weed_plant_t *  inst,
boolean  show_reinits 
)
lives_rfx_t* weed_to_rfx ( weed_plant_t *  plant,
boolean  show_reinits 
)

Variable Documentation

const char* anames[AUDIO_CODEC_MAX] = {"mp3","pcm","mp2","vorbis","AC3","AAC","AMR_NB","raw","wma2",""}