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

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 (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)
void pconx_chain_data (int key, int mode)
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 (int ikey, int imode, int icnum)
gboolean cconx_convert_pixel_data (weed_plant_t *dchan, weed_plant_t *schan)
boolean cconx_chain_data (int key, int mode)

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

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

void pconx_chain_data ( int  key,
int  mode 
)

< dest effect is not found

< dest effect is not enabled

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