Home
last modified time | relevance | path

Searched refs:window_function (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/simple_features/
Dsimple_features_generator.cc68 void CalculatePeriodicHann(int window_length, float* window_function) { in CalculatePeriodicHann() argument
70 window_function[i] = 0.5f - 0.5f * std::cos((2 * kPi * i) / window_length); in CalculatePeriodicHann()
95 float window_function[kMaxAudioSampleSize]; in GenerateSimpleFeatures() local
96 CalculatePeriodicHann(input_size, window_function); in GenerateSimpleFeatures()
104 (input[i] * window_function[i]) / static_cast<float>(1 << 15); in GenerateSimpleFeatures()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/simple_features/fixed_point/
Dsimple_features_generator.cc109 void CalculatePeriodicHann(int window_length, int16_t* window_function) { in CalculatePeriodicHann() argument
115 window_function[i] = tmp; in CalculatePeriodicHann()
141 int16_t window_function[kMaxAudioSampleSize]; in GenerateSimpleFeatures() local
142 CalculatePeriodicHann(input_size, window_function); in GenerateSimpleFeatures()
151 fixed_input[i] = Q1_15_FixedMultiply_Q2_30(input[i], window_function[i]); in GenerateSimpleFeatures()
/external/libaom/libaom/aom_dsp/
Dnoise_model.c1288 float *window_function = in get_half_cos_window() local
1289 (float *)aom_malloc(block_size * block_size * sizeof(*window_function)); in get_half_cos_window()
1294 window_function[y * block_size + x] = (float)(cos_yd * cos_xd); in get_half_cos_window()
1297 return window_function; in get_half_cos_window()
1387 float *window_function = c == 0 ? window_full : window_chroma; in aom_wiener_denoise_2d() local
1417 pointwise_multiply(window_function, block, pixels_per_block); in aom_wiener_denoise_2d()
1424 pointwise_multiply(window_function, plane, pixels_per_block); in aom_wiener_denoise_2d()
1435 window_function[y * (block_size >> chroma_sub_w) + x]; in aom_wiener_denoise_2d()