Home
last modified time | relevance | path

Searched refs:scale_shift (Results 1 – 24 of 24) 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
57 const uint32_t loge_scaled = ((loge << scale_shift) + round) >> kLogScaleLog2; in Log()
63 const int scale_shift = state->scale_shift; in LogScaleApply() local
76 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_util.h31 int scale_shift; member
Dlog_scale.h27 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/micro/examples/micro_speech/micro_features/
Dlog_scale.cc49 static uint32_t Log(const uint32_t x, const uint32_t scale_shift) { in Log() argument
57 const uint32_t loge_scaled = ((loge << scale_shift) + round) >> kLogScaleLog2; in Log()
63 const int scale_shift = state->scale_shift; in LogScaleApply() local
76 value = Log(value, scale_shift); in LogScaleApply()
Dlog_scale_util.cc19 config->scale_shift = 6; in LogScaleFillConfigWithDefaults()
26 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.h23 int scale_shift; member
Dlog_scale_util.h29 int scale_shift; member
Dmicro_features_generator.cc49 config.log_scale.scale_shift = 6; in InitializeMicroFeatures()
Dfrontend_test.cc49 config_.log_scale.scale_shift = 6; in FrontendTestConfig()
/external/tensorflow/tensorflow/lite/experimental/microfrontend/python/ops/
Daudio_microfrontend_op.py47 scale_shift=6, argument
109 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/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/webrtc/webrtc/modules/audio_coding/neteq/
Dbackground_noise.h100 scale_shift = 24; in Reset()
111 int16_t scale_shift; member
Dbackground_noise.cc167 return channel_parameters_[channel].scale_shift; in ScaleShift()
256 parameters.scale_shift = in SaveParameters()
/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()