|
ESP-IDF Firmware
Firmware architecture and call graph
|
Go to the source code of this file.
Functions | |
| esp_err_t | dsps_resampler_ph_init (dsps_resample_ph_t *resampler, float samplerate_factor) |
| Initialize the poly-phase resampler. | |
| int32_t | dsps_resampler_ph_exec (dsps_resample_ph_t *resampler, float *input, float *output, int32_t length) |
| Execute the poly-phase resampler. | |
| int32_t dsps_resampler_ph_exec | ( | dsps_resample_ph_t * | resampler, |
| float * | input, | ||
| float * | output, | ||
| int32_t | length ) |
Execute the poly-phase resampler.
| resampler | Pointer to the resampler structure |
| input | Pointer to the input buffer |
| output | Pointer to the output buffer |
| length | Length of the input buffer |
Definition at line 28 of file dsps_resampler_ph.c.
References dsps_resample_ph_s::delay, dsps_resample_ph_s::delay_pos, dsps_resample_ph_s::phase, and dsps_resample_ph_s::step.
| esp_err_t dsps_resampler_ph_init | ( | dsps_resample_ph_t * | resampler, |
| float | samplerate_factor ) |
Initialize the poly-phase resampler.
The poly-phase resampler is a implementation of the poly-phase Farrow filter that use cubic interpolation with 4 coefficients.
| resampler | Pointer to the resampler structure |
| samplerate_factor | Sample rate factor |
Definition at line 10 of file dsps_resampler_ph.c.
References dsps_resample_ph_s::delay, dsps_resample_ph_s::delay_pos, ESP_ERR_DSP_INVALID_PARAM, ESP_OK, dsps_resample_ph_s::phase, and dsps_resample_ph_s::step.