|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include "resampler_private.h"Macros | |
| #define | rateID(R) ( ( ( ((R)>>12) - ((R)>16000) ) >> ((R)>24000) ) - 1 ) |
| #define | USE_silk_resampler_copy (0) |
| #define | USE_silk_resampler_private_up2_HQ_wrapper (1) |
| #define | USE_silk_resampler_private_IIR_FIR (2) |
| #define | USE_silk_resampler_private_down_FIR (3) |
Functions | |
| opus_int | silk_resampler_init (silk_resampler_state_struct *S, opus_int32 Fs_Hz_in, opus_int32 Fs_Hz_out, opus_int forEnc) |
| opus_int | silk_resampler (silk_resampler_state_struct *S, opus_int16 out[], const opus_int16 in[], opus_int32 inLen) |
| #define USE_silk_resampler_copy (0) |
| #define USE_silk_resampler_private_down_FIR (3) |
| #define USE_silk_resampler_private_IIR_FIR (2) |
| #define USE_silk_resampler_private_up2_HQ_wrapper (1) |
| opus_int silk_resampler | ( | silk_resampler_state_struct * | S, |
| opus_int16 | out[], | ||
| const opus_int16 | in[], | ||
| opus_int32 | inLen | ||
| ) |
Resampler: convert from one sampling rate to another
| opus_int silk_resampler_init | ( | silk_resampler_state_struct * | S, |
| opus_int32 | Fs_Hz_in, | ||
| opus_int32 | Fs_Hz_out, | ||
| opus_int | forEnc | ||
| ) |
Initialize/reset the resampler state for a given pair of input/output sampling rates
1.8.13