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