Lines Matching refs:n_samples
288 const gfloat * input_r, guint n_samples) in apply_filters() argument
297 for (i = 0; i < n_samples; i++, pos++) { in apply_filters()
517 guint n_samples = size / sizeof (gfloat); in rg_analysis_analyze_mono_float() local
523 while (n_samples) { in rg_analysis_analyze_mono_float()
524 gint n = MIN (n_samples, G_N_ELEMENTS (conv_samples)); in rg_analysis_analyze_mono_float()
526 n_samples -= n; in rg_analysis_analyze_mono_float()
577 guint n_samples = size / sizeof (gint16); in rg_analysis_analyze_mono_int16() local
584 while (n_samples) { in rg_analysis_analyze_mono_int16()
585 gint n = MIN (n_samples, G_N_ELEMENTS (conv_samples)); in rg_analysis_analyze_mono_int16()
587 n_samples -= n; in rg_analysis_analyze_mono_int16()
653 const gfloat * samples_r, guint n_samples) in rg_analysis_analyze() argument
663 if (n_samples == 0) in rg_analysis_analyze()
671 MIN (n_samples, MAX_ORDER) * sizeof (gfloat)); in rg_analysis_analyze()
673 MIN (n_samples, MAX_ORDER) * sizeof (gfloat)); in rg_analysis_analyze()
676 while (n_samples_done < n_samples) { in rg_analysis_analyze()
679 guint n_samples_current = MIN (n_samples - n_samples_done, in rg_analysis_analyze()
745 if (n_samples >= MAX_ORDER) { in rg_analysis_analyze()
747 memcpy (ctx->inprebuf_l, samples_l + n_samples - MAX_ORDER, in rg_analysis_analyze()
750 memcpy (ctx->inprebuf_r, samples_r + n_samples - MAX_ORDER, in rg_analysis_analyze()
755 memmove (ctx->inprebuf_l, ctx->inprebuf_l + n_samples, in rg_analysis_analyze()
756 (MAX_ORDER - n_samples) * sizeof (gfloat)); in rg_analysis_analyze()
757 memcpy (ctx->inprebuf_l + MAX_ORDER - n_samples, samples_l, in rg_analysis_analyze()
758 n_samples * sizeof (gfloat)); in rg_analysis_analyze()
760 memmove (ctx->inprebuf_r, ctx->inprebuf_r + n_samples, in rg_analysis_analyze()
761 (MAX_ORDER - n_samples) * sizeof (gfloat)); in rg_analysis_analyze()
762 memcpy (ctx->inprebuf_r + MAX_ORDER - n_samples, samples_r, in rg_analysis_analyze()
763 n_samples * sizeof (gfloat)); in rg_analysis_analyze()