Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/simple_features/
Dsimple_features_generator.cc67 void CalculatePeriodicHann(int window_length, float* window_function) { in CalculatePeriodicHann() argument
69 window_function[i] = 0.5 - 0.5 * cos((2 * kPi * i) / window_length); in CalculatePeriodicHann()
93 float window_function[kMaxAudioSampleSize]; in GenerateSimpleFeatures() local
94 CalculatePeriodicHann(input_size, window_function); in GenerateSimpleFeatures()
102 (input[i] * window_function[i]) / static_cast<float>(1 << 15); in GenerateSimpleFeatures()
/external/tensorflow/tensorflow/lite/experimental/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()
140 int16_t window_function[kMaxAudioSampleSize]; in GenerateSimpleFeatures() local
141 CalculatePeriodicHann(input_size, window_function); in GenerateSimpleFeatures()
150 fixed_input[i] = Q1_15_FixedMultiply_Q2_30(input[i], window_function[i]); in GenerateSimpleFeatures()
/external/libaom/libaom/aom_dsp/
Dnoise_model.c1282 float *window_function = in get_half_cos_window() local
1283 (float *)aom_malloc(block_size * block_size * sizeof(*window_function)); in get_half_cos_window()
1288 window_function[y * block_size + x] = (float)(cos_yd * cos_xd); in get_half_cos_window()
1291 return window_function; in get_half_cos_window()
1381 float *window_function = c == 0 ? window_full : window_chroma; in aom_wiener_denoise_2d() local
1411 pointwise_multiply(window_function, block, pixels_per_block); in aom_wiener_denoise_2d()
1418 pointwise_multiply(window_function, plane, pixels_per_block); in aom_wiener_denoise_2d()
1429 window_function[y * (block_size >> chroma_sub_w) + x]; in aom_wiener_denoise_2d()