#include "ckernel_tts.h"#include "checked_float_buffer.h"#include <math.h>#include <stdint.h>#include <string.h>Go to the source code of this file.
Functions | |
| int | audio_stft_mag_phase_checked_f32 (const float *samples, size_t samples_capacity, const float *window, size_t window_capacity, const float *cos_table, const float *sin_table, size_t table_capacity, float *output, size_t output_capacity, size_t output_stride, float *scratch, size_t scratch_capacity, size_t samples_count, size_t n_fft, size_t hop, size_t frames) |
| int | audio_stft_mag_phase_plan_f32 (size_t samples, size_t n_fft, size_t hop, size_t *frames, size_t *spectral_elements) |
| int | audio_stft_mag_phase_trace_checked_f32 (const float *samples, size_t samples_capacity, const float *window, size_t window_capacity, const float *cos_table, const float *sin_table, size_t table_capacity, float *output, size_t output_capacity, size_t output_stride, float *scratch, size_t scratch_capacity, size_t samples_count, size_t n_fft, size_t hop, size_t frames, double *complex_trace, size_t complex_trace_capacity) |
| static int | stft_mag_phase_impl (const float *samples, size_t samples_capacity, const float *window, size_t window_capacity, const float *cos_table, const float *sin_table, size_t table_capacity, float *output, size_t output_capacity, size_t output_stride, float *scratch, size_t scratch_capacity, size_t samples_count, size_t n_fft, size_t hop, size_t frames, double *complex_trace, size_t complex_trace_capacity) |
| static int | stft_trace_overlaps (const double *trace, size_t elements, const float *other, size_t other_elements) |
| static int | stft_trace_region (const double *trace, size_t elements) |
| int audio_stft_mag_phase_checked_f32 | ( | const float * | samples, |
| size_t | samples_capacity, | ||
| const float * | window, | ||
| size_t | window_capacity, | ||
| const float * | cos_table, | ||
| const float * | sin_table, | ||
| size_t | table_capacity, | ||
| float * | output, | ||
| size_t | output_capacity, | ||
| size_t | output_stride, | ||
| float * | scratch, | ||
| size_t | scratch_capacity, | ||
| size_t | samples_count, | ||
| size_t | n_fft, | ||
| size_t | hop, | ||
| size_t | frames | ||
| ) |
Definition at line 133 of file audio_stft_mag_phase_checked.c.
References stft_mag_phase_impl().
| int audio_stft_mag_phase_plan_f32 | ( | size_t | samples, |
| size_t | n_fft, | ||
| size_t | hop, | ||
| size_t * | frames, | ||
| size_t * | spectral_elements | ||
| ) |
Definition at line 8 of file audio_stft_mag_phase_checked.c.
References CK_AUDIO_EXTENT_INVALID, CK_AUDIO_EXTENT_OK, CK_AUDIO_EXTENT_OVERFLOW, and count.
Referenced by stft_mag_phase_impl().
| int audio_stft_mag_phase_trace_checked_f32 | ( | const float * | samples, |
| size_t | samples_capacity, | ||
| const float * | window, | ||
| size_t | window_capacity, | ||
| const float * | cos_table, | ||
| const float * | sin_table, | ||
| size_t | table_capacity, | ||
| float * | output, | ||
| size_t | output_capacity, | ||
| size_t | output_stride, | ||
| float * | scratch, | ||
| size_t | scratch_capacity, | ||
| size_t | samples_count, | ||
| size_t | n_fft, | ||
| size_t | hop, | ||
| size_t | frames, | ||
| double * | complex_trace, | ||
| size_t | complex_trace_capacity | ||
| ) |
Definition at line 147 of file audio_stft_mag_phase_checked.c.
References CK_AUDIO_EXTENT_INVALID, and stft_mag_phase_impl().
|
static |
Definition at line 40 of file audio_stft_mag_phase_checked.c.
References audio_stft_mag_phase_plan_f32(), CK_AUDIO_EXTENT_INVALID, CK_AUDIO_EXTENT_LIMIT, CK_AUDIO_EXTENT_OK, CK_AUDIO_EXTENT_OVERFLOW, ck_checked_finite(), ck_checked_overlap(), ck_checked_region(), ck_checked_span(), stft_trace_overlaps(), and stft_trace_region().
Referenced by audio_stft_mag_phase_checked_f32(), and audio_stft_mag_phase_trace_checked_f32().
|
static |
Definition at line 34 of file audio_stft_mag_phase_checked.c.
Referenced by stft_mag_phase_impl().
|
static |
Definition at line 28 of file audio_stft_mag_phase_checked.c.
Referenced by stft_mag_phase_impl().