CI130X SDK API手册  2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
asr_malloc_port.h
浏览该文件的文档.
1 
11 #include "stdint.h"
12 
13 #ifndef _ASR_DECODER_PORT_H_
14 #define _ASR_DECODER_PORT_H_
15 
16 
17 #ifdef __cplusplus
18 extern "C"
19 {
20 #endif
21 
22 unsigned int get_pruntab_nocache_addr(uint16_t size);
23 void free_asrwindows_nocache_addr(unsigned int addr);
24 
25 extern void *decoder_port_malloc(int size);
26 extern void decoder_port_free(void *pp);
27 extern void* asr_hardware_malloc(int size);
28 extern void asr_hardware_free(void* p);
29 extern void free_dnn_outbuf_addr(void*p);
30 extern unsigned int malloc_dnn_outbuf_addr(int buf_size,int * buf_total_size);
31 void * malloc_insram(int size);
32 void* malloc_insram_bnpu(int size);
33 void free_insram_bnpu(void* p);
34 void free_insram(void* p);
35 void free_inscache_psram(void* p);
36 void * malloc_inscache_psram(int size);
37 int check_bufaddr_is_insram(unsigned int addr ,int size);
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 #endif
void free_asrwindows_nocache_addr(unsigned int addr)
void * malloc_insram(int size)
unsigned int get_pruntab_nocache_addr(uint16_t size)
void * decoder_port_malloc(int size)
decoder lib used malloc function, can add some info for debug
Definition: asr_malloc_port.c:117
void asr_hardware_free(void *p)
void * malloc_insram_bnpu(int size)
Definition: asr_malloc_port.c:98
void free_insram_bnpu(void *p)
dnn hard out buf used malloc function
Definition: asr_malloc_port.c:76
void free_dnn_outbuf_addr(void *p)
void * malloc_inscache_psram(int size)
unsigned int malloc_dnn_outbuf_addr(int buf_size, int *buf_total_size)
void * asr_hardware_malloc(int size)
int check_bufaddr_is_insram(unsigned int addr, int size)
void free_insram(void *p)
void decoder_port_free(void *pp)
decoder lib used malloc function, can add some info for debug
Definition: asr_malloc_port.c:202
void free_inscache_psram(void *p)