Lines Matching refs:hist_a
418 float *hist_a = s->butter_hist_a;
430 if (fabs(hist_a[i + j]) > 1e-10 || fabs(hist_b[i + j]) > 1e-10)
441 left += hist_b[i - 2] * coeff_b[1] - hist_a[i - 2] * coeff_a[1];
442 right += hist_b[i - 1] * coeff_b[1] - hist_a[i - 1] * coeff_a[1];
443 left += hist_b[i - 4] * coeff_b[2] - hist_a[i - 4] * coeff_a[2];
444 right += hist_b[i - 3] * coeff_b[2] - hist_a[i - 3] * coeff_a[2];
445 samples[0] = hist_a[i ] = (float) left;
446 samples[1] = hist_a[i + 1] = (float) right;
450 memcpy(hist_a, hist_a + 252, sizeof(*hist_a) * 4);
467 float *hist_a = s->yule_hist_a;
479 if (fabs(hist_a[i + j]) > 1e-10 || fabs(hist_b[i + j]) > 1e-10)
490 left += hist_b[i - 2] * coeff_b[ 1] - hist_a[i - 2] * coeff_a[1 ];
491 right += hist_b[i - 1] * coeff_b[ 1] - hist_a[i - 1] * coeff_a[1 ];
492 left += hist_b[i - 4] * coeff_b[ 2] - hist_a[i - 4] * coeff_a[2 ];
493 right += hist_b[i - 3] * coeff_b[ 2] - hist_a[i - 3] * coeff_a[2 ];
494 left += hist_b[i - 6] * coeff_b[ 3] - hist_a[i - 6] * coeff_a[3 ];
495 right += hist_b[i - 5] * coeff_b[ 3] - hist_a[i - 5] * coeff_a[3 ];
496 left += hist_b[i - 8] * coeff_b[ 4] - hist_a[i - 8] * coeff_a[4 ];
497 right += hist_b[i - 7] * coeff_b[ 4] - hist_a[i - 7] * coeff_a[4 ];
498 left += hist_b[i - 10] * coeff_b[ 5] - hist_a[i - 10] * coeff_a[5 ];
499 right += hist_b[i - 9] * coeff_b[ 5] - hist_a[i - 9] * coeff_a[5 ];
500 left += hist_b[i - 12] * coeff_b[ 6] - hist_a[i - 12] * coeff_a[6 ];
501 right += hist_b[i - 11] * coeff_b[ 6] - hist_a[i - 11] * coeff_a[6 ];
502 left += hist_b[i - 14] * coeff_b[ 7] - hist_a[i - 14] * coeff_a[7 ];
503 right += hist_b[i - 13] * coeff_b[ 7] - hist_a[i - 13] * coeff_a[7 ];
504 left += hist_b[i - 16] * coeff_b[ 8] - hist_a[i - 16] * coeff_a[8 ];
505 right += hist_b[i - 15] * coeff_b[ 8] - hist_a[i - 15] * coeff_a[8 ];
506 left += hist_b[i - 18] * coeff_b[ 9] - hist_a[i - 18] * coeff_a[9 ];
507 right += hist_b[i - 17] * coeff_b[ 9] - hist_a[i - 17] * coeff_a[9 ];
508 left += hist_b[i - 20] * coeff_b[10] - hist_a[i - 20] * coeff_a[10];
509 right += hist_b[i - 19] * coeff_b[10] - hist_a[i - 19] * coeff_a[10];
510 dst[0] = hist_a[i ] = (float)left;
511 dst[1] = hist_a[i + 1] = (float)right;
516 memcpy(hist_a, hist_a + 236, sizeof(*hist_a) * 20);