webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions | Variables
nsx_core_neon.c File Reference
#include "webrtc/modules/audio_processing/ns/nsx_core.h"
#include <arm_neon.h>
#include "webrtc/base/checks.h"

Functions

void WebRtcNsx_NoiseEstimationNeon (NoiseSuppressionFixedC *inst, uint16_t *magn, uint32_t *noise, int16_t *q_noise)
 
void WebRtcNsx_PrepareSpectrumNeon (NoiseSuppressionFixedC *inst, int16_t *freq_buf)
 
void WebRtcNsx_SynthesisUpdateNeon (NoiseSuppressionFixedC *inst, int16_t *out_frame, int16_t gain_factor)
 
void WebRtcNsx_AnalysisUpdateNeon (NoiseSuppressionFixedC *inst, int16_t *out, int16_t *new_speech)
 

Variables

const int16_t WebRtcNsx_kLogTable [9]
 
const int16_t WebRtcNsx_kCounterDiv [201]
 
const int16_t WebRtcNsx_kLogTableFrac [256]
 

Function Documentation

◆ WebRtcNsx_AnalysisUpdateNeon()

void WebRtcNsx_AnalysisUpdateNeon ( NoiseSuppressionFixedC inst,
int16_t out,
int16_t new_speech 
)

◆ WebRtcNsx_NoiseEstimationNeon()

void WebRtcNsx_NoiseEstimationNeon ( NoiseSuppressionFixedC inst,
uint16_t magn,
uint32_t noise,
int16_t q_noise 
)

◆ WebRtcNsx_PrepareSpectrumNeon()

void WebRtcNsx_PrepareSpectrumNeon ( NoiseSuppressionFixedC inst,
int16_t freq_buf 
)

◆ WebRtcNsx_SynthesisUpdateNeon()

void WebRtcNsx_SynthesisUpdateNeon ( NoiseSuppressionFixedC inst,
int16_t out_frame,
int16_t  gain_factor 
)

Variable Documentation

◆ WebRtcNsx_kCounterDiv

const int16_t WebRtcNsx_kCounterDiv[201]
Initial value:
= {
32767, 16384, 10923, 8192, 6554, 5461, 4681, 4096, 3641, 3277, 2979, 2731,
2521, 2341, 2185, 2048, 1928, 1820, 1725, 1638, 1560, 1489, 1425, 1365, 1311,
1260, 1214, 1170, 1130, 1092, 1057, 1024, 993, 964, 936, 910, 886, 862, 840,
819, 799, 780, 762, 745, 728, 712, 697, 683, 669, 655, 643, 630, 618, 607,
596, 585, 575, 565, 555, 546, 537, 529, 520, 512, 504, 496, 489, 482, 475,
468, 462, 455, 449, 443, 437, 431, 426, 420, 415, 410, 405, 400, 395, 390,
386, 381, 377, 372, 368, 364, 360, 356, 352, 349, 345, 341, 338, 334, 331,
328, 324, 321, 318, 315, 312, 309, 306, 303, 301, 298, 295, 293, 290, 287,
285, 282, 280, 278, 275, 273, 271, 269, 266, 264, 262, 260, 258, 256, 254,
252, 250, 248, 246, 245, 243, 241, 239, 237, 236, 234, 232, 231, 229, 228,
226, 224, 223, 221, 220, 218, 217, 216, 214, 213, 211, 210, 209, 207, 206,
205, 204, 202, 201, 200, 199, 197, 196, 195, 194, 193, 192, 191, 189, 188,
187, 186, 185, 184, 183, 182, 181, 180, 179, 178, 177, 176, 175, 174, 173,
172, 172, 171, 170, 169, 168, 167, 166, 165, 165, 164, 163
}

◆ WebRtcNsx_kLogTable

const int16_t WebRtcNsx_kLogTable[9]
Initial value:
= {
0, 177, 355, 532, 710, 887, 1065, 1242, 1420
}

◆ WebRtcNsx_kLogTableFrac

const int16_t WebRtcNsx_kLogTableFrac[256]
Initial value:
= {
0, 1, 3, 4, 6, 7, 9, 10, 11, 13, 14, 16, 17, 18, 20, 21,
22, 24, 25, 26, 28, 29, 30, 32, 33, 34, 36, 37, 38, 40, 41, 42,
44, 45, 46, 47, 49, 50, 51, 52, 54, 55, 56, 57, 59, 60, 61, 62,
63, 65, 66, 67, 68, 69, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81,
82, 84, 85, 86, 87, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 99,
100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 116,
117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146,
147, 148, 149, 150, 151, 152, 153, 154, 155, 155, 156, 157, 158, 159, 160,
161, 162, 163, 164, 165, 166, 167, 168, 169, 169, 170, 171, 172, 173, 174,
175, 176, 177, 178, 178, 179, 180, 181, 182, 183, 184, 185, 185, 186, 187,
188, 189, 190, 191, 192, 192, 193, 194, 195, 196, 197, 198, 198, 199, 200,
201, 202, 203, 203, 204, 205, 206, 207, 208, 208, 209, 210, 211, 212, 212,
213, 214, 215, 216, 216, 217, 218, 219, 220, 220, 221, 222, 223, 224, 224,
225, 226, 227, 228, 228, 229, 230, 231, 231, 232, 233, 234, 234, 235, 236,
237, 238, 238, 239, 240, 241, 241, 242, 243, 244, 244, 245, 246, 247, 247,
248, 249, 249, 250, 251, 252, 252, 253, 254, 255, 255
}