Kestrel Interface
Loading...
Searching...
No Matches
kest_resource.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_dsp_resource
struct  kest_filter
struct  kest_eff_resource_report

Macros

#define KEST_DSP_RESOURCE_NOTHING   0
#define KEST_DSP_RESOURCE_LUT   1
#define KEST_DSP_RESOURCE_MEM   2
#define KEST_DSP_RESOURCE_DELAY   3
#define KEST_DSP_RESOURCE_FILTER   4

Functions

int kest_init_dsp_resource (kest_dsp_resource *res)
int string_to_resource_type (const char *type_str)
 DECLARE_LINKED_PTR_LIST (kest_dsp_resource)
int kest_filter_init (kest_filter *filter)
kest_filterkest_filter_create (kest_allocator *alloc)
int kest_resources_assign_handles (kest_dsp_resource_pll *list)
kest_eff_resource_report empty_m_eff_resource_report ()
int kest_resource_report_integrate (kest_eff_resource_report *a, const kest_eff_resource_report *b)

Variables

kest_dsp_resource sin_lut
kest_dsp_resource tanh_lut

Macro Definition Documentation

◆ KEST_DSP_RESOURCE_DELAY

◆ KEST_DSP_RESOURCE_FILTER

◆ KEST_DSP_RESOURCE_LUT

#define KEST_DSP_RESOURCE_LUT   1

Definition at line 5 of file kest_resource.h.

Referenced by kest_block_instr_encode_resource_aware().

◆ KEST_DSP_RESOURCE_MEM

◆ KEST_DSP_RESOURCE_NOTHING

#define KEST_DSP_RESOURCE_NOTHING   0

Function Documentation

◆ DECLARE_LINKED_PTR_LIST()

DECLARE_LINKED_PTR_LIST ( kest_dsp_resource )

◆ empty_m_eff_resource_report()

kest_eff_resource_report empty_m_eff_resource_report ( )

Definition at line 127 of file kest_resource.c.

Referenced by kest_pipeline_create_fpga_transfer_batch().

Here is the caller graph for this function:

◆ kest_filter_create()

kest_filter * kest_filter_create ( kest_allocator * alloc)

Definition at line 150 of file kest_resource.c.

Referenced by kest_dsp_resource_create_filter(), kest_extract_biquad_from_dict(), and kest_extract_filter_from_dict().

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

◆ kest_filter_init()

int kest_filter_init ( kest_filter * filter)

Definition at line 136 of file kest_resource.c.

◆ kest_init_dsp_resource()

int kest_init_dsp_resource ( kest_dsp_resource * res)

Definition at line 34 of file kest_resource.c.

Referenced by kest_extract_resource_from_dict().

Here is the caller graph for this function:

◆ kest_resource_report_integrate()

int kest_resource_report_integrate ( kest_eff_resource_report * a,
const kest_eff_resource_report * b )

Definition at line 166 of file kest_resource.c.

Referenced by kest_fpga_batch_append_effect().

Here is the caller graph for this function:

◆ kest_resources_assign_handles()

int kest_resources_assign_handles ( kest_dsp_resource_pll * list)

Definition at line 88 of file kest_resource.c.

Referenced by kest_parse_tokens().

Here is the caller graph for this function:

◆ string_to_resource_type()

int string_to_resource_type ( const char * type_str)

Definition at line 70 of file kest_resource.c.

Referenced by kest_extract_resource_from_dict().

Here is the caller graph for this function:

Variable Documentation

◆ sin_lut

kest_dsp_resource sin_lut
extern

Definition at line 16 of file kest_resource.c.

Referenced by kest_process_asm_line().

◆ tanh_lut

kest_dsp_resource tanh_lut
extern

Definition at line 25 of file kest_resource.c.

Referenced by kest_process_asm_line().