Searched refs:window_function (Results 1 – 3 of 3) sorted by relevance
67 void CalculatePeriodicHann(int window_length, float* window_function) { in CalculatePeriodicHann() argument69 window_function[i] = 0.5 - 0.5 * cos((2 * kPi * i) / window_length); in CalculatePeriodicHann()93 float window_function[kMaxAudioSampleSize]; in GenerateSimpleFeatures() local94 CalculatePeriodicHann(input_size, window_function); in GenerateSimpleFeatures()102 (input[i] * window_function[i]) / static_cast<float>(1 << 15); in GenerateSimpleFeatures()
109 void CalculatePeriodicHann(int window_length, int16_t* window_function) { in CalculatePeriodicHann() argument115 window_function[i] = tmp; in CalculatePeriodicHann()140 int16_t window_function[kMaxAudioSampleSize]; in GenerateSimpleFeatures() local141 CalculatePeriodicHann(input_size, window_function); in GenerateSimpleFeatures()150 fixed_input[i] = Q1_15_FixedMultiply_Q2_30(input[i], window_function[i]); in GenerateSimpleFeatures()
1282 float *window_function = in get_half_cos_window() local1283 (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() local1411 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()