Kestrel Interface
Loading...
Searching...
No Matches
kest_parameter.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  kest_parameter_id
struct  kest_parameter
struct  kest_setting_option
struct  kest_setting_id
struct  kest_setting

Macros

#define PARAM_NAM_ENG_MAX_LEN   254
#define PARAMETER_SCALE_LINEAR   0
#define PARAMETER_SCALE_LOGARITHMIC   1
#define KEST_STANDARD_GAIN_MIN   -24
#define KEST_STANDARD_GAIN_MAX   24
#define TRANSFORMER_SETTING_ENUM   0
#define TRANSFORMER_SETTING_BOOL   1
#define TRANSFORMER_SETTING_INT   2
#define TRANSFORMER_SETTING_PAGE_SETTINGS   0
#define TRANSFORMER_SETTING_PAGE_MAIN   1

Typedefs

typedef kest_setting_pll setting_ll

Functions

 DECLARE_LINKED_PTR_LIST (kest_parameter)
 DECLARE_LINKED_PTR_LIST (kest_setting)
int init_parameter_str (kest_parameter *param)
int init_parameter (kest_parameter *param, const char *name, float level, float min, float max)
int init_parameter_wni (kest_parameter *param, const char *name, const char *name_internal, float level, float min, float max)
int kest_parameters_assign_ids (kest_parameter_pll *list)
int kest_settings_assign_ids (kest_setting_pll *list)
kest_parameternew_m_parameter_wni (const char *name, const char *name_internal, float level, float min, float max)
int init_setting_str (kest_setting *setting)
int init_setting (kest_setting *setting, const char *name, uint16_t level)
void clone_parameter (kest_parameter *dest, kest_parameter *src)
kest_parameterkest_parameter_make_clone (kest_parameter *src)
kest_parameterkest_parameter_make_clone_for_effect (kest_parameter *src, struct kest_effect *effect)
void gut_parameter (kest_parameter *param)
void kest_parameter_free (kest_parameter *param)
int clone_setting (kest_setting *dest, kest_setting *src)
kest_settingkest_setting_make_clone (kest_setting *src)
kest_settingkest_setting_make_clone_for_effect (kest_setting *src, struct kest_effect *effect)
void gut_setting (kest_setting *setting)
void kest_setting_free (kest_setting *setting)
void kest_parameter_effect_rep_update (void *representer, void *representee)
void kest_setting_effect_rep_update (void *representer, void *representee)

Macro Definition Documentation

◆ KEST_STANDARD_GAIN_MAX

#define KEST_STANDARD_GAIN_MAX   24

Definition at line 10 of file kest_parameter.h.

◆ KEST_STANDARD_GAIN_MIN

#define KEST_STANDARD_GAIN_MIN   -24

Definition at line 9 of file kest_parameter.h.

◆ PARAM_NAM_ENG_MAX_LEN

#define PARAM_NAM_ENG_MAX_LEN   254

Definition at line 4 of file kest_parameter.h.

◆ PARAMETER_SCALE_LINEAR

◆ PARAMETER_SCALE_LOGARITHMIC

◆ TRANSFORMER_SETTING_BOOL

#define TRANSFORMER_SETTING_BOOL   1

Definition at line 69 of file kest_parameter.h.

Referenced by kest_extract_setting_from_dict().

◆ TRANSFORMER_SETTING_ENUM

#define TRANSFORMER_SETTING_ENUM   0

Definition at line 68 of file kest_parameter.h.

Referenced by kest_extract_setting_from_dict().

◆ TRANSFORMER_SETTING_INT

#define TRANSFORMER_SETTING_INT   2

Definition at line 70 of file kest_parameter.h.

Referenced by init_setting_str(), and kest_extract_setting_from_dict().

◆ TRANSFORMER_SETTING_PAGE_MAIN

#define TRANSFORMER_SETTING_PAGE_MAIN   1

◆ TRANSFORMER_SETTING_PAGE_SETTINGS

#define TRANSFORMER_SETTING_PAGE_SETTINGS   0

Typedef Documentation

◆ setting_ll

typedef kest_setting_pll setting_ll

Definition at line 110 of file kest_parameter.h.

Function Documentation

◆ clone_parameter()

void clone_parameter ( kest_parameter * dest,
kest_parameter * src )

Definition at line 182 of file kest_parameter.c.

Referenced by clone_profile(), kest_parameter_make_clone(), and kest_parameter_make_clone_for_effect().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clone_setting()

