CI130X SDK API手册  2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
函数
asr_malloc_port.h 文件参考
#include "stdint.h"

浏览源代码.

函数

unsigned int get_pruntab_nocache_addr (uint16_t size)
 
void free_asrwindows_nocache_addr (unsigned int addr)
 
void * decoder_port_malloc (int size)
 decoder lib used malloc function, can add some info for debug 更多...
 
void decoder_port_free (void *pp)
 decoder lib used malloc function, can add some info for debug 更多...
 
void * asr_hardware_malloc (int size)
 
void asr_hardware_free (void *p)
 
void free_dnn_outbuf_addr (void *p)
 
unsigned int malloc_dnn_outbuf_addr (int buf_size, int *buf_total_size)
 
void * malloc_insram (int size)
 
void * malloc_insram_bnpu (int size)
 
void free_insram_bnpu (void *p)
 dnn hard out buf used malloc function 更多...
 
void free_insram (void *p)
 
void free_inscache_psram (void *p)
 
void * malloc_inscache_psram (int size)
 
int check_bufaddr_is_insram (unsigned int addr, int size)
 

函数说明

◆ asr_hardware_free()

void asr_hardware_free ( void *  p)

◆ asr_hardware_malloc()

void* asr_hardware_malloc ( int  size)

◆ check_bufaddr_is_insram()

int check_bufaddr_is_insram ( unsigned int  addr,
int  size 
)

◆ decoder_port_free()

void decoder_port_free ( void *  pp)

decoder lib used malloc function, can add some info for debug

参数
pp: free address pointer

◆ decoder_port_malloc()

void* decoder_port_malloc ( int  size)

decoder lib used malloc function, can add some info for debug

参数
size: malloc size
返回
void* : malloc address,NULL is malloc failed

◆ free_asrwindows_nocache_addr()

void free_asrwindows_nocache_addr ( unsigned int  addr)

◆ free_dnn_outbuf_addr()

void free_dnn_outbuf_addr ( void *  p)

◆ free_inscache_psram()

void free_inscache_psram ( void *  p)

◆ free_insram()

void free_insram ( void *  p)

◆ free_insram_bnpu()

void free_insram_bnpu ( void *  p)

dnn hard out buf used malloc function

参数
size: malloc size
返回
void* : malloc address,NULL is malloc failed dnn hard out buf used free function
参数
size: free address
返回
void : no

◆ get_pruntab_nocache_addr()

unsigned int get_pruntab_nocache_addr ( uint16_t  size)

◆ malloc_dnn_outbuf_addr()

unsigned int malloc_dnn_outbuf_addr ( int  buf_size,
int *  buf_total_size 
)

◆ malloc_inscache_psram()

void* malloc_inscache_psram ( int  size)

◆ malloc_insram()

void* malloc_insram ( int  size)

◆ malloc_insram_bnpu()

void* malloc_insram_bnpu ( int  size)