LiVES  2.0.3
 All Data Structures 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

GList * plugin_request_with_blanks (const gchar *plugin_type, const gchar *plugin_name, const gchar *request)
GList * plugin_request (const gchar *plugin_type, const gchar *plugin_name, const gchar *request)
GList * plugin_request_by_line (const gchar *plugin_type, const gchar *plugin_name, const gchar *request)
GList * plugin_request_by_space (const gchar *plugin_type, const gchar *plugin_name, const gchar *request)
GList * plugin_request_common (const gchar *plugin_type, const gchar *plugin_name, const gchar *request, const gchar *delim, boolean allow_blanks)
GList * get_plugin_list (const gchar *plugin_type, boolean allow_nonex, const gchar *plugdir, const gchar *filter_ext)
void save_vpp_defaults (_vid_playback_plugin *vpp, gchar *vpp_file)
void load_vpp_defaults (_vid_playback_plugin *vpp, gchar *vpp_file)
void on_vppa_cancel_clicked (GtkButton *button, gpointer user_data)
void on_vppa_ok_clicked (GtkButton *button, gpointer user_data)
void on_vppa_save_clicked (GtkButton *button, gpointer user_data)
_vppaw * on_vpp_advanced_clicked (GtkButton *button, gpointer 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_plugin * open_vid_playback_plugin (const gchar *name, boolean in_use)
void vid_playback_plugin_exit (void)
gint64 get_best_audio (_vid_playback_plugin *vpp)
void do_plugin_encoder_error (const gchar *plugin_name)
boolean check_encoder_restrictions (boolean get_extension, boolean user_audio, boolean save_all)
GList * filter_encoders_by_img_ext (GList *encoders, const gchar *img_ext)
LIVES_INLINE boolean decplugin_supports_palette (const lives_decoder_t *dplug, int palette)
const lives_clip_data_t * get_decoder_cdata (file *sfile, GList *disabled)
void close_decoder_plugin (lives_decoder_t *dplug)
void unload_decoder_plugins (void)
lives_decoder_sys_t * open_decoder_plugin (const gchar *plname)
void get_mime_type (gchar *text, int maxlen, const lives_clip_data_t *cdata)
void on_decplug_advanced_clicked (GtkButton *button, gpointer 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 gchar *plugin_name, gshort status)
GList * array_to_string_list (gchar **array, gint offset, gint len)
void sort_rfx_array (lives_rfx_t *in, gint 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)
gint get_int_param (void *value)
gdouble 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, gint _const)
void set_double_param (void *value, gdouble _const)
void set_colRGB24_param (void *value, gshort red, gshort green, gshort blue)
void set_colRGBA32_param (void *value, gshort red, gshort green, gshort blue, gshort alpha)
gint find_rfx_plugin_by_name (const gchar *name, gshort status)
lives_param_t * weed_params_to_rfx (gint npar, weed_plant_t *inst, boolean show_reinits)
lives_rfx_t * weed_to_rfx (weed_plant_t *plant, boolean show_reinits)
GList * get_external_window_hints (lives_rfx_t *rfx)
gchar * plugin_run_param_window (const gchar *get_com, GtkVBox *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

GList* array_to_string_list ( gchar **  array,
gint  offset,
gint  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)
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 gchar *  plugin_name)
void do_rfx_cleanup ( lives_rfx_t *  rfx)
GList* filter_encoders_by_img_ext ( GList *  encoders,
const gchar *  img_ext 
)
gint find_rfx_plugin_by_name ( const gchar *  name,
gshort  status 
)
gint64 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 ( file *  sfile,
GList *  disabled 
)
gdouble get_double_param ( void *  value)
GList* get_external_window_hints ( lives_rfx_t *  rfx)
gint get_int_param ( void *  value)
void get_mime_type ( gchar *  text,
int  maxlen,
const lives_clip_data_t *  cdata 
)
GList* get_plugin_list ( const gchar *  plugin_type,
boolean  allow_nonex,
const gchar *  plugdir,
const gchar *  filter_ext 
)
void load_vpp_defaults ( _vid_playback_plugin *  vpp,
gchar *  vpp_file 
)
void on_decplug_advanced_clicked ( GtkButton *  button,
gpointer  user_data 
)
_vppaw* on_vpp_advanced_clicked ( GtkButton *  button,
gpointer  user_data 
)
void on_vppa_cancel_clicked ( GtkButton *  button,
gpointer  user_data 
)
void on_vppa_ok_clicked ( GtkButton *  button,
gpointer  user_data 
)
void on_vppa_save_clicked ( GtkButton *  button,
gpointer  user_data 
)
lives_decoder_sys_t* open_decoder_plugin ( const gchar *  plname)
_vid_playback_plugin* open_vid_playback_plugin ( const gchar *  name,
boolean  in_use 
)
void param_copy ( lives_param_t *  src,
lives_param_t *  dest,
boolean  full 
)
GList* plugin_request ( const gchar *  plugin_type,
const gchar *  plugin_name,
const gchar *  request 
)
GList* plugin_request_by_line ( const gchar *  plugin_type,
const gchar *  plugin_name,
const gchar *  request 
)
GList* plugin_request_by_space ( const gchar *  plugin_type,
const gchar *  plugin_name,
const gchar *  request 
)
GList* plugin_request_common ( const gchar *  plugin_type,
const gchar *  plugin_name,
const gchar *  request,
const gchar *  delim,
boolean  allow_blanks 
)
GList* plugin_request_with_blanks ( const gchar *  plugin_type,
const gchar *  plugin_name,
const gchar *  request 
)
gchar* plugin_run_param_window ( const gchar *  get_com,
GtkVBox *  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 gchar *  plugin_name,
gshort  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,
gchar *  vpp_file 
)
void set_bool_param ( void *  value,
boolean  _const 
)
void set_colRGB24_param ( void *  value,
gshort  red,
gshort  green,
gshort  blue 
)
void set_colRGBA32_param ( void *  value,
gshort  red,
gshort  green,
gshort  blue,
gshort  alpha 
)
void set_double_param ( void *  value,
gdouble  _const 
)
void set_int_param ( void *  value,
gint  _const 
)
void sort_rfx_array ( lives_rfx_t *  in,
gint  num 
)
void unload_decoder_plugins ( void  )
void vid_playback_plugin_exit ( void  )
lives_param_t* weed_params_to_rfx ( gint  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",""}