LiVES  3.2.0
Macros | Enumerations | Functions
effects-data.c File Reference
#include "main.h"
#include "effects.h"
#include "ce_thumbs.h"
#include "omc-learn.h"

Go to the source code of this file.

Macros

#define BW   (40. * widget_opts.scale)
 
#define BH   (40. * widget_opts.scale)
 

Enumerations

enum  {
  KEY_COLUMN, NAME_COLUMN, KEYVAL_COLUMN, MODEVAL_COLUMN,
  EFD_NUM_COLUMNS, TITLE_COLUMN, KEY_COLUMN, VALUE_COLUMN,
  DESC_COLUMN, NUM_COLUMNS, const_domain_notify, const_domain_response,
  const_domain_grav, const_domain_insert_mode, LIVES_DEVICE_CD = 0, LIVES_DEVICE_DVD,
  LIVES_DEVICE_VCD, LIVES_DEVICE_INTERNAL, LIVES_DEVICE_TV_CARD, LIVES_DEVICE_FW_CARD,
  TITLE_COLUMN, VALUE_COLUMN, FILTER_COLUMN, RANGE_COLUMN,
  OFFS1_COLUMN, SCALE_COLUMN, OFFS2_COLUMN, OMC_NUM_COLUMNS,
  LIST_ENTRY_GUI, LIST_ENTRY_DECODING, LIST_ENTRY_PLAYBACK, LIST_ENTRY_RECORDING,
  LIST_ENTRY_ENCODING, LIST_ENTRY_EFFECTS, LIST_ENTRY_DIRECTORIES, LIST_ENTRY_WARNINGS,
  LIST_ENTRY_MISC, LIST_ENTRY_THEMES, LIST_ENTRY_NET, LIST_ENTRY_JACK,
  LIST_ENTRY_MIDI, LIST_ENTRY_MULTITRACK, EXTENDED_NAME_COLUMN, NAME_COLUMN,
  HASH_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...
 
int pconx_chain_data_omc (weed_plant_t *inst, int okey, int omode)
 
boolean pconx_chain_data (int key, int mode, boolean is_audio_thread)
 
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)
 

Macro Definition Documentation

◆ BH

#define BH   (40. * widget_opts.scale)

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

◆ BW

#define BW   (40. * widget_opts.scale)

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

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
KEY_COLUMN 
NAME_COLUMN 
KEYVAL_COLUMN 
MODEVAL_COLUMN 
EFD_NUM_COLUMNS 
TITLE_COLUMN 
KEY_COLUMN 
VALUE_COLUMN 
DESC_COLUMN 
NUM_COLUMNS 
const_domain_notify 
const_domain_response 
const_domain_grav 
const_domain_insert_mode 
LIVES_DEVICE_CD 
LIVES_DEVICE_DVD 
LIVES_DEVICE_VCD 
LIVES_DEVICE_INTERNAL 
LIVES_DEVICE_TV_CARD 
LIVES_DEVICE_FW_CARD 
TITLE_COLUMN 
VALUE_COLUMN 
FILTER_COLUMN 
RANGE_COLUMN 
OFFS1_COLUMN 
SCALE_COLUMN 
OFFS2_COLUMN 
OMC_NUM_COLUMNS 
LIST_ENTRY_GUI 
LIST_ENTRY_DECODING 
LIST_ENTRY_PLAYBACK 
LIST_ENTRY_RECORDING 
LIST_ENTRY_ENCODING 
LIST_ENTRY_EFFECTS 
LIST_ENTRY_DIRECTORIES 
LIST_ENTRY_WARNINGS 
LIST_ENTRY_MISC 
LIST_ENTRY_THEMES 
LIST_ENTRY_NET 
LIST_ENTRY_JACK 
LIST_ENTRY_MIDI 
LIST_ENTRY_MULTITRACK 
EXTENDED_NAME_COLUMN 
NAME_COLUMN 
HASH_COLUMN 
NUM_COLUMNS 

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

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

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

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

Referenced by cconx_chain_data_internal().

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

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 *  inst,
int  okey,
int  omode 
)

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  opnum,
int  ikey,
int  imode,
int  ipnum 
)

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

Referenced by on_clear_clicked().

◆ pconx_delete_all()

void pconx_delete_all ( void  )

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