Home
last modified time | relevance | path

Searched refs:scale_shift (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
Dlog_scale.c49 static uint32_t Log(const uint32_t x, const uint32_t scale_shift) { in Log() argument
56 const uint32_t loge_scaled = ((loge << scale_shift) + round) >> kLogScaleLog2; in Log()
62 const int scale_shift = state->scale_shift; in LogScaleApply() local
75 value = Log(value, scale_shift); in LogScaleApply()
Dlog_scale_util.c19 config->scale_shift = 6; in LogScaleFillConfigWithDefaults()
25 state->scale_shift = config->scale_shift; in LogScalePopulateState()
Dlog_scale_test.cc32 state.scale_shift = kScaleShift; in TF_LITE_MICRO_TEST()
49 state.scale_shift = kScaleShift; in TF_LITE_MICRO_TEST()
Dlog_scale.h27 int scale_shift; member
Dlog_scale_util.h31 int scale_shift; member
Dlog_scale_io.c20 fprintf(fp, "%s->scale_shift = %d;\n", variable, state->scale_shift); in LogScaleWriteMemmap()
Dfrontend_test.cc49 config_.log_scale.scale_shift = 6; in FrontendTestConfig()
/external/tensorflow/tensorflow/lite/experimental/microfrontend/python/ops/
Daudio_microfrontend_op.py50 scale_shift=6, argument
112 pcan_offset, gain_bits, enable_log, scale_shift, left_context,
/external/libopus/celt/mips/
Dmdct_mipsr1.h73 int scale_shift = st->scale_shift-1; in clt_mdct_forward() local
153 yc.r = PSHR32(MULT16_32_Q16(scale, yc.r), scale_shift); in clt_mdct_forward()
154 yc.i = PSHR32(MULT16_32_Q16(scale, yc.i), scale_shift); in clt_mdct_forward()
/external/webrtc/modules/audio_coding/neteq/
Dbackground_noise.h102 scale_shift = 24; in Reset()
113 int16_t scale_shift; member
Dbackground_noise.cc219 return channel_parameters_[channel].scale_shift; in ScaleShift()
304 parameters.scale_shift = in SaveParameters()
/external/libopus/celt/
Dkiss_fft.c456 st->scale_shift = celt_ilog2(st->nfft); in opus_fft_alloc_twiddles()
457 if (st->nfft == 1<<st->scale_shift) in opus_fft_alloc_twiddles()
460 st->scale = (1073741824+st->nfft/2)/st->nfft>>(15-st->scale_shift); in opus_fft_alloc_twiddles()
576 int scale_shift = st->scale_shift-1; in opus_fft_c() local
585 fout[st->bitrev[i]].r = SHR32(MULT16_32_Q16(scale, x.r), scale_shift); in opus_fft_c()
586 fout[st->bitrev[i]].i = SHR32(MULT16_32_Q16(scale, x.i), scale_shift); in opus_fft_c()
Dmdct.c132 int scale_shift = st->scale_shift-1; in clt_mdct_forward_c() local
208 yc.r = PSHR32(MULT16_32_Q16(scale, yc.r), scale_shift); in clt_mdct_forward_c()
209 yc.i = PSHR32(MULT16_32_Q16(scale, yc.i), scale_shift); in clt_mdct_forward_c()
Dkiss_fft.h90 int scale_shift; member
/external/rnnoise/src/
Dkiss_fft.c453 st->scale_shift = celt_ilog2(st->nfft); in opus_fft_alloc_twiddles()
454 if (st->nfft == 1<<st->scale_shift) in opus_fft_alloc_twiddles()
457 st->scale = (1073741824+st->nfft/2)/st->nfft>>(15-st->scale_shift); in opus_fft_alloc_twiddles()
573 int scale_shift = st->scale_shift-1; in opus_fft_c() local
582 fout[st->bitrev[i]].r = SHR32(MULT16_32_Q16(scale, x.r), scale_shift); in opus_fft_c()
583 fout[st->bitrev[i]].i = SHR32(MULT16_32_Q16(scale, x.i), scale_shift); in opus_fft_c()
Dkiss_fft.h93 int scale_shift; member
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/micro_features/
Dmicro_features_generator.cc52 config.log_scale.scale_shift = 6; in InitializeMicroFeatures()
/external/tensorflow/tensorflow/lite/experimental/microfrontend/
Daudio_microfrontend.cc65 config.log_scale.scale_shift = m["scale_shift"].AsInt32(); in Init()
/external/tensorflow/tensorflow/lite/experimental/microfrontend/ops/
Daudio_microfrontend_op.cc198 ctx->GetAttr("scale_shift", &config_.log_scale.scale_shift)); in AudioMicrofrontendOp()
/external/libopus/celt/dump_modes/
Ddump_modes.c185 fprintf (file, "%d, /* scale_shift */\n", mode->mdct.kfft[k]->scale_shift); in dump_modes()