int clone_setting ( kest_setting * dest,
kest_setting * src )

Definition at line 247 of file kest_parameter.c.

Referenced by clone_effect(), kest_setting_make_clone(), and kest_setting_make_clone_for_effect().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DECLARE_LINKED_PTR_LIST() [1/2]

DECLARE_LINKED_PTR_LIST ( kest_parameter )

◆ DECLARE_LINKED_PTR_LIST() [2/2]

DECLARE_LINKED_PTR_LIST ( kest_setting )

◆ gut_parameter()

void gut_parameter ( kest_parameter * param)

Definition at line 149 of file kest_parameter.c.

Referenced by kest_extract_parameter_from_dict(), and kest_parameter_free().

Here is the caller graph for this function:

◆ gut_setting()

void gut_setting ( kest_setting * setting)

Definition at line 332 of file kest_parameter.c.

Referenced by gut_effect(), kest_extract_setting_from_dict(), and kest_setting_free().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_parameter()

int init_parameter ( kest_parameter * param,
const char * name,
float level,
float min,
float max )

Definition at line 46 of file kest_parameter.c.

Referenced by init_effect(), init_m_profile(), init_parameter_wni(), and kest_init_context().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_parameter_str()

int init_parameter_str ( kest_parameter * param)

Definition at line 15 of file kest_parameter.c.

Referenced by clone_parameter(), effect_add_parameter(), and kest_extract_parameter_from_dict().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_parameter_wni()

int init_parameter_wni ( kest_parameter * param,
const char * name,
const char * name_internal,
float level,
float min,
float max )

Definition at line 84 of file kest_parameter.c.

Referenced by new_m_parameter_wni().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_setting()

int init_setting ( kest_setting * setting,
const char * name,
uint16_t level )

Definition at line 123 of file kest_parameter.c.

Referenced by init_effect().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_setting_str()

int init_setting_str ( kest_setting * setting)

Definition at line 94 of file kest_parameter.c.

Referenced by clone_setting(), effect_add_setting(), and kest_extract_setting_from_dict().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ kest_parameter_effect_rep_update()

void kest_parameter_effect_rep_update ( void * representer,
void * representee )

Definition at line 467 of file kest_parameter.c.

Referenced by init_parameter(), and init_parameter_str().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ kest_parameter_free()

void kest_parameter_free ( kest_parameter * param)

Definition at line 159 of file kest_parameter.c.

Referenced by free_effect().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ kest_parameter_make_clone()

kest_parameter * kest_parameter_make_clone ( kest_parameter * src)

Definition at line 213 of file kest_parameter.c.

Here is the call graph for this function:

◆ kest_parameter_make_clone_for_effect()

kest_parameter * kest_parameter_make_clone_for_effect ( kest_parameter * src,
struct kest_effect * effect )

Definition at line 228 of file kest_parameter.c.

Referenced by init_effect_from_effect_desc().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ kest_parameters_assign_ids()

int kest_parameters_assign_ids ( kest_parameter_pll * list)

Definition at line 357 of file kest_parameter.c.

Referenced by kest_parse_tokens().

Here is the caller graph for this function:

◆ kest_setting_effect_rep_update()

void kest_setting_effect_rep_update ( void * representer,
void * representee )

Definition at line 480 of file kest_parameter.c.

Referenced by init_setting(), and init_setting_str().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ kest_setting_free()

void kest_setting_free ( kest_setting * setting)

Definition at line 346 of file kest_parameter.c.

Referenced by free_effect().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ kest_setting_make_clone()

kest_setting * kest_setting_make_clone ( kest_setting * src)

Definition at line 298 of file kest_parameter.c.

Here is the call graph for this function:

◆ kest_setting_make_clone_for_effect()

kest_setting * kest_setting_make_clone_for_effect ( kest_setting * src,
struct kest_effect * effect )

Definition at line 313 of file kest_parameter.c.

Referenced by init_effect_from_effect_desc().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ kest_settings_assign_ids()

int kest_settings_assign_ids ( kest_setting_pll * list)

Definition at line 379 of file kest_parameter.c.

Referenced by kest_parse_tokens().

Here is the caller graph for this function:

◆ new_m_parameter_wni()

kest_parameter * new_m_parameter_wni ( const char * name,
const char * name_internal,
float level,
float min,
float max )

Definition at line 73 of file kest_parameter.c.

Here is the call graph for this function: