Lines Matching refs:diff
144 int sign, delta, diff, step;
156 diff = ((2 * delta + 1) * step) >> shift;
158 if (sign) predictor -= diff;
159 else predictor += diff;
171 int diff, step;
177 diff = step >> 3;
178 if (nibble & 4) diff += step;
179 if (nibble & 2) diff += step >> 1;
180 if (nibble & 1) diff += step >> 2;
183 predictor = c->predictor - diff;
185 predictor = c->predictor + diff;
210 int sign, delta, diff;
218 diff = ((2 * delta + 1) * c->step) >> 3;
220 c->predictor = ((c->predictor * 254) >> 8) + (sign ? -diff : diff);
231 int sign, delta, diff;
235 diff = delta << (7 + c->step + shift);
238 c->predictor = av_clip(c->predictor + (sign ? -diff : diff), -16384,16256);
586 int diff = (int)predictor - cs->predictor;
587 if (diff < 0)
588 diff = - diff;
589 if (diff > 0x7f)
741 * c->status[1] is the diff channel */
747 /* process the diff channel predictor */