Lines Matching refs:FLAC__int64
270 FLAC__int64 sumo; in FLAC__lpc_compute_residual_from_qlp_coefficients()
289 sumo += (FLAC__int64)qlp_coeff[j] * (FLAC__int64)(*history); in FLAC__lpc_compute_residual_from_qlp_coefficients()
532 FLAC__int64 sum; in FLAC__lpc_compute_residual_from_qlp_coefficients_wide()
547 sum += (FLAC__int64)qlp_coeff[j] * (FLAC__int64)(*(--history)); in FLAC__lpc_compute_residual_from_qlp_coefficients_wide()
552 if(FLAC__bitmath_silog2((FLAC__int64)(*data) - (sum >> lp_quantization)) > 32) { in FLAC__lpc_compute_residual_from_qlp_coefficients_wide()
553 …esidual=%" PRId64 "\n", i, *data, (int64_t)(sum >> lp_quantization), ((FLAC__int64)(*data) - (sum … in FLAC__lpc_compute_residual_from_qlp_coefficients_wide()
562 FLAC__int64 sum;
578 sum += qlp_coeff[11] * (FLAC__int64)data[i-12];
579 sum += qlp_coeff[10] * (FLAC__int64)data[i-11];
580 sum += qlp_coeff[9] * (FLAC__int64)data[i-10];
581 sum += qlp_coeff[8] * (FLAC__int64)data[i-9];
582 sum += qlp_coeff[7] * (FLAC__int64)data[i-8];
583 sum += qlp_coeff[6] * (FLAC__int64)data[i-7];
584 sum += qlp_coeff[5] * (FLAC__int64)data[i-6];
585 sum += qlp_coeff[4] * (FLAC__int64)data[i-5];
586 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
587 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
588 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
589 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
596 sum += qlp_coeff[10] * (FLAC__int64)data[i-11];
597 sum += qlp_coeff[9] * (FLAC__int64)data[i-10];
598 sum += qlp_coeff[8] * (FLAC__int64)data[i-9];
599 sum += qlp_coeff[7] * (FLAC__int64)data[i-8];
600 sum += qlp_coeff[6] * (FLAC__int64)data[i-7];
601 sum += qlp_coeff[5] * (FLAC__int64)data[i-6];
602 sum += qlp_coeff[4] * (FLAC__int64)data[i-5];
603 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
604 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
605 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
606 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
615 sum += qlp_coeff[9] * (FLAC__int64)data[i-10];
616 sum += qlp_coeff[8] * (FLAC__int64)data[i-9];
617 sum += qlp_coeff[7] * (FLAC__int64)data[i-8];
618 sum += qlp_coeff[6] * (FLAC__int64)data[i-7];
619 sum += qlp_coeff[5] * (FLAC__int64)data[i-6];
620 sum += qlp_coeff[4] * (FLAC__int64)data[i-5];
621 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
622 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
623 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
624 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
631 sum += qlp_coeff[8] * (FLAC__int64)data[i-9];
632 sum += qlp_coeff[7] * (FLAC__int64)data[i-8];
633 sum += qlp_coeff[6] * (FLAC__int64)data[i-7];
634 sum += qlp_coeff[5] * (FLAC__int64)data[i-6];
635 sum += qlp_coeff[4] * (FLAC__int64)data[i-5];
636 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
637 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
638 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
639 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
650 sum += qlp_coeff[7] * (FLAC__int64)data[i-8];
651 sum += qlp_coeff[6] * (FLAC__int64)data[i-7];
652 sum += qlp_coeff[5] * (FLAC__int64)data[i-6];
653 sum += qlp_coeff[4] * (FLAC__int64)data[i-5];
654 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
655 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
656 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
657 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
664 sum += qlp_coeff[6] * (FLAC__int64)data[i-7];
665 sum += qlp_coeff[5] * (FLAC__int64)data[i-6];
666 sum += qlp_coeff[4] * (FLAC__int64)data[i-5];
667 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
668 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
669 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
670 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
679 sum += qlp_coeff[5] * (FLAC__int64)data[i-6];
680 sum += qlp_coeff[4] * (FLAC__int64)data[i-5];
681 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
682 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
683 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
684 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
691 sum += qlp_coeff[4] * (FLAC__int64)data[i-5];
692 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
693 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
694 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
695 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
706 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
707 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
708 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
709 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
716 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
717 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
718 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
727 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
728 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
734 … residual[i] = data[i] - (FLAC__int32)((qlp_coeff[0] * (FLAC__int64)data[i-1]) >> lp_quantization);
743 case 32: sum += qlp_coeff[31] * (FLAC__int64)data[i-32];
744 case 31: sum += qlp_coeff[30] * (FLAC__int64)data[i-31];
745 case 30: sum += qlp_coeff[29] * (FLAC__int64)data[i-30];
746 case 29: sum += qlp_coeff[28] * (FLAC__int64)data[i-29];
747 case 28: sum += qlp_coeff[27] * (FLAC__int64)data[i-28];
748 case 27: sum += qlp_coeff[26] * (FLAC__int64)data[i-27];
749 case 26: sum += qlp_coeff[25] * (FLAC__int64)data[i-26];
750 case 25: sum += qlp_coeff[24] * (FLAC__int64)data[i-25];
751 case 24: sum += qlp_coeff[23] * (FLAC__int64)data[i-24];
752 case 23: sum += qlp_coeff[22] * (FLAC__int64)data[i-23];
753 case 22: sum += qlp_coeff[21] * (FLAC__int64)data[i-22];
754 case 21: sum += qlp_coeff[20] * (FLAC__int64)data[i-21];
755 case 20: sum += qlp_coeff[19] * (FLAC__int64)data[i-20];
756 case 19: sum += qlp_coeff[18] * (FLAC__int64)data[i-19];
757 case 18: sum += qlp_coeff[17] * (FLAC__int64)data[i-18];
758 case 17: sum += qlp_coeff[16] * (FLAC__int64)data[i-17];
759 case 16: sum += qlp_coeff[15] * (FLAC__int64)data[i-16];
760 case 15: sum += qlp_coeff[14] * (FLAC__int64)data[i-15];
761 case 14: sum += qlp_coeff[13] * (FLAC__int64)data[i-14];
762 case 13: sum += qlp_coeff[12] * (FLAC__int64)data[i-13];
763 sum += qlp_coeff[11] * (FLAC__int64)data[i-12];
764 sum += qlp_coeff[10] * (FLAC__int64)data[i-11];
765 sum += qlp_coeff[ 9] * (FLAC__int64)data[i-10];
766 sum += qlp_coeff[ 8] * (FLAC__int64)data[i- 9];
767 sum += qlp_coeff[ 7] * (FLAC__int64)data[i- 8];
768 sum += qlp_coeff[ 6] * (FLAC__int64)data[i- 7];
769 sum += qlp_coeff[ 5] * (FLAC__int64)data[i- 6];
770 sum += qlp_coeff[ 4] * (FLAC__int64)data[i- 5];
771 sum += qlp_coeff[ 3] * (FLAC__int64)data[i- 4];
772 sum += qlp_coeff[ 2] * (FLAC__int64)data[i- 3];
773 sum += qlp_coeff[ 1] * (FLAC__int64)data[i- 2];
774 sum += qlp_coeff[ 0] * (FLAC__int64)data[i- 1];
787 FLAC__int64 sumo; in FLAC__lpc_restore_signal()
806 sumo += (FLAC__int64)qlp_coeff[j] * (FLAC__int64)(*history); in FLAC__lpc_restore_signal()
1049 FLAC__int64 sum; in FLAC__lpc_restore_signal_wide()
1064 sum += (FLAC__int64)qlp_coeff[j] * (FLAC__int64)(*(--history)); in FLAC__lpc_restore_signal_wide()
1069 if(FLAC__bitmath_silog2((FLAC__int64)(*r) + (sum >> lp_quantization)) > 32) { in FLAC__lpc_restore_signal_wide()
1070 …m=%" PRId64 ", data=%" PRId64 "\n", i, *r, (sum >> lp_quantization), ((FLAC__int64)(*r) + (sum >> … in FLAC__lpc_restore_signal_wide()
1079 FLAC__int64 sum;
1095 sum += qlp_coeff[11] * (FLAC__int64)data[i-12];
1096 sum += qlp_coeff[10] * (FLAC__int64)data[i-11];
1097 sum += qlp_coeff[9] * (FLAC__int64)data[i-10];
1098 sum += qlp_coeff[8] * (FLAC__int64)data[i-9];
1099 sum += qlp_coeff[7] * (FLAC__int64)data[i-8];
1100 sum += qlp_coeff[6] * (FLAC__int64)data[i-7];
1101 sum += qlp_coeff[5] * (FLAC__int64)data[i-6];
1102 sum += qlp_coeff[4] * (FLAC__int64)data[i-5];
1103 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
1104 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
1105 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
1106 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
1113 sum += qlp_coeff[10] * (FLAC__int64)data[i-11];
1114 sum += qlp_coeff[9] * (FLAC__int64)data[i-10];
1115 sum += qlp_coeff[8] * (FLAC__int64)data[i-9];
1116 sum += qlp_coeff[7] * (FLAC__int64)data[i-8];
1117 sum += qlp_coeff[6] * (FLAC__int64)data[i-7];
1118 sum += qlp_coeff[5] * (FLAC__int64)data[i-6];
1119 sum += qlp_coeff[4] * (FLAC__int64)data[i-5];
1120 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
1121 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
1122 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
1123 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
1132 sum += qlp_coeff[9] * (FLAC__int64)data[i-10];
1133 sum += qlp_coeff[8] * (FLAC__int64)data[i-9];
1134 sum += qlp_coeff[7] * (FLAC__int64)data[i-8];
1135 sum += qlp_coeff[6] * (FLAC__int64)data[i-7];
1136 sum += qlp_coeff[5] * (FLAC__int64)data[i-6];
1137 sum += qlp_coeff[4] * (FLAC__int64)data[i-5];
1138 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
1139 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
1140 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
1141 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
1148 sum += qlp_coeff[8] * (FLAC__int64)data[i-9];
1149 sum += qlp_coeff[7] * (FLAC__int64)data[i-8];
1150 sum += qlp_coeff[6] * (FLAC__int64)data[i-7];
1151 sum += qlp_coeff[5] * (FLAC__int64)data[i-6];
1152 sum += qlp_coeff[4] * (FLAC__int64)data[i-5];
1153 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
1154 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
1155 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
1156 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
1167 sum += qlp_coeff[7] * (FLAC__int64)data[i-8];
1168 sum += qlp_coeff[6] * (FLAC__int64)data[i-7];
1169 sum += qlp_coeff[5] * (FLAC__int64)data[i-6];
1170 sum += qlp_coeff[4] * (FLAC__int64)data[i-5];
1171 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
1172 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
1173 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
1174 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
1181 sum += qlp_coeff[6] * (FLAC__int64)data[i-7];
1182 sum += qlp_coeff[5] * (FLAC__int64)data[i-6];
1183 sum += qlp_coeff[4] * (FLAC__int64)data[i-5];
1184 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
1185 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
1186 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
1187 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
1196 sum += qlp_coeff[5] * (FLAC__int64)data[i-6];
1197 sum += qlp_coeff[4] * (FLAC__int64)data[i-5];
1198 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
1199 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
1200 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
1201 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
1208 sum += qlp_coeff[4] * (FLAC__int64)data[i-5];
1209 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
1210 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
1211 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
1212 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
1223 sum += qlp_coeff[3] * (FLAC__int64)data[i-4];
1224 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
1225 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
1226 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
1233 sum += qlp_coeff[2] * (FLAC__int64)data[i-3];
1234 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
1235 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
1244 sum += qlp_coeff[1] * (FLAC__int64)data[i-2];
1245 sum += qlp_coeff[0] * (FLAC__int64)data[i-1];
1251 … data[i] = residual[i] + (FLAC__int32)((qlp_coeff[0] * (FLAC__int64)data[i-1]) >> lp_quantization);
1260 case 32: sum += qlp_coeff[31] * (FLAC__int64)data[i-32];
1261 case 31: sum += qlp_coeff[30] * (FLAC__int64)data[i-31];
1262 case 30: sum += qlp_coeff[29] * (FLAC__int64)data[i-30];
1263 case 29: sum += qlp_coeff[28] * (FLAC__int64)data[i-29];
1264 case 28: sum += qlp_coeff[27] * (FLAC__int64)data[i-28];
1265 case 27: sum += qlp_coeff[26] * (FLAC__int64)data[i-27];
1266 case 26: sum += qlp_coeff[25] * (FLAC__int64)data[i-26];
1267 case 25: sum += qlp_coeff[24] * (FLAC__int64)data[i-25];
1268 case 24: sum += qlp_coeff[23] * (FLAC__int64)data[i-24];
1269 case 23: sum += qlp_coeff[22] * (FLAC__int64)data[i-23];
1270 case 22: sum += qlp_coeff[21] * (FLAC__int64)data[i-22];
1271 case 21: sum += qlp_coeff[20] * (FLAC__int64)data[i-21];
1272 case 20: sum += qlp_coeff[19] * (FLAC__int64)data[i-20];
1273 case 19: sum += qlp_coeff[18] * (FLAC__int64)data[i-19];
1274 case 18: sum += qlp_coeff[17] * (FLAC__int64)data[i-18];
1275 case 17: sum += qlp_coeff[16] * (FLAC__int64)data[i-17];
1276 case 16: sum += qlp_coeff[15] * (FLAC__int64)data[i-16];
1277 case 15: sum += qlp_coeff[14] * (FLAC__int64)data[i-15];
1278 case 14: sum += qlp_coeff[13] * (FLAC__int64)data[i-14];
1279 case 13: sum += qlp_coeff[12] * (FLAC__int64)data[i-13];
1280 sum += qlp_coeff[11] * (FLAC__int64)data[i-12];
1281 sum += qlp_coeff[10] * (FLAC__int64)data[i-11];
1282 sum += qlp_coeff[ 9] * (FLAC__int64)data[i-10];
1283 sum += qlp_coeff[ 8] * (FLAC__int64)data[i- 9];
1284 sum += qlp_coeff[ 7] * (FLAC__int64)data[i- 8];
1285 sum += qlp_coeff[ 6] * (FLAC__int64)data[i- 7];
1286 sum += qlp_coeff[ 5] * (FLAC__int64)data[i- 6];
1287 sum += qlp_coeff[ 4] * (FLAC__int64)data[i- 5];
1288 sum += qlp_coeff[ 3] * (FLAC__int64)data[i- 4];
1289 sum += qlp_coeff[ 2] * (FLAC__int64)data[i- 3];
1290 sum += qlp_coeff[ 1] * (FLAC__int64)data[i- 2];
1291 sum += qlp_coeff[ 0] * (FLAC__int64)data[i- 1];