LiVES  3.2.0
Data Structures | Macros | Functions
effects-data.h File Reference

Go to the source code of this file.

Data Structures

struct  lives_pconnect_t
 
struct  lives_cconnect_t
 
struct  lives_conx_w
 

Macros

#define FX_DATA_WILDCARD   -1000000
 
#define FX_DATA_WILDCARD_KEEP_ACTIVATED   -1000001
 
#define FX_DATA_KEY_SUBTITLES   -1
 
#define FX_DATA_KEY_PLAYBACK_PLUGIN   -2
 
#define FX_DATA_KEY_OMC_MACRO   -3
 
#define EXTRA_PARAMS_OUT   1
 Activate. More...
 
#define EXTRA_PARAMS_IN   1
 Activated. More...
 
#define FX_DATA_PARAM_ACTIVE   -1
 activate || activated More...
 

Functions

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...
 
void pconx_delete_all ()
 
void pconx_delete (int okey, int omode, int ocnum, int ikey, int imode, int icnum)
 
void pconx_remap_mode (int key, int omode, int nmode)
 
boolean pconx_chain_data (int key, int mode, boolean is_audio_thread)
 
int pconx_chain_data_omc (weed_plant_t *instance, int key, int mode)
 
char * pconx_list (int okey, int omode, int opnum)
 
boolean pconx_chain_data_internal (weed_plant_t *inst)
 
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...
 
void cconx_delete_all ()
 
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)
 
boolean cconx_chain_data (int key, int mode)
 
char * cconx_list (int okey, int omode, int ocnum)
 
boolean cconx_chain_data_internal (weed_plant_t *ichan)
 
void override_if_active_input (int hotkey)
 
void end_override_if_activate_output (int hotkey)
 
LiVESWidget * make_datacon_window (int key, int mode)
 
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)
 
boolean feeds_to_video_filters (int okey, int omode)
 
boolean feeds_to_audio_filters (int okey, int omode)
 

Macro Definition Documentation

◆ EXTRA_PARAMS_IN

#define EXTRA_PARAMS_IN   1

Activated.

Definition at line 16 of file effects-data.h.

◆ EXTRA_PARAMS_OUT

#define EXTRA_PARAMS_OUT   1

Activate.

Definition at line 15 of file effects-data.h.

◆ FX_DATA_KEY_OMC_MACRO

#define FX_DATA_KEY_OMC_MACRO   -3

Definition at line 13 of file effects-data.h.

◆ FX_DATA_KEY_PLAYBACK_PLUGIN

#define FX_DATA_KEY_PLAYBACK_PLUGIN   -2

Definition at line 12 of file effects-data.h.

◆ FX_DATA_KEY_SUBTITLES

#define FX_DATA_KEY_SUBTITLES   -1

Definition at line 11 of file effects-data.h.

◆ FX_DATA_PARAM_ACTIVE

#define FX_DATA_PARAM_ACTIVE   -1

activate || activated

Definition at line 18 of file effects-data.h.

◆ FX_DATA_WILDCARD

#define FX_DATA_WILDCARD   -1000000

Definition at line 7 of file effects-data.h.

◆ FX_DATA_WILDCARD_KEEP_ACTIVATED

#define FX_DATA_WILDCARD_KEEP_ACTIVATED   -1000001

Definition at line 8 of file effects-data.h.

Function Documentation

◆ cconx_add_connection()

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

Definition at line 1954 of file effects-data.c.

◆ cconx_chain_data()

boolean cconx_chain_data ( int  key,
int  mode 
)

< dest effect is not found

< dest effect is not enabled

Definition at line 2129 of file effects-data.c.

◆ cconx_chain_data_internal()

boolean cconx_chain_data_internal ( weed_plant_t *  ichan)

Definition at line 2166 of file effects-data.c.

◆ cconx_check_connection()

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 
)

Definition at line 3633 of file effects-data.c.

◆ cconx_delete()

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

Definition at line 1663 of file effects-data.c.

Referenced by on_clear_clicked().

◆ cconx_delete_all()

void cconx_delete_all ( )

Definition at line 1560 of file effects-data.c.

◆ cconx_list()

char* cconx_list ( int  okey,
int  omode,
int  ocnum 
)

Definition at line 1635 of file effects-data.c.

Referenced by feeds_to_audio_filters(), and feeds_to_video_filters().

◆ cconx_remap_mode()

void cconx_remap_mode ( int  key,
int  omode,
int  nmode 
)

Definition at line 1744 of file effects-data.c.

Referenced by on_clear_clicked().

◆ end_override_if_activate_output()

void end_override_if_activate_output ( int  hotkey)

Definition at line 126 of file effects-data.c.

Referenced by rte_on_off_callback().

◆ feeds_to_audio_filters()

boolean feeds_to_audio_filters ( int  okey,
int  omode 
)

Definition at line 2228 of file effects-data.c.

Referenced by weed_apply_audio_instance().

◆ feeds_to_video_filters()

boolean feeds_to_video_filters ( int  okey,
int  omode 
)

Definition at line 2178 of file effects-data.c.

◆ make_datacon_window()

LiVESWidget* make_datacon_window ( int  key,
int  mode 
)

! dont - causes other buttons to exp. vert in gtk2

Definition at line 4722 of file effects-data.c.

◆ override_if_active_input()

void override_if_active_input ( int  hotkey)

Definition at line 98 of file effects-data.c.

Referenced by rte_on_off_callback().

◆ pconx_add_connection()

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

Definition at line 618 of file effects-data.c.

◆ pconx_chain_data()

boolean pconx_chain_data ( int  key,
int  mode,
boolean  is_audio_thread 
)

we need to keep these locked for as little time as possible so as not to hang up the video / audio thread

Definition at line 1390 of file effects-data.c.

Referenced by get_audio_from_plugin(), rte_on_off_callback(), and weed_apply_audio_effects_rt().

◆ pconx_chain_data_internal()

boolean pconx_chain_data_internal ( weed_plant_t *  inst)

Definition at line 1525 of file effects-data.c.

◆ pconx_chain_data_omc()

int pconx_chain_data_omc ( weed_plant_t *  instance,
int  key,
int  mode 
)

Definition at line 1323 of file effects-data.c.

◆ pconx_check_connection()

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 
)

Definition at line 3390 of file effects-data.c.

◆ pconx_delete()

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

Definition at line 262 of file effects-data.c.

Referenced by on_clear_clicked().

◆ pconx_delete_all()

void pconx_delete_all ( )

Definition at line 153 of file effects-data.c.

◆ pconx_list()

char* pconx_list ( int  okey,
int  omode,
int  opnum 
)

Definition at line 231 of file effects-data.c.

Referenced by feeds_to_audio_filters(), and feeds_to_video_filters().

◆ pconx_remap_mode()

void pconx_remap_mode ( int  key,
int  omode,
int  nmode 
)

Definition at line 380 of file effects-data.c.

Referenced by on_clear_clicked().