Home
last modified time | relevance | path

Searched refs:signal (Results 1 – 9 of 9) sorted by relevance

/tflite-micro-3.4.0-2.7.6/tensorflow/lite/experimental/microfrontend/lib/
Dnoise_reduction_test.cc47 uint32_t signal[] = {247311, 508620}; in TF_LITE_MICRO_TEST() local
48 NoiseReductionApply(&state, signal); in TF_LITE_MICRO_TEST()
67 uint32_t signal[] = {247311, 508620}; in TF_LITE_MICRO_TEST() local
68 NoiseReductionApply(&state, signal); in TF_LITE_MICRO_TEST()
75 TF_LITE_MICRO_EXPECT_EQ(signal[i], expected[i]); in TF_LITE_MICRO_TEST()
Dnoise_reduction.c19 void NoiseReductionApply(struct NoiseReductionState* state, uint32_t* signal) { in NoiseReductionApply() argument
27 const uint32_t signal_scaled_up = signal[i] << state->smoothing_bits; in NoiseReductionApply()
40 ((uint64_t)signal[i] * state->min_signal_remaining) >> in NoiseReductionApply()
45 signal[i] = output; in NoiseReductionApply()
Dpcan_gain_control_test.cc51 uint32_t signal[] = {241137, 478104}; in TF_LITE_MICRO_TEST() local
52 PcanGainControlApply(&state, signal); in TF_LITE_MICRO_TEST()
59 TF_LITE_MICRO_EXPECT_EQ(signal[i], expected[i]); in TF_LITE_MICRO_TEST()
Dpcan_gain_control.c48 uint32_t* signal) { in PcanGainControlApply() argument
53 const uint32_t snr = ((uint64_t)signal[i] * gain) >> state->snr_shift; in PcanGainControlApply()
54 signal[i] = PcanShrink(snr); in PcanGainControlApply()
Dlog_scale.c60 uint16_t* LogScaleApply(struct LogScaleState* state, uint32_t* signal, in LogScaleApply() argument
63 uint16_t* output = (uint16_t*)signal; in LogScaleApply()
67 uint32_t value = *signal++; in LogScaleApply()
Dlog_scale.h32 uint16_t* LogScaleApply(struct LogScaleState* state, uint32_t* signal,
Dnoise_reduction.h38 void NoiseReductionApply(struct NoiseReductionState* state, uint32_t* signal);
Dpcan_gain_control.h41 void PcanGainControlApply(struct PcanGainControlState* state, uint32_t* signal);
DREADME.md7 sample rate. More specifically the audio signal goes through a pre-emphasis
53 **Noise cancellation**. Removes stationary noise from each channel of the signal