Searched refs:logtab (Results 1 – 7 of 7) sorted by relevance
/external/srec/srec/clib/ |
D | log_add.c | 41 #define DO_USE_LOGTAB__TABLE ( logtab->scale == 61 \ 42 && ( (int)(logtab->logscale*10000) == (int)(6.4f*10000)) \ 46 void create_lookup_logadd(logadd_table_info *logtab, float mul_scale) in create_lookup_logadd() argument 50 ASSERT(logtab); in create_lookup_logadd() 51 ASSERT(logtab->scale != 0); in create_lookup_logadd() 53 logtab->logscale = mul_scale; in create_lookup_logadd() 54 logtab->add_log_limit = (prdata)(ADD_LOG_LIMIT * mul_scale * logtab->scale); in create_lookup_logadd() 56 logtab->table = logtab__table; in create_lookup_logadd() 58 prdata* table = (prdata *) CALLOC(logtab->add_log_limit + 2, sizeof(prdata), "clib.logadd"); in create_lookup_logadd() 59 logtab->table = table; in create_lookup_logadd() [all …]
|
D | log_add.h | 23 static PINLINE prdata log_increment_inline(prdata ival, const logadd_table_info *logtab); 25 static PINLINE prdata log_increment_inline(prdata ival, const logadd_table_info *logtab) in log_increment_inline() argument 31 ASSERT(logtab); in log_increment_inline() 32 ASSERT(logtab->table); in log_increment_inline() 34 return (logtab->table[(int)(ival)]); in log_increment_inline()
|
/external/srec/srec/cfront/ |
D | log_tabl.c | 41 #define DO_USE_LOGTAB__TABLE ( logtab->size == 4096 && LOG_SCALE == 1024) 45 void create_lookup_log(log_table_info *logtab, int num_bits) in create_lookup_log() argument 50 ASSERT(logtab); in create_lookup_log() 52 logtab->size = 0x01 << num_bits; in create_lookup_log() 53 logtab->mask = 0x01; in create_lookup_log() 56 logtab->mask = (logtab->mask << 1) | 0x01; in create_lookup_log() 57 logtab->mask = ~logtab->mask; in create_lookup_log() 59 logtab->scale = LOG_SCALE; in create_lookup_log() 61 logtab->shift = (int)(val + 0.5); in create_lookup_log() 63 logtab->table = logtab__table; in create_lookup_log() [all …]
|
D | chelmel4.c | 135 channel->filterbank[ii] = (cepdata) log_lookup(&cepobj->logtab, in mel_loglookup_with_offset() 143 channel->filterbank[ii] = (cepdata) log_lookup(&cepobj->logtab, in mel_loglookup_with_offset()
|
D | frontobj.c | 635 create_lookup_log(&cepobj->logtab, 12); /* TODO: rename 12 as macro */ in setup_cep_object() 684 destroy_lookup_log(&cepobj->logtab); in clear_cep_object()
|
/external/srec/srec/include/ |
D | log_tabl.h | 39 void create_lookup_log(log_table_info *logtab, int num_bits); 40 int log_lookup(log_table_info *logtab, int operand, int shift); 41 int inv_log_lookup(log_table_info *logtab, int operand); 42 void destroy_lookup_log(log_table_info *logtab);
|
D | front.h | 205 log_table_info logtab; member
|