diff             1534 ffplay.c           double sync_threshold, diff;
diff             1540 ffplay.c               diff = get_clock(&is->vidclk) - get_master_clock(is);
diff             1546 ffplay.c               if (!isnan(diff) && fabs(diff) < is->max_frame_duration) {
diff             1547 ffplay.c                   if (diff <= -sync_threshold)
diff             1548 ffplay.c                       delay = FFMAX(0, delay + diff);
diff             1549 ffplay.c                   else if (diff >= sync_threshold && delay > AV_SYNC_FRAMEDUP_THRESHOLD)
diff             1550 ffplay.c                       delay = delay + diff;
diff             1551 ffplay.c                   else if (diff >= sync_threshold)
diff             1557 ffplay.c                   delay, -diff);
diff             1897 ffplay.c                       double diff = dpts - get_master_clock(is);
diff             1898 ffplay.c                       if (!isnan(diff) && fabs(diff) < AV_NOSYNC_THRESHOLD &&
diff             1899 ffplay.c                           diff - is->frame_last_filter_delay < 0 &&
diff             2388 ffplay.c               double diff, avg_diff;
diff             2391 ffplay.c               diff = get_clock(&is->audclk) - get_master_clock(is);
diff             2393 ffplay.c               if (!isnan(diff) && fabs(diff) < AV_NOSYNC_THRESHOLD) {
diff             2394 ffplay.c                   is->audio_diff_cum = diff + is->audio_diff_avg_coef * is->audio_diff_cum;
diff             2403 ffplay.c                           wanted_nb_samples = nb_samples + (int)(diff * is->audio_src.freq);
diff             2409 ffplay.c                               diff, avg_diff, wanted_nb_samples - nb_samples,
diff              391 libavcodec/aacenc.c     int off = sce->sf_idx[0], diff;
diff              397 libavcodec/aacenc.c                 diff = sce->sf_idx[w*16 + i] - off + SCALE_DIFF_ZERO;
diff              398 libavcodec/aacenc.c                 av_assert0(diff >= 0 && diff <= 120);
diff              400 libavcodec/aacenc.c                 put_bits(&s->pb, ff_aac_scalefactor_bits[diff], ff_aac_scalefactor_code[diff]);
diff             2204 libavcodec/ac3enc.c             int diff = abs(br - avctx->bit_rate);
diff             2205 libavcodec/ac3enc.c             if (diff < best_diff) {
diff             2208 libavcodec/ac3enc.c                 best_diff = diff;
diff              167 libavcodec/adpcm.c     int sign, delta, diff, step;
diff              178 libavcodec/adpcm.c     diff = ((2 * delta + 1) * step) >> shift;
diff              180 libavcodec/adpcm.c     if (sign) predictor -= diff;
diff              181 libavcodec/adpcm.c     else predictor += diff;
diff              191 libavcodec/adpcm.c     int nibble, step_index, predictor, sign, delta, diff, step, shift;
diff              201 libavcodec/adpcm.c     diff = ((2 * delta + 1) * step) >> shift;
diff              203 libavcodec/adpcm.c     if (sign) predictor -= diff;
diff              204 libavcodec/adpcm.c     else predictor += diff;
diff              216 libavcodec/adpcm.c     int diff, step;
diff              222 libavcodec/adpcm.c     diff = step >> 3;
diff              223 libavcodec/adpcm.c     if (nibble & 4) diff += step;
diff              224 libavcodec/adpcm.c     if (nibble & 2) diff += step >> 1;
diff              225 libavcodec/adpcm.c     if (nibble & 1) diff += step >> 2;
diff              228 libavcodec/adpcm.c         predictor = c->predictor - diff;
diff              230 libavcodec/adpcm.c         predictor = c->predictor + diff;
diff              259 libavcodec/adpcm.c     int step_index, predictor, sign, delta, diff, step;
diff              267 libavcodec/adpcm.c     diff = ((2 * delta + 1) * step) >> 3;
diff              269 libavcodec/adpcm.c     if (sign) predictor -= diff;
diff              270 libavcodec/adpcm.c     else predictor += diff;
diff              280 libavcodec/adpcm.c     int sign, delta, diff;
diff              288 libavcodec/adpcm.c     diff = ((2 * delta + 1) * c->step) >> 3;
diff              290 libavcodec/adpcm.c     c->predictor = ((c->predictor * 254) >> 8) + (sign ? -diff : diff);
diff              301 libavcodec/adpcm.c     int sign, delta, diff;
diff              305 libavcodec/adpcm.c     diff = delta << (7 + c->step + shift);
diff              308 libavcodec/adpcm.c     c->predictor = av_clip(c->predictor + (sign ? -diff : diff), -16384,16256);
diff              717 libavcodec/adpcm.c                 int diff = predictor - cs->predictor;
diff              718 libavcodec/adpcm.c                 if (diff < 0)
diff              719 libavcodec/adpcm.c                     diff = - diff;
diff              720 libavcodec/adpcm.c                 if (diff > 0x7f)
diff              182 libavcodec/adpcmenc.c     int diff, step = ff_adpcm_step_table[c->step_index];
diff              186 libavcodec/adpcmenc.c     diff = delta + (step >> 3);
diff              202 libavcodec/adpcmenc.c     diff -= delta;
diff              205 libavcodec/adpcmenc.c         c->prev_sample -= diff;
diff              207 libavcodec/adpcmenc.c         c->prev_sample += diff;
diff              591 libavcodec/amrnbdec.c     float diff = 0.0;
diff              595 libavcodec/amrnbdec.c         diff += fabs(lsf_avg[i] - lsf[i]) / lsf_avg[i];
diff              600 libavcodec/amrnbdec.c     if (diff <= 0.65)
diff              611 libavcodec/amrnbdec.c         const float smoothing_factor = av_clipf(4.0 * diff - 1.6, 0.0, 1.0);
diff              341 libavcodec/atrac3plus.c     int i, weight_idx = 0, delta, diff, pos, delta_bits, min_val, flag,
diff              401 libavcodec/atrac3plus.c                 diff = ref_chan->qu_wordlen[i] - ref_chan->qu_wordlen[i - 1];
diff              403 libavcodec/atrac3plus.c                 chan->qu_wordlen[i] = (chan->qu_wordlen[i - 1] + diff + delta) & 7;
diff              484 libavcodec/atrac3plus.c     int i, weight_idx = 0, delta, diff, num_long_vals,
diff              549 libavcodec/atrac3plus.c                 diff  = ref_chan->qu_sf_idx[i] - ref_chan->qu_sf_idx[i - 1];
diff              551 libavcodec/atrac3plus.c                 chan->qu_sf_idx[i] = (chan->qu_sf_idx[i - 1] + diff + delta) & 0x3F;
diff              580 libavcodec/atrac3plus.c                 diff               = (get_bits(gb, 4)    + 56)   & 0x3F;
diff              581 libavcodec/atrac3plus.c                 chan->qu_sf_idx[0] = (chan->qu_sf_idx[0] + diff) & 0x3F;
diff              585 libavcodec/atrac3plus.c                     diff               = (diff + sign_extend(delta, 4)) & 0x3F;
diff              586 libavcodec/atrac3plus.c                     chan->qu_sf_idx[i] = (diff + chan->qu_sf_idx[i])    & 0x3F;
diff             1576 libavcodec/atrac3plus.c     int mode, sb, j, i, diff, maxdiff, fi, delta, pred;
diff             1590 libavcodec/atrac3plus.c                     diff = FFABS(wsrc[j].freq_index - wref[i].freq_index);
diff             1591 libavcodec/atrac3plus.c                     if (diff < maxdiff) {
diff             1592 libavcodec/atrac3plus.c                         maxdiff = diff;
diff              345 libavcodec/dcaenc.c                 cplx32 sum, diff;
diff              351 libavcodec/dcaenc.c                 diff.re = buf[i].re - buf[i + j / 2].re;
diff              352 libavcodec/dcaenc.c                 diff.im = buf[i].im - buf[i + j / 2].im;
diff              357 libavcodec/dcaenc.c                 buf[i + j / 2].re = mul32(diff.re, cos_t(t))
diff              358 libavcodec/dcaenc.c                                   - mul32(diff.im, sin_t(t));
diff              359 libavcodec/dcaenc.c                 buf[i + j / 2].im = mul32(diff.im, cos_t(t))
diff              360 libavcodec/dcaenc.c                                   + mul32(diff.re, sin_t(t));
diff              442 libavcodec/dnxhdenc.c static av_always_inline void dnxhd_encode_dc(DNXHDEncContext *ctx, int diff)
diff              445 libavcodec/dnxhdenc.c     if (diff < 0) {
diff              446 libavcodec/dnxhdenc.c         nbits = av_log2_16bit(-2 * diff);
diff              447 libavcodec/dnxhdenc.c         diff--;
diff              449 libavcodec/dnxhdenc.c         nbits = av_log2_16bit(2 * diff);
diff              453 libavcodec/dnxhdenc.c              (diff & ((1 << nbits) - 1)));
diff              635 libavcodec/dnxhdenc.c             int overflow, nbits, diff, last_index;
diff              643 libavcodec/dnxhdenc.c             diff = block[0] - ctx->m.last_dc[n];
diff              644 libavcodec/dnxhdenc.c             if (diff < 0)
diff              645 libavcodec/dnxhdenc.c                 nbits = av_log2_16bit(-2 * diff);
diff              647 libavcodec/dnxhdenc.c                 nbits = av_log2_16bit(2 * diff);
diff              270 libavcodec/dpcm.c             int diff = bytestream2_get_byteu(&gb);
diff              271 libavcodec/dpcm.c             int n    = diff & 3;
diff              277 libavcodec/dpcm.c             diff = sign_extend((diff &~ 3) << 8, 16);
diff              283 libavcodec/dpcm.c             diff >>= shift[ch];
diff              284 libavcodec/dpcm.c             predictor[ch] += diff;
diff               95 libavcodec/elbg.c     int i, pick=0, diff, diff_min = INT_MAX;
diff               98 libavcodec/elbg.c             diff = distance_limited(elbg->codebook + i*elbg->dim, elbg->codebook + index*elbg->dim, elbg->dim, diff_min);
diff               99 libavcodec/elbg.c             if (diff < diff_min) {
diff              101 libavcodec/elbg.c                 diff_min = diff;
diff              801 libavcodec/exr.c                     uint32_t diff = (*(ptr[0]++) << 24) |
diff              804 libavcodec/exr.c                     pixel += diff;
diff              813 libavcodec/exr.c                     uint32_t diff = (*(ptr[0]++) << 8) | *(ptr[1]++);
diff              815 libavcodec/exr.c                     pixel += diff;
diff              140 libavcodec/ffv1.h static av_always_inline int fold(int diff, int bits)
diff              143 libavcodec/ffv1.h         diff = (int8_t)diff;
diff              145 libavcodec/ffv1.h         diff +=  1 << (bits  - 1);
diff              146 libavcodec/ffv1.h         diff &= (1 <<  bits) - 1;
diff              147 libavcodec/ffv1.h         diff -=  1 << (bits  - 1);
diff              150 libavcodec/ffv1.h     return diff;
diff              122 libavcodec/ffv1dec.c         int diff, context, sign;
diff              134 libavcodec/ffv1dec.c             diff = get_symbol_inline(c, p->state[context], 1);
diff              159 libavcodec/ffv1dec.c                     diff      = get_vlc_symbol(&s->gb, &p->vlc_state[context],
diff              161 libavcodec/ffv1dec.c                     if (diff >= 0)
diff              162 libavcodec/ffv1dec.c                         diff++;
diff              164 libavcodec/ffv1dec.c                     diff = 0;
diff              166 libavcodec/ffv1dec.c                 diff = get_vlc_symbol(&s->gb, &p->vlc_state[context], bits);
diff              173 libavcodec/ffv1dec.c             diff = -diff;
diff              175 libavcodec/ffv1dec.c         sample[1][x] = (predict(sample[1] + x, sample[0] + x) + diff) &
diff              302 libavcodec/ffv1enc.c         int diff, context;
diff              305 libavcodec/ffv1enc.c         diff    = sample[0][x] - predict(sample[0] + x, sample[1] + x);
diff              309 libavcodec/ffv1enc.c             diff    = -diff;
diff              312 libavcodec/ffv1enc.c         diff = fold(diff, bits);
diff              316 libavcodec/ffv1enc.c                 put_symbol_inline(c, p->state[context], diff, 1, s->rc_stat,
diff              319 libavcodec/ffv1enc.c                 put_symbol_inline(c, p->state[context], diff, 1, NULL, NULL);
diff              326 libavcodec/ffv1enc.c                 if (diff) {
diff              338 libavcodec/ffv1enc.c                     if (diff > 0)
diff              339 libavcodec/ffv1enc.c                         diff--;
diff              350 libavcodec/ffv1enc.c                 put_vlc_symbol(&s->pb, &p->vlc_state[context], diff, bits);
diff              434 libavcodec/flashsv2enc.c         int diff = chroma_diff(c1, color);
diff              435 libavcodec/flashsv2enc.c         if (diff < min) {
diff              436 libavcodec/flashsv2enc.c             min = diff;
diff               75 libavcodec/flashsvenc.c     int diff = 0;
diff               81 libavcodec/flashsvenc.c             diff    |= npfptr[j] ^ nsptr[j];
diff               86 libavcodec/flashsvenc.c     if (diff)
diff              157 libavcodec/g722enc.c     int diff = av_clip_int16(xhigh - state->s_predictor);
diff              160 libavcodec/g722enc.c     return ((diff ^ (diff >> (sizeof(diff)*8-1))) < pred) + 2*(diff >= 0);
diff              165 libavcodec/g722enc.c     int diff  = av_clip_int16(xlow - state->s_predictor);
diff              167 libavcodec/g722enc.c     int limit = diff ^ (diff >> (sizeof(diff)*8-1));
diff              174 libavcodec/g722enc.c     return (diff < 0 ? (i < 2 ? 63 : 33) : 61) - i;
diff             1710 libavcodec/g723_1.c     int diff, temp;
diff             1755 libavcodec/g723_1.c         diff    = ccr_eng - eng * temp;
diff             1756 libavcodec/g723_1.c         if (diff > 0 && (i - index < PITCH_MIN || diff > ccr_eng >> 2)) {
diff             1777 libavcodec/g723_1.c     int exp, max, diff;
diff             1815 libavcodec/g723_1.c         diff = ccr * max_eng - eng * max_ccr;
diff             1816 libavcodec/g723_1.c         if (diff > 0) {
diff              215 libavcodec/g729dec.c             int diff = (quantizer_output[i - 1] - quantizer_output[i] + min_distance[j]) >> 1;
diff              216 libavcodec/g729dec.c             if (diff > 0) {
diff              217 libavcodec/g729dec.c                 quantizer_output[i - 1] -= diff;
diff              218 libavcodec/g729dec.c                 quantizer_output[i    ] += diff;
diff              889 libavcodec/huffyuvdec.c static void add_median_prediction(HYuvContext *s, uint8_t *dst, const uint8_t *src, const uint8_t *diff, int w, int *left, int *left_top)
diff              892 libavcodec/huffyuvdec.c         s->hdsp.add_hfyu_median_pred(dst, src, diff, w, left, left_top);
diff              894 libavcodec/huffyuvdec.c         s->llviddsp.add_hfyu_median_pred_int16((uint16_t *)dst, (const uint16_t *)src, (const uint16_t *)diff, s->n-1, w, left, left_top);
diff               44 libavcodec/huffyuvdsp.c                                    const uint8_t *diff, intptr_t w,
diff               54 libavcodec/huffyuvdsp.c         l      = mid_pred(l, src1[i], (l + src1[i] - lt) & 0xFF) + diff[i];
diff               41 libavcodec/huffyuvdsp.h                                  const uint8_t *diff, intptr_t w,
diff              440 libavcodec/ituh263dec.c             int component, diff;
diff              444 libavcodec/ituh263dec.c                 diff = ff_rv_decode_dc(s, n);
diff              445 libavcodec/ituh263dec.c                 if (diff == 0xffff)
diff              447 libavcodec/ituh263dec.c                 level += diff;
diff              233 libavcodec/lagarith.c                                       uint8_t *diff, int w, int *left,
diff              247 libavcodec/lagarith.c         l = mid_pred(l, src1[i], l + src1[i] - lt) + diff[i];
diff              196 libavcodec/libwebpenc.c                                     int diff =  frame->data[p][frame->linesize[p] * y2 + x2]
diff              198 libavcodec/libwebpenc.c                                     sse += diff*diff;
diff              100 libavcodec/ljpegenc.c                 int pred, diff;
diff              109 libavcodec/ljpegenc.c                 diff       = ((left[i] - pred + 0x100) & 0x1FF) - 0x100;
diff              112 libavcodec/ljpegenc.c                     ff_mjpeg_encode_dc(pb, diff, s->huff_size_dc_luminance, s->huff_code_dc_luminance); //FIXME ugly
diff              114 libavcodec/ljpegenc.c                     ff_mjpeg_encode_dc(pb, diff, s->huff_size_dc_chrominance, s->huff_code_dc_chrominance);
diff               63 libavcodec/lossless_videodsp.c static void add_hfyu_median_pred_int16_c(uint16_t *dst, const uint16_t *src, const uint16_t *diff, unsigned mask, int w, int *left, int *left_top){
diff               71 libavcodec/lossless_videodsp.c         l  = (mid_pred(l, src[i], (l + src[i] - lt) & mask) + diff[i]) & mask;
diff               33 libavcodec/lossless_videodsp.h     void (*add_hfyu_median_pred_int16)(uint16_t *dst, const uint16_t *top, const uint16_t *diff, unsigned mask, int w, int *left, int *left_top);
diff               61 libavcodec/mdec.c     int level, diff, i, j, run;
diff               73 libavcodec/mdec.c         diff = decode_dc(&a->gb, component);
diff               74 libavcodec/mdec.c         if (diff >= 0xffff)
diff               76 libavcodec/mdec.c         a->last_dc[component] += diff;
diff               51 libavcodec/mpeg12.h     int code, diff;
diff               63 libavcodec/mpeg12.h         diff = 0;
diff               65 libavcodec/mpeg12.h         diff = get_xbits(gb, code);
diff               67 libavcodec/mpeg12.h     return diff;
diff              143 libavcodec/mpeg12dec.c     int level, dc, diff, i, j, run;
diff              152 libavcodec/mpeg12dec.c     diff = decode_dc(&s->gb, component);
diff              153 libavcodec/mpeg12dec.c     if (diff >= 0xffff)
diff              156 libavcodec/mpeg12dec.c     dc += diff;
diff              159 libavcodec/mpeg12dec.c     av_dlog(s->avctx, "dc=%d diff=%d\n", dc, diff);
diff              548 libavcodec/mpeg12dec.c     int level, dc, diff, i, j, run;
diff              564 libavcodec/mpeg12dec.c     diff = decode_dc(&s->gb, component);
diff              565 libavcodec/mpeg12dec.c     if (diff >= 0xffff)
diff              568 libavcodec/mpeg12dec.c     dc += diff;
diff              634 libavcodec/mpeg12dec.c     int level, dc, diff, i, j, run;
diff              649 libavcodec/mpeg12dec.c     diff = decode_dc(&s->gb, component);
diff              650 libavcodec/mpeg12dec.c     if (diff >= 0xffff)
diff              653 libavcodec/mpeg12dec.c     dc += diff;
diff              607 libavcodec/mpeg12enc.c static inline void encode_dc(MpegEncContext *s, int diff, int component)
diff              609 libavcodec/mpeg12enc.c     unsigned int diff_u = diff + 255;
diff              613 libavcodec/mpeg12enc.c         if (diff < 0) {
diff              614 libavcodec/mpeg12enc.c             index = av_log2_16bit(-2 * diff);
diff              615 libavcodec/mpeg12enc.c             diff--;
diff              617 libavcodec/mpeg12enc.c             index = av_log2_16bit(2 * diff);
diff              623 libavcodec/mpeg12enc.c                      (diff & ((1 << index) - 1)));
diff              628 libavcodec/mpeg12enc.c                      (diff & ((1 << index) - 1)));
diff              632 libavcodec/mpeg12enc.c                      mpeg1_lum_dc_uni[diff + 255] & 0xFF,
diff              633 libavcodec/mpeg12enc.c                      mpeg1_lum_dc_uni[diff + 255] >> 8);
diff              636 libavcodec/mpeg12enc.c                      mpeg1_chr_dc_uni[diff + 255] & 0xFF,
diff              637 libavcodec/mpeg12enc.c                      mpeg1_chr_dc_uni[diff + 255] >> 8);
diff              643 libavcodec/mpeg12enc.c     int alevel, level, last_non_zero, dc, diff, i, j, run, last_index, sign;
diff              653 libavcodec/mpeg12enc.c         diff      = dc - s->last_dc[component];
diff              654 libavcodec/mpeg12enc.c         encode_dc(s, diff, component);
diff             1035 libavcodec/mpeg12enc.c             int diff = i;
diff             1037 libavcodec/mpeg12enc.c             adiff = FFABS(diff);
diff             1038 libavcodec/mpeg12enc.c             if (diff < 0)
diff             1039 libavcodec/mpeg12enc.c                 diff--;
diff             1044 libavcodec/mpeg12enc.c                    (diff & ((1 << index) - 1));
diff             1049 libavcodec/mpeg12enc.c                    (diff & ((1 << index) - 1));
diff              679 libavcodec/mpeg4videoenc.c                         int diff;
diff              693 libavcodec/mpeg4videoenc.c                             diff = 0;
diff              696 libavcodec/mpeg4videoenc.c                                     diff += FFABS(p_pic[x1 + y1 * s->linesize] - b_pic[x1 + y1 * s->linesize]);
diff              699 libavcodec/mpeg4videoenc.c                             diff = diff * 256 / (xe * ye);
diff              701 libavcodec/mpeg4videoenc.c                             diff = s->mecc.sad[0](NULL, p_pic, b_pic, s->linesize, 16);
diff              703 libavcodec/mpeg4videoenc.c                         if (diff > s->qscale * 70) {  // FIXME check that 70 is optimal
diff              137 libavcodec/mss2.c     int diff = (c->high >> 16) - (c->low >> 16);
diff              141 libavcodec/mss2.c     while (!(diff & 0x80)) {
diff              143 libavcodec/mss2.c         diff <<= 1;
diff              612 libavcodec/opus_celt.c     int i, diff = 0, tf_select = 0, tf_changed = 0, tf_select_bit;
diff              620 libavcodec/opus_celt.c             diff ^= opus_rc_p2model(rc, bits);
diff              622 libavcodec/opus_celt.c             tf_changed |= diff;
diff              624 libavcodec/opus_celt.c         s->tf_change[i] = diff;
diff              796 libavcodec/opus_silk.c             int diff = (high - low) - (min_delta[i]);
diff              798 libavcodec/opus_silk.c             if (diff < min_diff) {
diff              799 libavcodec/opus_silk.c                 min_diff = diff;
diff              488 libavcodec/ppc/h264dsp.c     register vec_u8 diff = vec_subs(x, y);
diff              490 libavcodec/ppc/h264dsp.c     register vec_u8 o = vec_or(diff, diffneg); /* |x-y| */
diff              446 libavcodec/proresenc_kostya.c     int diff = cur - prev;
diff              448 libavcodec/proresenc_kostya.c     diff &= mask;
diff              449 libavcodec/proresenc_kostya.c     if (diff >= (1 << abits) - dsize)
diff              450 libavcodec/proresenc_kostya.c         diff -= 1 << abits;
diff              451 libavcodec/proresenc_kostya.c     if (diff < -dsize || diff > dsize || !diff) {
diff              453 libavcodec/proresenc_kostya.c         put_bits(pb, abits, diff);
diff              456 libavcodec/proresenc_kostya.c         put_bits(pb, dbits - 1, FFABS(diff) - 1);
diff              457 libavcodec/proresenc_kostya.c         put_bits(pb, 1, diff < 0);
diff              695 libavcodec/proresenc_kostya.c     int diff = cur - prev;
diff              697 libavcodec/proresenc_kostya.c     diff &= mask;
diff              698 libavcodec/proresenc_kostya.c     if (diff >= (1 << abits) - dsize)
diff              699 libavcodec/proresenc_kostya.c         diff -= 1 << abits;
diff              700 libavcodec/proresenc_kostya.c     if (diff < -dsize || diff > dsize || !diff)
diff              275 libavcodec/qcelpdec.c     int i, diff, prev_diff = 0;
diff              278 libavcodec/qcelpdec.c         diff = cbgain[i] - cbgain[i-1];
diff              279 libavcodec/qcelpdec.c         if (FFABS(diff) > 10)
diff              281 libavcodec/qcelpdec.c         else if (FFABS(diff - prev_diff) > 12)
diff              283 libavcodec/qcelpdec.c         prev_diff = diff;
diff              869 libavcodec/qdm2.c     int i, k, run, level, diff;
diff              887 libavcodec/qdm2.c         diff = qdm2_get_se_vlc(&vlc_tab_diff, gb, 2);
diff              890 libavcodec/qdm2.c             quantized_coeffs[i + k] = (level + ((k * diff) / run));
diff              892 libavcodec/qdm2.c         level += diff;
diff              973 libavcodec/qdm2.c     int i, j, k, n, ch, run, level, diff;
diff              986 libavcodec/qdm2.c                 diff = qdm2_get_se_vlc(&vlc_tab_diff, &gb, 2);
diff              992 libavcodec/qdm2.c                     q->quantized_coeffs[ch][i][j + k] = (level + ((k * diff) / run));
diff              994 libavcodec/qdm2.c                 level += diff;
diff              746 libavcodec/ratecontrol.c     double diff;
diff              808 libavcodec/ratecontrol.c     diff = s->total_bits - wanted_bits;
diff              809 libavcodec/ratecontrol.c     br_compensation = (a->bit_rate_tolerance - diff) / a->bit_rate_tolerance;
diff               88 libavcodec/roqaudioenc.c     int diff;
diff               93 libavcodec/roqaudioenc.c     diff = current - *previous;
diff               95 libavcodec/roqaudioenc.c     negative = diff<0;
diff               96 libavcodec/roqaudioenc.c     diff = FFABS(diff);
diff               98 libavcodec/roqaudioenc.c     if (diff >= MAX_DPCM)
diff              101 libavcodec/roqaudioenc.c         result = ff_sqrt(diff);
diff              102 libavcodec/roqaudioenc.c         result += diff > result*result+result;
diff              107 libavcodec/roqaudioenc.c     diff = result*result;
diff              109 libavcodec/roqaudioenc.c         diff = -diff;
diff              110 libavcodec/roqaudioenc.c     predicted = *previous + diff;
diff              120 libavcodec/roqvideoenc.c     int diff=0;
diff              123 libavcodec/roqvideoenc.c         diff += square(*b++ - *a++);
diff              125 libavcodec/roqvideoenc.c     return diff;
diff              289 libavcodec/roqvideoenc.c         int diff = squared_diff_macroblock(cluster, cb + i*dim*dim*3, dim);
diff              290 libavcodec/roqvideoenc.c         if (diff < lDiff) {
diff              291 libavcodec/roqvideoenc.c             lDiff = diff;
diff              302 libavcodec/roqvideoenc.c         diff = eval_motion_dist(enc, j, i, MOTION, blocksize); \
diff              304 libavcodec/roqvideoenc.c         if (diff < lowestdiff) { \
diff              305 libavcodec/roqvideoenc.c             lowestdiff = diff; \
diff              323 libavcodec/roqvideoenc.c     int diff, lowestdiff, oldbest;
diff              137 libavcodec/rv30.c     int i, diff;
diff              140 libavcodec/rv30.c         diff = ((src[-2*step] - src[1*step]) - (src[-1*step] - src[0*step])*4) >> 3;
diff              141 libavcodec/rv30.c         diff = av_clip(diff, -lim, lim);
diff              142 libavcodec/rv30.c         src[-1*step] = cm[src[-1*step] + diff];
diff              143 libavcodec/rv30.c         src[ 0*step] = cm[src[ 0*step] - diff];
diff              436 libavcodec/rv40dsp.c     int i, t, u, diff;
diff              456 libavcodec/rv40dsp.c         diff = CLIP_SYMM((t + 4) >> 3, lim_p0q0);
diff              457 libavcodec/rv40dsp.c         src[-1*step] = cm[src[-1*step] + diff];
diff              458 libavcodec/rv40dsp.c         src[ 0*step] = cm[src[ 0*step] - diff];
diff              461 libavcodec/rv40dsp.c             t = (diff_p1p0 + diff_p1p2 - diff) >> 1;
diff              466 libavcodec/rv40dsp.c             t = (diff_q1q0 + diff_q1q2 + diff) >> 1;
diff              284 libavcodec/svq1dec.c     int diff;
diff              289 libavcodec/svq1dec.c         diff = get_vlc2(bitbuf, svq1_motion_component.table, 7, 2);
diff              290 libavcodec/svq1dec.c         if (diff < 0)
diff              292 libavcodec/svq1dec.c         else if (diff) {
diff              294 libavcodec/svq1dec.c                 diff = -diff;
diff              299 libavcodec/svq1dec.c             mv->y = sign_extend(diff + mid_pred(pmv[0]->y, pmv[1]->y, pmv[2]->y), 6);
diff              301 libavcodec/svq1dec.c             mv->x = sign_extend(diff + mid_pred(pmv[0]->x, pmv[1]->x, pmv[2]->x), 6);
diff              147 libavcodec/svq1enc.c                 int sqr, diff, score;
diff              151 libavcodec/svq1enc.c                 diff   = block_sum[stage] - sum;
diff              152 libavcodec/svq1enc.c                 score  = sqr - (diff * (int64_t)diff >> (level + 3)); // FIXME: 64bit slooow
diff              154 libavcodec/svq1enc.c                     int mean = diff + (size >> 1) >> (level + 3);
diff              579 libavcodec/truemotion2.c     int left, right, diff;
diff              602 libavcodec/truemotion2.c     diff    = right - left;
diff              603 libavcodec/truemotion2.c     last[0] = left + (diff >> 2);
diff              604 libavcodec/truemotion2.c     last[1] = left + (diff >> 1);
diff              605 libavcodec/truemotion2.c     last[2] = right - (diff >> 2);
diff              185 libavcodec/vima.c                 int predict_index, diff;
diff              189 libavcodec/vima.c                 diff          = predict_table[predict_index];
diff              191 libavcodec/vima.c                     diff += ff_adpcm_step_table[step_index] >> (lookup_size - 1);
diff              193 libavcodec/vima.c                     diff = -diff;
diff              195 libavcodec/vima.c                 output = av_clip_int16(output + diff);
diff             2494 libavcodec/wavpackenc.c         int32_t lor = 0, diff = 0;
diff             2498 libavcodec/wavpackenc.c             diff |= samples_l[i] - samples_r[i];
diff             2500 libavcodec/wavpackenc.c             if (lor && diff)
diff             2504 libavcodec/wavpackenc.c         if (i == nb_samples && lor && !diff) {
diff              886 libavcodec/webp.c     int diff = (FFABS(p_l[0] - p_tl[0]) - FFABS(p_t[0] - p_tl[0])) +
diff              890 libavcodec/webp.c     if (diff <= 0)
diff              249 libavcodec/wmv2dec.c     int xy, wrap, diff, type;
diff              262 libavcodec/wmv2dec.c         diff = FFMAX(FFABS(A[0] - B[0]), FFABS(A[1] - B[1]));
diff              264 libavcodec/wmv2dec.c         diff = 0;
diff              266 libavcodec/wmv2dec.c     if (diff >= 8)
diff               32 libavcodec/x86/huffyuvdsp_init.c                                     const uint8_t *diff, intptr_t w,
diff               35 libavcodec/x86/huffyuvdsp_init.c                                   const uint8_t *diff, intptr_t w,
diff               50 libavcodec/x86/huffyuvdsp_init.c                                       const uint8_t *diff, intptr_t w,
diff               79 libavcodec/x86/huffyuvdsp_init.c         : "r"(dst + w), "r"(diff + w), "rm"(top + w)
diff               31 libavcodec/x86/lossless_videodsp_init.c void ff_add_hfyu_median_pred_int16_mmxext(uint16_t *dst, const uint16_t *top, const uint16_t *diff, unsigned mask, int w, int *left, int *left_top);
diff              143 libavdevice/fbdev_enc.c             int diff = (video_width + fbdev->xoffset) - fbdev->varinfo.xres;
diff              144 libavdevice/fbdev_enc.c             if (diff > 0) {
diff              145 libavdevice/fbdev_enc.c                 if (diff >= video_width) //nothing to display
diff              147 libavdevice/fbdev_enc.c                 bytes_to_copy -= diff * bytes_per_pixel;
diff              160 libavdevice/fbdev_enc.c             int diff = (video_height + fbdev->yoffset) - fbdev->varinfo.yres;
diff              161 libavdevice/fbdev_enc.c             if (diff > 0) {
diff              162 libavdevice/fbdev_enc.c                 if (diff >= video_height) //nothing to display
diff              164 libavdevice/fbdev_enc.c                 disp_height -= diff;
diff              820 libavfilter/avfiltergraph.c             int diff = abs(sample_rate - outlink->in_samplerates->formats[j]);
diff              822 libavfilter/avfiltergraph.c             if (diff < best_diff) {
diff              823 libavfilter/avfiltergraph.c                 best_diff = diff;
diff              256 libavfilter/f_select.c         double mafd, diff;
diff              272 libavfilter/f_select.c         diff = fabs(mafd - select->prev_mafd);
diff              273 libavfilter/f_select.c         ret  = av_clipf(FFMIN(mafd, diff) / 100., 0, 1);
diff              128 libavfilter/vf_deshake.c     int diff;
diff              139 libavfilter/vf_deshake.c                 diff = CMP(cx - x, cy - y);
diff              140 libavfilter/vf_deshake.c                 if (diff < smallest) {
diff              141 libavfilter/vf_deshake.c                     smallest = diff;
diff              151 libavfilter/vf_deshake.c                 diff = CMP(cx - x, cy - y);
diff              152 libavfilter/vf_deshake.c                 if (diff < smallest) {
diff              153 libavfilter/vf_deshake.c                     smallest = diff;
diff              169 libavfilter/vf_deshake.c                 diff = CMP(cx - x, cy - y);
diff              170 libavfilter/vf_deshake.c                 if (diff < smallest) {
diff              171 libavfilter/vf_deshake.c                     smallest = diff;
diff              219 libavfilter/vf_deshake.c     double a1, a2, diff;
diff              224 libavfilter/vf_deshake.c     diff = a2 - a1;
diff              226 libavfilter/vf_deshake.c     return (diff > M_PI)  ? diff - 2 * M_PI :
diff              227 libavfilter/vf_deshake.c            (diff < -M_PI) ? diff + 2 * M_PI :
diff              228 libavfilter/vf_deshake.c            diff;
diff              288 libavfilter/vf_drawtext.c     int64_t diff = (int64_t)a->code - (int64_t)bb->code;
diff              289 libavfilter/vf_drawtext.c     return diff > 0 ? 1 : diff < 0 ? -1 : 0;
diff              419 libavfilter/vf_fieldmatch.c     int x, y, u, diff, count;
diff              428 libavfilter/vf_fieldmatch.c             diff = dp[x];
diff              429 libavfilter/vf_fieldmatch.c             if (diff > 3) {
diff              437 libavfilter/vf_fieldmatch.c                     if (diff > 19) {
diff              164 libavfilter/vf_palettegen.c                     variance += diff(ref->color, box->color) * ref->count;
diff              178 libavfilter/vf_paletteuse.c             const int d = diff(palrgb, rgb);
diff              203 libavfilter/vf_paletteuse.c     const int current_to_target = diff(target, current);
diff              246 libavfilter/vf_paletteuse.c         const int current_to_target = diff(target, current);
diff              546 libavfilter/vf_paletteuse.c                     const int d1 = diff(palrgb1, rgb);
diff              547 libavfilter/vf_paletteuse.c                     const int d2 = diff(palrgb2, rgb);
diff              750 libavfilter/vf_paletteuse.c             mean_err += diff(rgb1, rgb2);
diff               74 libavfilter/vf_pullup.c     int i, j, diff = 0;
diff               78 libavfilter/vf_pullup.c             diff += ABS(a[j] - b[j]);
diff               83 libavfilter/vf_pullup.c     return diff;
diff              211 libavfilter/vf_pullup.c     s->diff = diff_c;
diff              606 libavfilter/vf_pullup.c     compute_metric(s, f->diffs, f, parity, f->prev->prev, parity, s->diff);
diff               64 libavfilter/vf_pullup.h     int (*diff)(const uint8_t *a, const uint8_t *b, ptrdiff_t s);
diff              183 libavfilter/vf_smartblur.c     int diff;
diff              198 libavfilter/vf_smartblur.c                 diff     = orig - filtered;
diff              200 libavfilter/vf_smartblur.c                 if (diff > 0) {
diff              201 libavfilter/vf_smartblur.c                     if (diff > 2 * threshold)
diff              203 libavfilter/vf_smartblur.c                     else if (diff > threshold)
diff              207 libavfilter/vf_smartblur.c                     if (-diff > 2 * threshold)
diff              209 libavfilter/vf_smartblur.c                     else if (-diff > threshold)
diff              220 libavfilter/vf_smartblur.c                 diff     = orig - filtered;
diff              222 libavfilter/vf_smartblur.c                 if (diff > 0) {
diff              223 libavfilter/vf_smartblur.c                     if (diff <= -threshold)
diff              225 libavfilter/vf_smartblur.c                     else if (diff <= -2 * threshold)
diff              229 libavfilter/vf_smartblur.c                     if (diff >= threshold)
diff              231 libavfilter/vf_smartblur.c                     else if (diff >= 2 * threshold)
diff               59 libavfilter/vf_yadif.c         int diff = FFMAX3(temporal_diff0 >> 1, temporal_diff1, temporal_diff2); \
diff               75 libavfilter/vf_yadif.c             diff = FFMAX3(diff, min, -max); \
diff               78 libavfilter/vf_yadif.c         if (spatial_pred > d + diff) \
diff               79 libavfilter/vf_yadif.c            spatial_pred = d + diff; \
diff               80 libavfilter/vf_yadif.c         else if (spatial_pred < d - diff) \
diff               81 libavfilter/vf_yadif.c            spatial_pred = d - diff; \
diff               36 libavfilter/x86/vf_pullup_init.c         s->diff = ff_pullup_filter_diff_mmx;
diff             1107 libavformat/asfdec.c                 int diff = asf->packet_frag_size - (asf->packet_size_left - rsize);
diff             1108 libavformat/asfdec.c                 asf->packet_size_left += diff;
diff             1109 libavformat/asfdec.c                 asf->packet_padsize   -= diff;
diff               36 libavformat/dtsdec.c     int64_t diff = 0;
diff               50 libavformat/dtsdec.c             diff += FFABS(((int16_t)AV_RL16(buf)) - (int16_t)AV_RL16(buf-4));
diff              113 libavformat/dtsdec.c         diff / p->buf_size > 200)
diff             1200 libavformat/hls.c         int64_t diff = pos + pls->segments[i]->duration - timestamp;
diff             1201 libavformat/hls.c         if (diff > 0) {
diff              140 libavformat/mxf.c     AVRational diff = av_sub_q(time_base, mxf_time_base[idx]);
diff              142 libavformat/mxf.c     diff.num = abs(diff.num);
diff              144 libavformat/mxf.c     if (av_cmp_q(diff, (AVRational){1, 1000}) >= 0)
diff              425 libavformat/rtpdec.c             int16_t diff = pkt->seq - missing_seq;
diff              426 libavformat/rtpdec.c             if (diff >= 0)
diff              697 libavformat/rtpdec.c         int16_t diff = seq - (*cur)->seq;
diff              698 libavformat/rtpdec.c         if (diff < 0)
diff              798 libavformat/rtpdec.c         int16_t diff = seq - s->seq;
diff              799 libavformat/rtpdec.c         if (diff < 0) {
diff              804 libavformat/rtpdec.c         } else if (diff <= 1) {
diff              167 libavformat/rtpdec_vp8.c                 int16_t diff = seq - expected_seq;
diff              176 libavformat/rtpdec_vp8.c                     if ((diff == 0 || diff == 1) && can_continue) {
diff              183 libavformat/rtpdec_vp8.c                     if (diff != 0)
diff              858 libavformat/utils.c                     int64_t diff =  FFABS(pts_buffer[i] - dts)
diff              860 libavformat/utils.c                     diff = FFMAX(diff, st->pts_reorder_error[i]);
diff              861 libavformat/utils.c                     st->pts_reorder_error[i] = diff;
diff               79 libavutil/mem.c     long diff;
diff               90 libavutil/mem.c     diff              = ((~(long)ptr)&(ALIGN - 1)) + 1;
diff               91 libavutil/mem.c     ptr               = (char *)ptr + diff;
diff               92 libavutil/mem.c     ((char *)ptr)[-1] = diff;
diff              146 libavutil/mem.c     int diff;
diff              157 libavutil/mem.c     diff = ((char *)ptr)[-1];
diff              158 libavutil/mem.c     av_assert0(diff>0 && diff<=ALIGN);
diff              159 libavutil/mem.c     ptr = realloc((char *)ptr - diff, size + diff);
diff              161 libavutil/mem.c         ptr = (char *)ptr + diff;
diff              758 libpostproc/postprocess_altivec_template.c         const vector signed int diff = vec_sub(p, vQP2);                \
diff              764 libpostproc/postprocess_altivec_template.c         else if (vec_all_gt(diff, F))                                   \
diff              765 libpostproc/postprocess_altivec_template.c             newpm = diff;                                               \
diff             1397 libpostproc/postprocess_template.c                         int diff= (f - *p);
diff             1398 libpostproc/postprocess_template.c                         int absDiff= FFABS(diff);
diff             1399 libpostproc/postprocess_template.c                         int error= diff*diff;
diff             1833 libswscale/utils.c     SwsVector *diff = sws_diffVec(a, b);
diff             1835 libswscale/utils.c     a->coeff  = diff->coeff;
diff             1836 libswscale/utils.c     a->length = diff->length;
diff             1837 libswscale/utils.c     av_free(diff);