Lines Matching refs:historybuffer
101 int16_t *historybuffer; ///< filter memory
130 int32_t historybuffer[HISTORY_SIZE + PREDICTOR_SIZE];
791 memset(p->historybuffer, 0, PREDICTOR_SIZE * sizeof(*p->historybuffer));
792 p->buf = p->historybuffer;
993 if (p->buf == p->historybuffer + HISTORY_SIZE) {
994 memmove(p->historybuffer, p->buf,
995 PREDICTOR_SIZE * sizeof(*p->historybuffer));
996 p->buf = p->historybuffer;
1039 if (p->buf == p->historybuffer + HISTORY_SIZE) {
1040 memmove(p->historybuffer, p->buf,
1041 PREDICTOR_SIZE * sizeof(*p->historybuffer));
1042 p->buf = p->historybuffer;
1097 if (p->buf == p->historybuffer + HISTORY_SIZE) {
1098 memmove(p->historybuffer, p->buf,
1099 PREDICTOR_SIZE * sizeof(*p->historybuffer));
1100 p->buf = p->historybuffer;
1119 if (p->buf == p->historybuffer + HISTORY_SIZE) {
1120 memmove(p->historybuffer, p->buf,
1121 PREDICTOR_SIZE * sizeof(*p->historybuffer));
1122 p->buf = p->historybuffer;
1195 if (p->buf == p->historybuffer + HISTORY_SIZE) {
1196 memmove(p->historybuffer, p->buf,
1197 PREDICTOR_SIZE * sizeof(*p->historybuffer));
1198 p->buf = p->historybuffer;
1238 if (p->buf == p->historybuffer + HISTORY_SIZE) {
1239 memmove(p->historybuffer, p->buf,
1240 PREDICTOR_SIZE * sizeof(*p->historybuffer));
1241 p->buf = p->historybuffer;
1254 f->historybuffer = buf + order;
1255 f->delay = f->historybuffer + order * 2;
1256 f->adaptcoeffs = f->historybuffer + order;
1258 memset(f->historybuffer, 0, (order * 2) * sizeof(*f->historybuffer));
1314 if (f->delay == f->historybuffer + HISTORY_SIZE + (order * 2)) {
1315 memmove(f->historybuffer, f->delay - (order * 2),
1316 (order * 2) * sizeof(*f->historybuffer));
1317 f->delay = f->historybuffer + order * 2;
1318 f->adaptcoeffs = f->historybuffer + order;