LiVES  2.0.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Enumerations | Functions
effects-data.c File Reference
#include "../libweed/weed.h"
#include "../libweed/weed-host.h"
#include "../libweed/weed-effects.h"
#include "main.h"
#include "effects.h"
#include "support.h"

Enumerations

enum  {
  KEY_COLUMN, NAME_COLUMN, KEYVAL_COLUMN, MODEVAL_COLUMN,
  NUM_COLUMNS
}

Functions

void pconx_delete_all (void)
gchar * pconx_list (int okey, int omode, int opnum)
void pconx_delete (int okey, int omode, int opnum, int ikey, int imode, int ipnum)
void pconx_remap_mode (int key, int omode, int nmode)
void pconx_add_connection (int okey, int omode, int opnum, int ikey, int imode, int ipnum, boolean autoscale)
 add a new connection from out_param okey/omode/opnum to in_param ikey/imode/ipnum
weed_plant_t * pconx_get_out_param (boolean use_filt, int ikey, int imode, int ipnum, int *autoscale)
 return if ikey/imode/ipnum is mapped to an out param
boolean pconx_convert_value_data (weed_plant_t *inst, int pnum, weed_plant_t *dparam, weed_plant_t *sparam, boolean autoscale)
boolean pconx_chain_data (int key, int mode)
boolean pconx_chain_data_internal (weed_plant_t *inst)
void cconx_delete_all (void)
gchar * cconx_list (int okey, int omode, int ocnum)
void cconx_delete (int okey, int omode, int ocnum, int ikey, int imode, int icnum)
void cconx_remap_mode (int key, int omode, int nmode)
void cconx_add_connection (int okey, int omode, int ocnum, int ikey, int imode, int icnum)
 add a new connection from out_chan okey/omode/ocnum to in_chan ikey/imode/icnum
weed_plant_t * cconx_get_out_alpha (boolean use_filt, int ikey, int imode, int icnum)
boolean cconx_convert_pixel_data (weed_plant_t *dchan, weed_plant_t *schan)
boolean cconx_chain_data (int key, int mode)
boolean cconx_chain_data_internal (weed_plant_t *ichan)
GtkWidget * make_datacon_window (int key, int mode)

Enumeration Type Documentation

anonymous enum
Enumerator:
KEY_COLUMN 
NAME_COLUMN 
KEYVAL_COLUMN 
MODEVAL_COLUMN 
NUM_COLUMNS 

Function Documentation

void cconx_add_connection ( int  okey,
int  omode,
int  ocnum,
int  ikey,
int  imode,
int  icnum 
)

add a new connection from out_chan okey/omode/ocnum to in_chan ikey/imode/icnum

boolean cconx_chain_data ( int  key,
int  mode 
)

< dest effect is not found

< dest effect is not enabled

boolean cconx_chain_data_internal ( weed_plant_t *  ichan)
boolean cconx_convert_pixel_data ( weed_plant_t *  dchan,
weed_plant_t *  schan 
)

everything matches - we can just do a steal

caller - do not free in dchan

check first if we can set the in-channel palette to match

see if dest chan supports the source chan palette

< yes

<no

caller - do not free in dchan

void cconx_delete ( int  okey,
int  omode,
int  ocnum,
int  ikey,
int  imode,
int  icnum 
)
void cconx_delete_all ( void  )
weed_plant_t* cconx_get_out_alpha ( boolean  use_filt,
int  ikey,
int  imode,
int  icnum 
)
gchar* cconx_list ( int  okey,
int  omode,
int  ocnum 
)
void cconx_remap_mode ( int  key,
int  omode,
int  nmode 
)
GtkWidget* make_datacon_window ( int  key,
int  mode 
)
void pconx_add_connection ( int  okey,
int  omode,
int  opnum,
int  ikey,
int  imode,
int  ipnum,
boolean  autoscale 
)

add a new connection from out_param okey/omode/opnum to in_param ikey/imode/ipnum

boolean pconx_chain_data ( int  key,
int  mode 
)

< dest effect is not found

< dest effect is not enabled

boolean pconx_chain_data_internal ( weed_plant_t *  inst)
boolean pconx_convert_value_data ( weed_plant_t *  inst,
int  pnum,
weed_plant_t *  dparam,
weed_plant_t *  sparam,
boolean  autoscale 
)
void pconx_delete ( int  okey,
int  omode,
int  opnum,
int  ikey,
int  imode,
int  ipnum 
)
void pconx_delete_all ( void  )
weed_plant_t* pconx_get_out_param ( boolean  use_filt,
int  ikey,
int  imode,
int  ipnum,
int *  autoscale 
)

return if ikey/imode/ipnum is mapped to an out param

gchar* pconx_list ( int  okey,
int  omode,
int  opnum 
)
void pconx_remap_mode ( int  key,
int  omode,
int  nmode 
)