Home
last modified time | relevance | path

Searched refs:nfft (Results 1 – 23 of 23) sorted by relevance

/third_party/gstreamer/gstplugins_good/gst/spectrum/
Dgstspectrum.c211 guint nfft = 2 * bands - 2; in gst_spectrum_alloc_channel_data() local
224 cd->fft_ctx = gst_fft_f32_new (nfft, FALSE); in gst_spectrum_alloc_channel_data()
225 cd->input = g_new0 (gfloat, nfft); in gst_spectrum_alloc_channel_data()
226 cd->input_tmp = g_new0 (gfloat, nfft); in gst_spectrum_alloc_channel_data()
400 guint channels, gfloat max_value, guint op, guint nfft) in input_data_mixed_float() argument
411 op = (op + 1) % nfft; in input_data_mixed_float()
417 guint channels, gfloat max_value, guint op, guint nfft) in input_data_mixed_double() argument
428 op = (op + 1) % nfft; in input_data_mixed_double()
434 guint channels, gfloat max_value, guint op, guint nfft) in input_data_mixed_int32_max() argument
445 op = (op + 1) % nfft; in input_data_mixed_int32_max()
[all …]
Dgstspectrum.h41 guint len, guint channels, gfloat max_value, guint op, guint nfft);
/third_party/gstreamer/gstplugins_base/gst-libs/gst/fft/
Dkiss_fftr_s16.c23 kiss_fftr_s16_alloc (int nfft, int inverse_fft, void *mem, size_t * lenmem) in kiss_fftr_s16_alloc() argument
29 g_return_val_if_fail ((nfft & 1) == 0, NULL); in kiss_fftr_s16_alloc()
30 nfft >>= 1; in kiss_fftr_s16_alloc()
32 kiss_fft_s16_alloc (nfft, inverse_fft, NULL, &subsize); in kiss_fftr_s16_alloc()
35 ALIGN_STRUCT (subsize) + sizeof (kiss_fft_s16_cpx) * (nfft * 3 / 2); in kiss_fftr_s16_alloc()
50 st->super_twiddles = st->tmpbuf + nfft; in kiss_fftr_s16_alloc()
51 kiss_fft_s16_alloc (nfft, inverse_fft, st->substate, &subsize); in kiss_fftr_s16_alloc()
53 for (i = 0; i < nfft / 2; ++i) { in kiss_fftr_s16_alloc()
55 -3.14159265358979323846264338327 * ((double) (i + 1) / nfft + .5); in kiss_fftr_s16_alloc()
73 ncfft = st->substate->nfft; in kiss_fftr_s16()
[all …]
Dkiss_fftr_f64.c23 kiss_fftr_f64_alloc (int nfft, int inverse_fft, void *mem, size_t * lenmem) in kiss_fftr_f64_alloc() argument
29 g_return_val_if_fail ((nfft & 1) == 0, NULL); in kiss_fftr_f64_alloc()
30 nfft >>= 1; in kiss_fftr_f64_alloc()
32 kiss_fft_f64_alloc (nfft, inverse_fft, NULL, &subsize); in kiss_fftr_f64_alloc()
35 ALIGN_STRUCT (subsize) + sizeof (kiss_fft_f64_cpx) * (nfft * 3 / 2); in kiss_fftr_f64_alloc()
50 st->super_twiddles = st->tmpbuf + nfft; in kiss_fftr_f64_alloc()
51 kiss_fft_f64_alloc (nfft, inverse_fft, st->substate, &subsize); in kiss_fftr_f64_alloc()
53 for (i = 0; i < nfft / 2; ++i) { in kiss_fftr_f64_alloc()
55 -3.14159265358979323846264338327 * ((double) (i + 1) / nfft + .5); in kiss_fftr_f64_alloc()
73 ncfft = st->substate->nfft; in kiss_fftr_f64()
[all …]
Dkiss_fftr_f32.c23 kiss_fftr_f32_alloc (int nfft, int inverse_fft, void *mem, size_t * lenmem) in kiss_fftr_f32_alloc() argument
29 g_return_val_if_fail ((nfft & 1) == 0, NULL); in kiss_fftr_f32_alloc()
30 nfft >>= 1; in kiss_fftr_f32_alloc()
32 kiss_fft_f32_alloc (nfft, inverse_fft, NULL, &subsize); in kiss_fftr_f32_alloc()
35 ALIGN_STRUCT (subsize) + sizeof (kiss_fft_f32_cpx) * (nfft * 3 / 2); in kiss_fftr_f32_alloc()
50 st->super_twiddles = st->tmpbuf + nfft; in kiss_fftr_f32_alloc()
51 kiss_fft_f32_alloc (nfft, inverse_fft, st->substate, &subsize); in kiss_fftr_f32_alloc()
53 for (i = 0; i < nfft / 2; ++i) { in kiss_fftr_f32_alloc()
55 -3.14159265358979323846264338327 * ((double) (i + 1) / nfft + .5); in kiss_fftr_f32_alloc()
73 ncfft = st->substate->nfft; in kiss_fftr_f32()
[all …]
Dkiss_fftr_s32.c23 kiss_fftr_s32_alloc (int nfft, int inverse_fft, void *mem, size_t * lenmem) in kiss_fftr_s32_alloc() argument
29 g_return_val_if_fail ((nfft & 1) == 0, NULL); in kiss_fftr_s32_alloc()
30 nfft >>= 1; in kiss_fftr_s32_alloc()
32 kiss_fft_s32_alloc (nfft, inverse_fft, NULL, &subsize); in kiss_fftr_s32_alloc()
35 ALIGN_STRUCT (subsize) + sizeof (kiss_fft_s32_cpx) * (nfft * 3 / 2); in kiss_fftr_s32_alloc()
50 st->super_twiddles = st->tmpbuf + nfft; in kiss_fftr_s32_alloc()
51 kiss_fft_s32_alloc (nfft, inverse_fft, st->substate, &subsize); in kiss_fftr_s32_alloc()
53 for (i = 0; i < nfft / 2; ++i) { in kiss_fftr_s32_alloc()
55 -3.14159265358979323846264338327 * ((double) (i + 1) / nfft + .5); in kiss_fftr_s32_alloc()
73 ncfft = st->substate->nfft; in kiss_fftr_s32()
[all …]
Dkiss_fft_s16.c205 int Norig = st->nfft; in kf_bfly_generic()
361 kiss_fft_s16_alloc (int nfft, int inverse_fft, void *mem, size_t * lenmem) in kiss_fft_s16_alloc() argument
365 + sizeof (kiss_fft_s16_cpx) * (nfft - 1); /* twiddle factors */ in kiss_fft_s16_alloc()
376 st->nfft = nfft; in kiss_fft_s16_alloc()
379 for (i = 0; i < nfft; ++i) { in kiss_fft_s16_alloc()
382 double phase = -2 * pi * i / nfft; in kiss_fft_s16_alloc()
388 kf_factor (nfft, st->factors); in kiss_fft_s16_alloc()
403 st->nfft); in kiss_fft_s16_stride()
405 memcpy (fout, tmpbuf, sizeof (kiss_fft_s16_cpx) * st->nfft); in kiss_fft_s16_stride()
Dkiss_fft_f32.c205 int Norig = st->nfft; in kf_bfly_generic()
361 kiss_fft_f32_alloc (int nfft, int inverse_fft, void *mem, size_t * lenmem) in kiss_fft_f32_alloc() argument
365 + sizeof (kiss_fft_f32_cpx) * (nfft - 1); /* twiddle factors */ in kiss_fft_f32_alloc()
376 st->nfft = nfft; in kiss_fft_f32_alloc()
379 for (i = 0; i < nfft; ++i) { in kiss_fft_f32_alloc()
382 double phase = -2 * pi * i / nfft; in kiss_fft_f32_alloc()
388 kf_factor (nfft, st->factors); in kiss_fft_f32_alloc()
403 st->nfft); in kiss_fft_f32_stride()
405 memcpy (fout, tmpbuf, sizeof (kiss_fft_f32_cpx) * st->nfft); in kiss_fft_f32_stride()
Dkiss_fft_s32.c205 int Norig = st->nfft; in kf_bfly_generic()
361 kiss_fft_s32_alloc (int nfft, int inverse_fft, void *mem, size_t * lenmem) in kiss_fft_s32_alloc() argument
365 + sizeof (kiss_fft_s32_cpx) * (nfft - 1); /* twiddle factors */ in kiss_fft_s32_alloc()
376 st->nfft = nfft; in kiss_fft_s32_alloc()
379 for (i = 0; i < nfft; ++i) { in kiss_fft_s32_alloc()
382 double phase = -2 * pi * i / nfft; in kiss_fft_s32_alloc()
388 kf_factor (nfft, st->factors); in kiss_fft_s32_alloc()
403 st->nfft); in kiss_fft_s32_stride()
405 memcpy (fout, tmpbuf, sizeof (kiss_fft_s32_cpx) * st->nfft); in kiss_fft_s32_stride()
Dkiss_fft_f64.c205 int Norig = st->nfft; in kf_bfly_generic()
361 kiss_fft_f64_alloc (int nfft, int inverse_fft, void *mem, size_t * lenmem) in kiss_fft_f64_alloc() argument
365 + sizeof (kiss_fft_f64_cpx) * (nfft - 1); /* twiddle factors */ in kiss_fft_f64_alloc()
376 st->nfft = nfft; in kiss_fft_f64_alloc()
379 for (i = 0; i < nfft; ++i) { in kiss_fft_f64_alloc()
382 double phase = -2 * pi * i / nfft; in kiss_fft_f64_alloc()
388 kf_factor (nfft, st->factors); in kiss_fft_f64_alloc()
403 st->nfft); in kiss_fft_f64_stride()
405 memcpy (fout, tmpbuf, sizeof (kiss_fft_f64_cpx) * st->nfft); in kiss_fft_f64_stride()
Dkiss_fftr_f64.h29 kiss_fftr_f64_cfg kiss_fftr_f64_alloc(int nfft,int inverse_fft,void * mem, size_t * lenmem);
Dkiss_fftr_s32.h29 kiss_fftr_s32_cfg kiss_fftr_s32_alloc(int nfft,int inverse_fft,void * mem, size_t * lenmem);
Dkiss_fftr_f32.h29 kiss_fftr_f32_cfg kiss_fftr_f32_alloc(int nfft,int inverse_fft,void * mem, size_t * lenmem);
Dkiss_fftr_s16.h29 kiss_fftr_s16_cfg kiss_fftr_s16_alloc(int nfft,int inverse_fft,void * mem, size_t * lenmem);
Dkiss_fft_f64.h70 kiss_fft_f64_cfg kiss_fft_f64_alloc(int nfft,int inverse_fft,void * mem,size_t * lenmem);
Dkiss_fft_f32.h70 kiss_fft_f32_cfg kiss_fft_f32_alloc(int nfft,int inverse_fft,void * mem,size_t * lenmem);
Dkiss_fft_s32.h71 kiss_fft_s32_cfg kiss_fft_s32_alloc(int nfft,int inverse_fft,void * mem,size_t * lenmem);
Dkiss_fft_s16.h71 kiss_fft_s16_cfg kiss_fft_s16_alloc(int nfft,int inverse_fft,void * mem,size_t * lenmem);
D_kiss_fft_guts_s32.h37 int nfft; member
D_kiss_fft_guts_s16.h37 int nfft; member
D_kiss_fft_guts_f64.h37 int nfft; member
D_kiss_fft_guts_f32.h37 int nfft; member
/third_party/gstreamer/gstplugins_good/
DChangeLog44796 guint nfft = 2 * bands - 2;
44797 nfft is passed to gst_fft_f32_new() as the len argument and is of type