mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-14 11:50:02 +01:00
75 lines
3.5 KiB
C
75 lines
3.5 KiB
C
#ifndef PLUGINLOADER_
|
|
#define PLUGINLOADER_
|
|
/*
|
|
* Copyright (C) 2002-2006 Niels Elburg <nwelburg@gmail.com>
|
|
*
|
|
* This program is free software you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*
|
|
*/
|
|
|
|
/*
|
|
veejay plugin loader, library that wraps up all kinds of "plugin standards"
|
|
|
|
FIXME: must be refactored
|
|
*/
|
|
void plug_sys_free(void);
|
|
void plug_sys_init( int fmt, int w, int h );
|
|
void plug_sys_set_palette( int palette );
|
|
int plug_sys_detect_plugins(void);
|
|
int plug_get_num_output_channels(int id);
|
|
int plug_get_num_input_channels(int id);
|
|
int plug_get_num_parameters(int id);
|
|
char *plug_get_name( int fx_id );
|
|
int plug_get_fx_id_by_name( const char *name );
|
|
int plug_get_num_input_channels( int fx_id );
|
|
int plug_set_param_from_str( void *plugin , int p, const char *str, void *fx_values );
|
|
void *plug_activate( int fx_id );
|
|
void plug_deactivate( void *instance );
|
|
void plug_push_frame( void *instance, int out, int seq_num, void *frame );
|
|
void plug_process( void *instance, double timecode );
|
|
void plug_get_defaults( void *instance, void *fx_values );
|
|
void plug_set_parameter( void *instance, int seq_num, int n_elements,void *value );
|
|
void plug_set_parameters( void *instance, int n_arg, void *darg );
|
|
int plug_clone_from_output_parameters( void *instance, void *fx_values );
|
|
char *plug_get_osc_format(void *fx_instance, int p);
|
|
void plug_build_name_space( int fx_id, void *fx_instance, void *data, int entry_id, int sample_id, void(*cb)(void *ud, void *p, void *v), void *cb_data);
|
|
char *plug_get_osc_path_parameter(void *instance, int k);
|
|
char *plug_get_so_name_by_idx( int index );
|
|
int *plug_find_all_generator_plugins( int *total );
|
|
void plug_clear_namespace( void *fx_instance, void *data );
|
|
int plug_find_generator_plugins(int *total, int seq );
|
|
void *plug_get( int fd_id );
|
|
vj_effect *plug_get_plugin( int fx_id );
|
|
void *plug_get_by_so_name( char *soname );
|
|
int plug_get_idx_by_name( char *name);
|
|
int plug_get_idx_by_so_name( char *soname );
|
|
int plug_is_frei0r( void *instance );
|
|
char *plug_get_so_name_by_idx( int id );
|
|
void plug_get_parameters( void *instance, int *args, int *n_args);
|
|
char *plug_describe_param( void *plugin, int p );
|
|
char *list_plugins();
|
|
void plug_clone_from_parameters(void *instance, void *fx_values);
|
|
void plug_clone_parameters( void *instance, void *fx_values );
|
|
void plug_set_defaults( void *instance, void *fx_values );
|
|
char *plug_describe( int fx_id );
|
|
void plug_concatenate_all(void *osc, void *msg);
|
|
void *plug_get_name_space( void *instance );
|
|
int plug_instance_get_num_parameters( void *instance );
|
|
int plug_parameter_get_range_dbl( void *fx_instance,const char *key, int k, double *min, double *max , int *kind );
|
|
int plug_get_index_parameter_as_dbl( void *fx_instance,const char *key, int k , double *res);
|
|
int plug_get_number_parameter_as_dbl( void *fx_instance, const char *key, int k , double *res);
|
|
int plug_get_coord_parameter_as_dbl( void *fx_instance,const char *key, int k, double *res_x, double *res_y );
|
|
#endif
|