#include <preemptive_expand.h>
|
| PreemptiveExpand (int sample_rate_hz, size_t num_channels, const BackgroundNoise &background_noise, size_t overlap_samples) |
|
ReturnCodes | Process (const int16_t *pw16_decoded, size_t len, size_t old_data_len, AudioMultiVector *output, size_t *length_change_samples) |
|
| PreemptiveExpand (int sample_rate_hz, size_t num_channels, const BackgroundNoise &background_noise, size_t overlap_samples) |
|
ReturnCodes | Process (const int16_t *pw16_decoded, size_t len, size_t old_data_len, AudioMultiVector *output, size_t *length_change_samples) |
|
| TimeStretch (int sample_rate_hz, size_t num_channels, const BackgroundNoise &background_noise) |
|
virtual | ~TimeStretch () |
|
ReturnCodes | Process (const int16_t *input, size_t input_len, bool fast_mode, AudioMultiVector *output, size_t *length_change_samples) |
|
| TimeStretch (int sample_rate_hz, size_t num_channels, const BackgroundNoise &background_noise) |
|
virtual | ~TimeStretch () |
|
ReturnCodes | Process (const int16_t *input, size_t input_len, bool fast_mode, AudioMultiVector *output, size_t *length_change_samples) |
|
|
void | SetParametersForPassiveSpeech (size_t input_length, int16_t *best_correlation, size_t *peak_index) const override |
|
ReturnCodes | CheckCriteriaAndStretch (const int16_t *input, size_t input_length, size_t peak_index, int16_t best_correlation, bool active_speech, bool, AudioMultiVector *output) const override |
|
void | SetParametersForPassiveSpeech (size_t input_length, int16_t *best_correlation, size_t *peak_index) const override |
|
ReturnCodes | CheckCriteriaAndStretch (const int16_t *input, size_t input_length, size_t peak_index, int16_t best_correlation, bool active_speech, bool, AudioMultiVector *output) const override |
|
|
enum | ReturnCodes {
kSuccess = 0,
kSuccessLowEnergy = 1,
kNoStretch = 2,
kError = -1,
kSuccess = 0,
kSuccessLowEnergy = 1,
kNoStretch = 2,
kError = -1
} |
|
enum | ReturnCodes {
kSuccess = 0,
kSuccessLowEnergy = 1,
kNoStretch = 2,
kError = -1,
kSuccess = 0,
kSuccessLowEnergy = 1,
kNoStretch = 2,
kError = -1
} |
|
const int | sample_rate_hz_ |
|
const int | fs_mult_ |
|
const size_t | num_channels_ |
|
const size_t | master_channel_ |
|
const BackgroundNoise & | background_noise_ |
|
int16_t | max_input_value_ |
|
int16_t | downsampled_input_ [kDownsampledLen] |
|
int16_t | auto_correlation_ [kCorrelationLen+1] |
|
static const size_t | kCorrelationLen = 50 |
|
static const size_t | kLogCorrelationLen = 6 |
|
static const size_t | kMinLag = 10 |
|
static const size_t | kMaxLag = 60 |
|
static const size_t | kDownsampledLen = kCorrelationLen + kMaxLag |
|
static const int | kCorrelationThreshold = 14746 |
|
◆ PreemptiveExpand() [1/2]
webrtc::PreemptiveExpand::PreemptiveExpand |
( |
int |
sample_rate_hz, |
|
|
size_t |
num_channels, |
|
|
const BackgroundNoise & |
background_noise, |
|
|
size_t |
overlap_samples |
|
) |
| |
|
inline |
◆ PreemptiveExpand() [2/2]
webrtc::PreemptiveExpand::PreemptiveExpand |
( |
int |
sample_rate_hz, |
|
|
size_t |
num_channels, |
|
|
const BackgroundNoise & |
background_noise, |
|
|
size_t |
overlap_samples |
|
) |
| |
|
inline |
◆ CheckCriteriaAndStretch() [1/2]
◆ CheckCriteriaAndStretch() [2/2]
◆ Process() [1/2]
◆ Process() [2/2]
◆ SetParametersForPassiveSpeech() [1/2]
void webrtc::PreemptiveExpand::SetParametersForPassiveSpeech |
( |
size_t |
input_length, |
|
|
int16_t * |
best_correlation, |
|
|
size_t * |
peak_index |
|
) |
| const |
|
overrideprotectedvirtual |
◆ SetParametersForPassiveSpeech() [2/2]
void webrtc::PreemptiveExpand::SetParametersForPassiveSpeech |
( |
size_t |
input_length, |
|
|
int16_t * |
best_correlation, |
|
|
size_t * |
peak_index |
|
) |
| const |
|
overrideprotectedvirtual |
The documentation for this class was generated from the following files:
- DerivedData/WebKit/Build/Products/Debug/usr/local/include/webrtc/modules/audio_coding/neteq/preemptive_expand.h
- Source/ThirdParty/libwebrtc/Source/webrtc/modules/audio_coding/neteq/preemptive_expand.cc