📄 g711.sci
字号:
extern int __mb_cur_max;
int mblen (const char *, size_t);
int mbtowc (wchar_t *, const char *, size_t);
int mbstowc (wchar_t *, const char *, size_t);
size_t mbstowcs (wchar_t *, const char *, size_t);
int wctomb (char *, wchar_t);
size_t wcstombs (char *, const wchar_t *, size_t);
# 26 "c:/spi_rapidev/tools/bin/../include/spi_support.h" 2
# 50 "c:/spi_rapidev/tools/bin/../include/spi_support.h"
void spi_exit(int);
typedef int SPI_PUTS_FN(char *string);
void spi_set_puts_callback(SPI_PUTS_FN *fn);
void spi_set_error_puts_callback(SPI_PUTS_FN *fn);
SPI_PUTS_FN spi_sys_puts;
SPI_PUTS_FN spi_sys_error_puts;
SPI_PUTS_FN spi_puts;
SPI_PUTS_FN spi_error_puts;
# 69 "c:/spi_rapidev/tools/bin/../include/spi_support.h"
typedef enum
{
MSG_INVALID = 0,
MSG_ERROR,
MSG_WARNING,
MSG_INFO,
MSG_MAX
} SPI_MSG_TYPE;
typedef struct SPI_MSG_LOCATION
{
char *filename;
int line;
int column;
char *text;
struct SPI_MSG_LOCATION *next;
struct SPI_MSG_LOCATION *end;
} SPI_MSG_LOCATION;
typedef void SPI_MSG_FN(int id, SPI_MSG_TYPE type, int level, int is_fatal, SPI_MSG_LOCATION *locations, char *text);
void spi_msg_set_callback(SPI_MSG_FN *fn);
int spi_msg_new_location(SPI_MSG_LOCATION **first, char *filename, int line, int column, char *format, ...);
void spi_msg_delete_locations(SPI_MSG_LOCATION *locations);
void spi_msg_set_warning_level(int level);
void spi_msg_set_info_level(int level);
void spi_msg_set_debug_level(int level);
void spi_msg_disable(int id);
void spi_msg_enable(int id);
void spi_msg_error(int id, SPI_MSG_LOCATION *locations, ...);
void spi_msg_warning(int id, SPI_MSG_LOCATION *locations, ...);
void spi_msg_info(int id, SPI_MSG_LOCATION *locations, ...);
void spi_msg_debug(int level, char *format, ...);
SPI_MSG_FN spi_msg;
SPI_MSG_FN spi_sys_msg;
void spi_internal_error(char *format, ...);
# 146 "c:/spi_rapidev/tools/bin/../include/spi_support.h"
typedef struct CMD_LINE_OPTION_INFO
{
int id;
int short_name_ok;
int hidden;
int value_size;
char name[64 + 1];
char value_format[32 + 1];
void *variable;
char value_description[128 + 1];
char description[128 + 1];
struct CMD_LINE_OPTION_INFO *next;
} CMD_LINE_OPTION_INFO;
typedef struct CMD_LINE_VALUE
{
CMD_LINE_OPTION_INFO *info;
void *value;
char value_text[1024 + 1];
char filename[2048 + 1];
struct CMD_LINE_VALUE *next;
} CMD_LINE_VALUE;
int spi_new_cmd_line_option(CMD_LINE_OPTION_INFO **list, int id, int short_name_ok, int hidden, int value_size, char *name, char *value_format, void *var, char *value_descripton, char *description, ...);
void spi_del_cmd_line_options(CMD_LINE_OPTION_INFO *list);
int spi_process_cmd_line(char *title, char *description, char *parameters_text, CMD_LINE_OPTION_INFO *options, int argc, char *argv[], int parameter_count, CMD_LINE_VALUE **values, char *exe_path);
void spi_del_cmd_line_values(CMD_LINE_VALUE *values);
CMD_LINE_OPTION_INFO *spi_find_cmd_line_option(CMD_LINE_OPTION_INFO *options, char *name);
CMD_LINE_VALUE *spi_add_cmd_line_value(CMD_LINE_OPTION_INFO *info, char *value_text, char *filename);
# 194 "c:/spi_rapidev/tools/bin/../include/spi_support.h"
typedef enum
{
TAG_NONE = 0,
TAG_XML_HEADER,
TAG_COMMENT,
TAG_OPEN,
TAG_CLOSE,
TAG_SINGLE,
TAG_MAX
} E_TAG_TYPE;
typedef struct S_XML_ATTRIBUTE
{
int line;
char name[256 + 1];
char value[256 + 1];
struct S_XML_ATTRIBUTE *next;
} S_XML_ATTRIBUTE;
typedef struct S_XML_TAG
{
E_TAG_TYPE type;
int line;
char name[256 + 1];
char *data;
struct S_XML_ATTRIBUTE *attributes;
} S_XML_TAG;
typedef struct S_XML_BLOCK
{
struct S_XML_TAG start_tag;
struct S_XML_TAG end_tag;
struct S_XML_BLOCK *sub_blocks;
struct S_XML_BLOCK *next;
} S_XML_BLOCK;
S_XML_BLOCK *read_xml(char *filename);
void dump_xml(S_XML_BLOCK *xml, int level);
void free_xml(S_XML_BLOCK *xml);
typedef enum
{
PERF_STATE_INIT = 0,
PERF_STATE_START,
PERF_STATE_STOP
} E_SPI_PERF_STATE_T;
typedef struct SPI_PERF_T
{
char name[40 +1];
E_SPI_PERF_STATE_T state;
unsigned int total_cnt;
unsigned int hits;
unsigned int max_cnt;
unsigned int prev_time;
unsigned int elapsed_time;
unsigned int marker_id;
} SPI_PERF_T;
extern unsigned int cpu_count_get(void);
extern void spi_perf_start(SPI_PERF_T *p_perf);
extern void spi_perf_stop(SPI_PERF_T *p_perf);
extern void spi_perf_init(SPI_PERF_T *p_perf, char *name);
extern void spi_perf_add(SPI_PERF_T *p_perf_dst, SPI_PERF_T *p_perf_src);
extern void spi_perf_print(SPI_PERF_T *p_perf, int print_header);
extern void spi_perf_print_clocks();
extern void spi_perf_wait(float seconds);
extern float spi_perf_get_run_time(SPI_PERF_T *p_perf);
extern float spi_perf_get_cumulative_run_time(SPI_PERF_T *p_perf);
# 32 "c:/spi_rapidev/tools/bin/../include/spi_common.h" 2
# 1 "c:/spi_rapidev/tools/bin/../include/spi_runtime.h" 1
# 35 "c:/spi_rapidev/tools/bin/../include/spi_runtime.h"
typedef struct SPI_VEC8I_S {
signed int lanes[16];
} SPI_VEC8I_T;
typedef struct SPI_VEC8U_S {
unsigned int lanes[16];
} SPI_VEC8U_T;
typedef struct SPI_VEC16I_S {
signed int lanes[16];
} SPI_VEC16I_T;
typedef struct SPI_VEC16U_S {
unsigned int lanes[16];
} SPI_VEC16U_T;
typedef struct SPI_VECI_S {
signed int lanes[16];
} SPI_VECI_T;
typedef struct SPI_VECU_S {
unsigned int lanes[16];
} SPI_VECU_T;
# 69 "c:/spi_rapidev/tools/bin/../include/spi_runtime.h"
typedef enum
{
SCALAR_NONE = 0,
SCALAR_IN,
SCALAR_OUT,
SCALAR_IO,
SCALAR_TYPE_MAX
} SPI_SCALAR_TYPE_E;
typedef enum
{
STREAM_NONE = 0,
STREAM_SEQ_IN,
STREAM_SEQ_OUT,
STREAM_COND_IN,
STREAM_COND_OUT,
STREAM_ARRAY_IN,
STREAM_ARRAY_OUT,
STREAM_ARRAY_IO,
STREAM_LOAD,
STREAM_STORE,
STREAM_TYPE_MAX
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -