LiVES  2.4.1-svn
 All Data Structures Namespaces 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"
#include "ce_thumbs.h"

Enumerations

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

Functions

void override_if_active_input (int hotkey)
 
void end_override_if_activate_output (int hotkey)
 
void pconx_delete_all (void)
 
char * 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 More...
 
boolean pconx_convert_value_data (weed_plant_t *inst, int pnum, weed_plant_t *dparam, int okey, 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)
 
char * 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 More...
 
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)
 
boolean feeds_to_video_filters (int okey, int omode)
 
boolean feeds_to_audio_filters (int okey, int omode)
 
int pconx_check_connection (weed_plant_t *ofilter, int opnum, int ikey, int imode, int ipnum, boolean setup, weed_plant_t **iparam_ret, int *idx_ret, int *okey, int *omode, int *oopnum)
 
int cconx_check_connection (int ikey, int imode, int icnum, boolean setup, weed_plant_t **ichan_ret, int *idx_ret, int *okey, int *omode, int *ocnum)
 
LiVESWidget * 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)
int cconx_check_connection ( int  ikey,
int  imode,
int  icnum,
boolean  setup,
weed_plant_t **  ichan_ret,
int *  idx_ret,
int *  okey,
int *  omode,
int *  ocnum 
)
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  )
char* cconx_list ( int  okey,
int  omode,
int  ocnum 
)
void cconx_remap_mode ( int  key,
int  omode,
int  nmode 
)
void end_override_if_activate_output ( int  hotkey)
boolean feeds_to_audio_filters ( int  okey,
int  omode 
)
boolean feeds_to_video_filters ( int  okey,
int  omode 
)
LiVESWidget* make_datacon_window ( int  key,
int  mode 
)
void override_if_active_input ( int  hotkey)
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

boolean pconx_chain_data_internal ( weed_plant_t *  inst)
int pconx_check_connection ( weed_plant_t *  ofilter,
int  opnum,
int  ikey,
int  imode,
int  ipnum,
boolean  setup,
weed_plant_t **  iparam_ret,
int *  idx_ret,
int *  okey,
int *  omode,
int *  oopnum 
)
boolean pconx_convert_value_data ( weed_plant_t *  inst,
int  pnum,
weed_plant_t *  dparam,
int  okey,
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  )
char* pconx_list ( int  okey,
int  omode,
int  opnum 
)
void pconx_remap_mode ( int  key,
int  omode,
int  nmode 
)