Home
last modified time | relevance | path

Searched refs:fft_size (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/micro_features/
Dfft_util.cc26 state->fft_size = 1; in FftPopulateState()
27 while (state->fft_size < state->input_size) { in FftPopulateState()
28 state->fft_size <<= 1; in FftPopulateState()
32 (state->fft_size * sizeof(*state->input))); in FftPopulateState()
35 state->output, ((state->fft_size / 2 + 1) * sizeof(*state->output) * 2)); in FftPopulateState()
40 kiss_fftr_alloc(state->fft_size, 0, nullptr, &scratch_size); in FftPopulateState()
48 kfft_cfg = kiss_fftr_alloc(state->fft_size, 0, state->scratch, &scratch_size); in FftPopulateState()
Dfft.cc29 const size_t fft_size = state->fft_size; in FftCompute() local
38 for (; i < fft_size; ++i) { in FftCompute()
52 memset(state->input, 0, state->fft_size * sizeof(*state->input)); in FftReset()
53 memset(state->output, 0, (state->fft_size / 2 + 1) * sizeof(*state->output)); in FftReset()
Dfft_test.cc46 TF_LITE_MICRO_EXPECT_EQ(state.fft_size / 2 + 1, in TF_LITE_MICRO_TEST()
49 for (i = 0; i <= state.fft_size / 2; ++i) { in TF_LITE_MICRO_TEST()
Dfrontend_util.cc48 state->fft.fft_size / 2 + 1)) { in FrontendPopulateState()
61 MostSignificantBit32(state->fft.fft_size) - 1 - (kFilterbankBits / 2); in FrontendPopulateState()
Dfft.h31 size_t fft_size; member
Dfrontend.cc55 MostSignificantBit32(state->fft.fft_size) - 1 - (kFilterbankBits / 2); in FrontendProcessSamples()
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
Dfft_util.c25 state->fft_size = 1; in FftPopulateState()
26 while (state->fft_size < state->input_size) { in FftPopulateState()
27 state->fft_size <<= 1; in FftPopulateState()
30 state->input = malloc(state->fft_size * sizeof(*state->input)); in FftPopulateState()
37 malloc((state->fft_size / 2 + 1) * sizeof(*state->output) * 2); in FftPopulateState()
46 kiss_fftr_alloc(state->fft_size, 0, NULL, &scratch_size); in FftPopulateState()
58 kfft_cfg = kiss_fftr_alloc(state->fft_size, 0, state->scratch, &scratch_size); in FftPopulateState()
Dfft.c29 const size_t fft_size = state->fft_size; in FftCompute() local
38 for (; i < fft_size; ++i) { in FftCompute()
52 memset(state->input, 0, state->fft_size * sizeof(*state->input)); in FftReset()
53 memset(state->output, 0, (state->fft_size / 2 + 1) * sizeof(*state->output)); in FftReset()
Dfft_io.c18 fprintf(fp, "static int16_t fft_input[%zu];\n", state->fft_size); in FftWriteMemmapPreamble()
20 state->fft_size / 2 + 1); in FftWriteMemmapPreamble()
29 fprintf(fp, "%s->fft_size = %zu;\n", variable, state->fft_size); in FftWriteMemmap()
Dfft_test.cc43 TF_LITE_MICRO_EXPECT_EQ(state.fft_size / 2 + 1, in TF_LITE_MICRO_TEST()
46 for (i = 0; i <= state.fft_size / 2; ++i) { in TF_LITE_MICRO_TEST()
Dfrontend_util.c46 sample_rate, state->fft.fft_size / 2 + 1)) { in FrontendPopulateState()
59 MostSignificantBit32(state->fft.fft_size) - 1 - (kFilterbankBits / 2); in FrontendPopulateState()
Dfft.h33 size_t fft_size; member
Dfrontend.c57 MostSignificantBit32(state->fft.fft_size) - 1 - (kFilterbankBits / 2); in FrontendProcessSamples()
/external/webrtc/webrtc/modules/audio_processing/beamformer/
Dcovariance_matrix_generator.cc66 size_t fft_size, in AngledCovarianceMatrix() argument
77 fft_size, in AngledCovarianceMatrix()
91 size_t fft_size, in PhaseAlignmentMasks() argument
101 (static_cast<float>(frequency_bin) / fft_size) * sample_rate; in PhaseAlignmentMasks()
Dcovariance_matrix_generator.h34 size_t fft_size,
44 size_t fft_size,