Lines Matching refs:historybuffer
103 int16_t *historybuffer; ///< filter memory
132 int32_t historybuffer[HISTORY_SIZE + PREDICTOR_SIZE];
147 int64_t historybuffer[HISTORY_SIZE + PREDICTOR_SIZE];
821 memset(p->historybuffer, 0, PREDICTOR_SIZE * sizeof(*p->historybuffer));
822 memset(p64->historybuffer, 0, PREDICTOR_SIZE * sizeof(*p64->historybuffer));
823 p->buf = p->historybuffer;
824 p64->buf = p64->historybuffer;
1037 if (p->buf == p->historybuffer + HISTORY_SIZE) {
1038 memmove(p->historybuffer, p->buf,
1039 PREDICTOR_SIZE * sizeof(*p->historybuffer));
1040 p->buf = p->historybuffer;
1082 if (p->buf == p->historybuffer + HISTORY_SIZE) {
1083 memmove(p->historybuffer, p->buf,
1084 PREDICTOR_SIZE * sizeof(*p->historybuffer));
1085 p->buf = p->historybuffer;
1140 if (p->buf == p->historybuffer + HISTORY_SIZE) {
1141 memmove(p->historybuffer, p->buf,
1142 PREDICTOR_SIZE * sizeof(*p->historybuffer));
1143 p->buf = p->historybuffer;
1162 if (p->buf == p->historybuffer + HISTORY_SIZE) {
1163 memmove(p->historybuffer, p->buf,
1164 PREDICTOR_SIZE * sizeof(*p->historybuffer));
1165 p->buf = p->historybuffer;
1248 if (p->buf == p->historybuffer + HISTORY_SIZE) {
1249 memmove(p->historybuffer, p->buf,
1250 PREDICTOR_SIZE * sizeof(*p->historybuffer));
1251 p->buf = p->historybuffer;
1291 if (p->buf == p->historybuffer + HISTORY_SIZE) {
1292 memmove(p->historybuffer, p->buf,
1293 PREDICTOR_SIZE * sizeof(*p->historybuffer));
1294 p->buf = p->historybuffer;
1307 f->historybuffer = buf + order;
1308 f->delay = f->historybuffer + order * 2;
1309 f->adaptcoeffs = f->historybuffer + order;
1311 memset(f->historybuffer, 0, (order * 2) * sizeof(*f->historybuffer));
1375 if (f->delay == f->historybuffer + HISTORY_SIZE + (order * 2)) {
1376 memmove(f->historybuffer, f->delay - (order * 2),
1377 (order * 2) * sizeof(*f->historybuffer));
1378 f->delay = f->historybuffer + order * 2;
1379 f->adaptcoeffs = f->historybuffer + order;