diff             1531 fftools/ffplay.c     double sync_threshold, diff = 0;
diff             1537 fftools/ffplay.c         diff = get_clock(&is->vidclk) - get_master_clock(is);
diff             1543 fftools/ffplay.c         if (!isnan(diff) && fabs(diff) < is->max_frame_duration) {
diff             1544 fftools/ffplay.c             if (diff <= -sync_threshold)
diff             1545 fftools/ffplay.c                 delay = FFMAX(0, delay + diff);
diff             1546 fftools/ffplay.c             else if (diff >= sync_threshold && delay > AV_SYNC_FRAMEDUP_THRESHOLD)
diff             1547 fftools/ffplay.c                 delay = delay + diff;
diff             1548 fftools/ffplay.c             else if (diff >= sync_threshold)
diff             1554 fftools/ffplay.c             delay, -diff);
diff             1795 fftools/ffplay.c                 double diff = dpts - get_master_clock(is);
diff             1796 fftools/ffplay.c                 if (!isnan(diff) && fabs(diff) < AV_NOSYNC_THRESHOLD &&
diff             1797 fftools/ffplay.c                     diff - is->frame_last_filter_delay < 0 &&
diff             2303 fftools/ffplay.c         double diff, avg_diff;
diff             2306 fftools/ffplay.c         diff = get_clock(&is->audclk) - get_master_clock(is);
diff             2308 fftools/ffplay.c         if (!isnan(diff) && fabs(diff) < AV_NOSYNC_THRESHOLD) {
diff             2309 fftools/ffplay.c             is->audio_diff_cum = diff + is->audio_diff_avg_coef * is->audio_diff_cum;
diff             2318 fftools/ffplay.c                     wanted_nb_samples = nb_samples + (int)(diff * is->audio_src.freq);
diff             2324 fftools/ffplay.c                         diff, avg_diff, wanted_nb_samples - nb_samples,
diff              388 libavcodec/aacenc.c     int diff, off_sf = sce->sf_idx[0], off_pns = sce->sf_idx[0] - NOISE_OFFSET;
diff              396 libavcodec/aacenc.c                     diff = sce->sf_idx[w*16 + i] - off_pns;
diff              399 libavcodec/aacenc.c                         put_bits(&s->pb, NOISE_PRE_BITS, diff + NOISE_PRE);
diff              404 libavcodec/aacenc.c                     diff = sce->sf_idx[w*16 + i] - off_is;
diff              407 libavcodec/aacenc.c                     diff = sce->sf_idx[w*16 + i] - off_sf;
diff              410 libavcodec/aacenc.c                 diff += SCALE_DIFF_ZERO;
diff              411 libavcodec/aacenc.c                 av_assert0(diff >= 0 && diff <= 120);
diff              412 libavcodec/aacenc.c                 put_bits(&s->pb, ff_aac_scalefactor_bits[diff], ff_aac_scalefactor_code[diff]);
diff             2207 libavcodec/ac3enc.c             long long diff = llabs(br - avctx->bit_rate);
diff             2208 libavcodec/ac3enc.c             if (diff < best_diff) {
diff             2211 libavcodec/ac3enc.c                 best_diff = diff;
diff              271 libavcodec/adpcm.c     int sign, delta, diff, step;
diff              282 libavcodec/adpcm.c     diff = ((2 * delta + 1) * step) >> shift;
diff              284 libavcodec/adpcm.c     if (sign) predictor -= diff;
diff              285 libavcodec/adpcm.c     else predictor += diff;
diff              297 libavcodec/adpcm.c     int sign, delta, diff, step;
diff              305 libavcodec/adpcm.c     diff = (delta * step) >> shift;
diff              307 libavcodec/adpcm.c     if (sign) predictor -= diff;
diff              308 libavcodec/adpcm.c     else predictor += diff;
diff              354 libavcodec/adpcm.c     int nibble, step_index, predictor, sign, delta, diff, step, shift;
diff              364 libavcodec/adpcm.c     diff = ((2 * delta + 1) * step) >> shift;
diff              366 libavcodec/adpcm.c     if (sign) predictor -= diff;
diff              367 libavcodec/adpcm.c     else predictor += diff;
diff              379 libavcodec/adpcm.c     int diff, step;
diff              385 libavcodec/adpcm.c     diff = step >> 3;
diff              386 libavcodec/adpcm.c     if (nibble & 4) diff += step;
diff              387 libavcodec/adpcm.c     if (nibble & 2) diff += step >> 1;
diff              388 libavcodec/adpcm.c     if (nibble & 1) diff += step >> 2;
diff              391 libavcodec/adpcm.c         predictor = c->predictor - diff;
diff              393 libavcodec/adpcm.c         predictor = c->predictor + diff;
diff              422 libavcodec/adpcm.c     int step_index, predictor, sign, delta, diff, step;
diff              430 libavcodec/adpcm.c     diff = ((2 * delta + 1) * step) >> 3;
diff              432 libavcodec/adpcm.c     if (sign) predictor -= diff;
diff              433 libavcodec/adpcm.c     else predictor += diff;
diff              443 libavcodec/adpcm.c     int sign, delta, diff;
diff              451 libavcodec/adpcm.c     diff = ((2 * delta + 1) * c->step) >> 3;
diff              453 libavcodec/adpcm.c     c->predictor = ((c->predictor * 254) >> 8) + (sign ? -diff : diff);
diff              464 libavcodec/adpcm.c     int sign, delta, diff;
diff              468 libavcodec/adpcm.c     diff = delta << (7 + c->step + shift);
diff              471 libavcodec/adpcm.c     c->predictor = av_clip(c->predictor + (sign ? -diff : diff), -16384,16256);
diff              984 libavcodec/adpcm.c                 int diff = predictor - cs->predictor;
diff              985 libavcodec/adpcm.c                 if (diff < 0)
diff              986 libavcodec/adpcm.c                     diff = - diff;
diff              987 libavcodec/adpcm.c                 if (diff > 0x7f)
diff              194 libavcodec/adpcmenc.c     int diff, step = ff_adpcm_step_table[c->step_index];
diff              198 libavcodec/adpcmenc.c     diff = delta + (step >> 3);
diff              214 libavcodec/adpcmenc.c     diff -= delta;
diff              217 libavcodec/adpcmenc.c         c->prev_sample -= diff;
diff              219 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              142 libavcodec/aptxenc.c         int32_t diff = av_clip_intp2(subband_samples[subband] - channel->prediction[subband].predicted_sample, 23);
diff              143 libavcodec/aptxenc.c         aptx_quantize_difference(&channel->quantize[subband], diff,
diff              338 libavcodec/atrac3plus.c     int i, weight_idx = 0, delta, diff, pos, delta_bits, min_val, flag,
diff              398 libavcodec/atrac3plus.c                 diff = ref_chan->qu_wordlen[i] - ref_chan->qu_wordlen[i - 1];
diff              400 libavcodec/atrac3plus.c                 chan->qu_wordlen[i] = (chan->qu_wordlen[i - 1] + diff + delta) & 7;
diff              485 libavcodec/atrac3plus.c     int i, weight_idx = 0, delta, diff, num_long_vals,
diff              550 libavcodec/atrac3plus.c                 diff  = ref_chan->qu_sf_idx[i] - ref_chan->qu_sf_idx[i - 1];
diff              552 libavcodec/atrac3plus.c                 chan->qu_sf_idx[i] = (chan->qu_sf_idx[i - 1] + diff + delta) & 0x3F;
diff              581 libavcodec/atrac3plus.c                 diff               = (get_bits(gb, 4)    + 56)   & 0x3F;
diff              582 libavcodec/atrac3plus.c                 chan->qu_sf_idx[0] = (chan->qu_sf_idx[0] + diff) & 0x3F;
diff              586 libavcodec/atrac3plus.c                     diff               = (diff + sign_extend(delta, 4)) & 0x3F;
diff              587 libavcodec/atrac3plus.c                     chan->qu_sf_idx[i] = (diff + chan->qu_sf_idx[i])    & 0x3F;
diff             1577 libavcodec/atrac3plus.c     int mode, sb, j, i, diff, maxdiff, fi, delta, pred;
diff             1591 libavcodec/atrac3plus.c                     diff = FFABS(wsrc[j].freq_index - wref[i].freq_index);
diff             1592 libavcodec/atrac3plus.c                     if (diff < maxdiff) {
diff             1593 libavcodec/atrac3plus.c                         maxdiff = diff;
diff              516 libavcodec/cbs_av1.c     unsigned int diff, m;
diff              519 libavcodec/cbs_av1.c     diff = a - b;
diff              521 libavcodec/cbs_av1.c     diff = (diff & (m - 1)) - (diff & m);
diff              522 libavcodec/cbs_av1.c     return diff;
diff              296 libavcodec/clearvideo.c static MV mvi_predict(MVInfo *mvi, int mb_x, int mb_y, MV diff)
diff              336 libavcodec/clearvideo.c     mvi->mv[mvi->mb_stride + mb_x].x = res.x + diff.x;
diff              337 libavcodec/clearvideo.c     mvi->mv[mvi->mb_stride + mb_x].y = res.y + diff.y;
diff              284 libavcodec/dca_lbr.c     unsigned int diff, main_amp, shift;
diff              289 libavcodec/dca_lbr.c     for (sf = 0; sf < 1 << group; sf += diff ? 8 : 1) {
diff              300 libavcodec/dca_lbr.c             diff = parse_vlc(&s->gb, &ff_dca_vlc_tnl_grp[group], 2);
diff              301 libavcodec/dca_lbr.c             if (diff >= FF_ARRAY_ELEMS(ff_dca_fst_amp)) {
diff              306 libavcodec/dca_lbr.c             diff = get_bitsz(&s->gb, diff >> 2) + ff_dca_fst_amp[diff];
diff              307 libavcodec/dca_lbr.c             if (diff <= 1)
diff              310 libavcodec/dca_lbr.c             freq += diff - 2;
diff              125 libavcodec/dcaadpcm.c int ff_dcaadpcm_subband_analysis(const DCAADPCMEncContext *s, const int32_t *in, int len, int *diff)
diff              151 libavcodec/dcaadpcm.c     pg = calc_prediction_gain(pred_vq, input_buffer, diff, len);
diff              159 libavcodec/dcaadpcm.c         diff[i] <<= 7;
diff               44 libavcodec/dcaadpcm.h int ff_dcaadpcm_subband_analysis(const DCAADPCMEncContext *s, const int32_t *input, int len, int *diff);
diff              592 libavcodec/dnxhdenc.c static av_always_inline void dnxhd_encode_dc(DNXHDEncContext *ctx, int diff)
diff              595 libavcodec/dnxhdenc.c     if (diff < 0) {
diff              596 libavcodec/dnxhdenc.c         nbits = av_log2_16bit(-2 * diff);
diff              597 libavcodec/dnxhdenc.c         diff--;
diff              599 libavcodec/dnxhdenc.c         nbits = av_log2_16bit(2 * diff);
diff              603 libavcodec/dnxhdenc.c              av_mod_uintp2(diff, nbits));
diff              875 libavcodec/dnxhdenc.c             int overflow, nbits, diff, last_index;
diff              884 libavcodec/dnxhdenc.c             diff = block[0] - ctx->m.last_dc[n];
diff              885 libavcodec/dnxhdenc.c             if (diff < 0)
diff              886 libavcodec/dnxhdenc.c                 nbits = av_log2_16bit(-2 * diff);
diff              888 libavcodec/dnxhdenc.c                 nbits = av_log2_16bit(2 * diff);
diff              315 libavcodec/dpcm.c             int diff = bytestream2_get_byteu(&gb);
diff              316 libavcodec/dpcm.c             int n    = diff & 3;
diff              322 libavcodec/dpcm.c             diff = sign_extend((diff &~ 3) << 8, 16);
diff              327 libavcodec/dpcm.c             diff >>= shift[ch];
diff              328 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              268 libavcodec/elsdec.c     ctx->diff      = FFMIN(ELS_MAX - ctx->x,
diff              301 libavcodec/elsdec.c     ctx->diff -= z;
diff              302 libavcodec/elsdec.c     if (ctx->diff > 0)
diff              345 libavcodec/elsdec.c     ctx->diff = FFMIN(z - ctx->x, z - pAllowable[ctx->j - 1]);
diff               40 libavcodec/elsdec.h     int j, t, diff, err;
diff              817 libavcodec/exr.c                     uint32_t diff = ((unsigned)*(ptr[0]++) << 24) |
diff              820 libavcodec/exr.c                     pixel += diff;
diff              829 libavcodec/exr.c                     uint32_t diff = (*(ptr[0]++) << 8) | *(ptr[1]++);
diff              831 libavcodec/exr.c                     pixel += diff;
diff              843 libavcodec/exr.c                     uint32_t diff = ((uint32_t)*(ptr[0]++) << 24) |
diff              847 libavcodec/exr.c                     pixel += diff;
diff              150 libavcodec/ffv1.h static av_always_inline int fold(int diff, int bits)
diff              153 libavcodec/ffv1.h         diff = (int8_t)diff;
diff              155 libavcodec/ffv1.h         diff = sign_extend(diff, bits);
diff              158 libavcodec/ffv1.h     return diff;
diff               51 libavcodec/ffv1dec_template.c         int diff, context, sign;
diff               68 libavcodec/ffv1dec_template.c             diff = get_symbol_inline(c, p->state[context], 1);
diff              106 libavcodec/ffv1dec_template.c                     diff      = get_vlc_symbol(&s->gb, &p->vlc_state[context],
diff              108 libavcodec/ffv1dec_template.c                     if (diff >= 0)
diff              109 libavcodec/ffv1dec_template.c                         diff++;
diff              111 libavcodec/ffv1dec_template.c                     diff = 0;
diff              113 libavcodec/ffv1dec_template.c                 diff = get_vlc_symbol(&s->gb, &p->vlc_state[context], bits);
diff              120 libavcodec/ffv1dec_template.c             diff = -(unsigned)diff;
diff              122 libavcodec/ffv1dec_template.c         sample[1][x] = av_mod_uintp2(RENAME(predict)(sample[1] + x, sample[0] + x) + (SUINT)diff, bits);
diff               59 libavcodec/ffv1enc_template.c         int diff, context;
diff               62 libavcodec/ffv1enc_template.c         diff    = sample[0][x] - RENAME(predict)(sample[0] + x, sample[1] + x);
diff               66 libavcodec/ffv1enc_template.c             diff    = -diff;
diff               69 libavcodec/ffv1enc_template.c         diff = fold(diff, bits);
diff               73 libavcodec/ffv1enc_template.c                 put_symbol_inline(c, p->state[context], diff, 1, s->rc_stat,
diff               76 libavcodec/ffv1enc_template.c                 put_symbol_inline(c, p->state[context], diff, 1, NULL, NULL);
diff               83 libavcodec/ffv1enc_template.c                 if (diff) {
diff               95 libavcodec/ffv1enc_template.c                     if (diff > 0)
diff               96 libavcodec/ffv1enc_template.c                         diff--;
diff              107 libavcodec/ffv1enc_template.c                 put_vlc_symbol(&s->pb, &p->vlc_state[context], diff, bits);
diff              980 libavcodec/flacenc.c                     int diff = ((tmp + 1) % 3) - 1;
diff              981 libavcodec/flacenc.c                     lpc_try[i] = av_clip(coefs[opt_order - 1][i] + diff, -qmax, qmax);
diff              983 libavcodec/flacenc.c                     diffsum += !!diff;
diff              436 libavcodec/flashsv2enc.c         int diff = chroma_diff(c1, color);
diff              437 libavcodec/flashsv2enc.c         if (diff < min) {
diff              438 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              152 libavcodec/g722enc.c     int diff = av_clip_int16(xhigh - state->s_predictor);
diff              155 libavcodec/g722enc.c     return ((diff ^ (diff >> (sizeof(diff)*8-1))) < pred) + 2*(diff >= 0);
diff              160 libavcodec/g722enc.c     int diff  = av_clip_int16(xlow - state->s_predictor);
diff              162 libavcodec/g722enc.c     int limit = diff ^ (diff >> (sizeof(diff)*8-1));
diff              169 libavcodec/g722enc.c     return (diff < 0 ? (i < 2 ? 63 : 33) : 61) - i;
diff              431 libavcodec/g723_1enc.c     int diff, temp;
diff              476 libavcodec/g723_1enc.c         diff    = ccr_eng - eng * temp;
diff              477 libavcodec/g723_1enc.c         if (diff > 0 && (i - index < PITCH_MIN || diff > ccr_eng >> 2)) {
diff              498 libavcodec/g723_1enc.c     int exp, max, diff;
diff              536 libavcodec/g723_1enc.c         diff = ccr * max_eng - eng * max_ccr;
diff              537 libavcodec/g723_1enc.c         if (diff > 0) {
diff              214 libavcodec/g729dec.c             int diff = (quantizer_output[i - 1] - quantizer_output[i] + min_distance[j]) >> 1;
diff              215 libavcodec/g729dec.c             if (diff > 0) {
diff              216 libavcodec/g729dec.c                 quantizer_output[i - 1] -= diff;
diff              217 libavcodec/g729dec.c                 quantizer_output[i    ] += diff;
diff              868 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              871 libavcodec/huffyuvdec.c         s->llviddsp.add_median_pred(dst, src, diff, w, left, left_top);
diff              873 libavcodec/huffyuvdec.c         s->hdsp.add_hfyu_median_pred_int16((uint16_t *)dst, (const uint16_t *)src, (const uint16_t *)diff, s->n-1, w, left, left_top);
diff               42 libavcodec/huffyuvdsp.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               50 libavcodec/huffyuvdsp.c         l  = (mid_pred(l, src[i], (l + src[i] - lt) & mask) + diff[i]) & mask;
diff               43 libavcodec/huffyuvdsp.h                                        const uint16_t *diff, unsigned mask,
diff              344 libavcodec/ilbcdec.c     int16_t diff, freq;
diff              357 libavcodec/ilbcdec.c         diff = freq & 0xFF;
diff              360 libavcodec/ilbcdec.c         tmp = cos_derivative_tbl[k] * diff;
diff              769 libavcodec/ilbcdec.c     int16_t meml_gotten, Nfor, Nback, diff, start_pos;
diff              775 libavcodec/ilbcdec.c     diff = STATE_LEN - s->state_short_len;
diff              780 libavcodec/ilbcdec.c         start_pos = (encbits->start - 1) * SUBL + diff;
diff              794 libavcodec/ilbcdec.c         construct_vector(&decresidual[start_pos + s->state_short_len], encbits->cb_index, encbits->gain_index, mem + CB_MEML - ST_MEM_L_TBL, ST_MEM_L_TBL, (int16_t) diff);
diff              803 libavcodec/ilbcdec.c         construct_vector(reverseDecresidual, encbits->cb_index, encbits->gain_index, mem + CB_MEML - ST_MEM_L_TBL, ST_MEM_L_TBL, diff);
diff              806 libavcodec/ilbcdec.c         reverse_memcpy(&decresidual[start_pos - 1], reverseDecresidual, diff);
diff              465 libavcodec/ituh263dec.c             int component, diff;
diff              469 libavcodec/ituh263dec.c                 diff = ff_rv_decode_dc(s, n);
diff              470 libavcodec/ituh263dec.c                 if (diff == 0xffff)
diff              472 libavcodec/ituh263dec.c                 level += diff;
diff              242 libavcodec/lagarith.c                                       uint8_t *diff, int w, int *left,
diff              256 libavcodec/lagarith.c         l = mid_pred(l, src1[i], l + src1[i] - lt) + diff[i];
diff              176 libavcodec/libwebpenc_common.c                                     int diff =  frame->data[p][frame->linesize[p] * y2 + x2]
diff              178 libavcodec/libwebpenc_common.c                                     sse += diff*diff;
diff              109 libavcodec/ljpegenc.c                 int pred, diff;
diff              118 libavcodec/ljpegenc.c                 diff       = ((left[i] - pred + 0x100) & 0x1FF) - 0x100;
diff              121 libavcodec/ljpegenc.c                     ff_mjpeg_encode_dc(pb, diff, s->huff_size_dc_luminance, s->huff_code_dc_luminance); //FIXME ugly
diff              123 libavcodec/ljpegenc.c                     ff_mjpeg_encode_dc(pb, diff, s->huff_size_dc_chrominance, s->huff_code_dc_chrominance);
diff               42 libavcodec/lossless_videodsp.c                               const uint8_t *diff, ptrdiff_t w,
diff               52 libavcodec/lossless_videodsp.c         l      = mid_pred(l, src1[i], (l + src1[i] - lt) & 0xFF) + diff[i];
diff               35 libavcodec/lossless_videodsp.h                             const uint8_t *diff, ptrdiff_t w,
diff              192 libavcodec/magicyuv.c                                    const uint16_t *diff, intptr_t w,
diff              202 libavcodec/magicyuv.c         l      = mid_pred(l, src1[i], (l + src1[i] - lt)) + diff[i];
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              544 libavcodec/mfenc.c         int diff = (int)t - avctx->bit_rate / 8;
diff              545 libavcodec/mfenc.c         if (diff >= 0) {
diff              546 libavcodec/mfenc.c             score |= (1LL << 31) - diff; // prefer lower bitrate
diff              548 libavcodec/mfenc.c             score |= (1LL << 30) + diff; // prefer higher bitrate
diff              234 libavcodec/mips/me_cmp_msa.c     v16u8 src0, src1, src2, src3, temp0, temp1, diff;
diff              261 libavcodec/mips/me_cmp_msa.c         diff = (v16u8) __msa_asub_u_b(src0, (v16u8) comp1);
diff              262 libavcodec/mips/me_cmp_msa.c         sad += __msa_hadd_u_h(diff, diff);
diff              276 libavcodec/mips/me_cmp_msa.c         diff = (v16u8) __msa_asub_u_b(src1, (v16u8) comp3);
diff              277 libavcodec/mips/me_cmp_msa.c         sad += __msa_hadd_u_h(diff, diff);
diff              290 libavcodec/mips/me_cmp_msa.c     v16u8 src0, src1, src2, src3, comp, diff;
diff              313 libavcodec/mips/me_cmp_msa.c         diff = __msa_asub_u_b(src0, comp);
diff              314 libavcodec/mips/me_cmp_msa.c         sad += __msa_hadd_u_h(diff, diff);
diff              323 libavcodec/mips/me_cmp_msa.c         diff = __msa_asub_u_b(src1, comp);
diff              324 libavcodec/mips/me_cmp_msa.c         sad += __msa_hadd_u_h(diff, diff);
diff              333 libavcodec/mips/me_cmp_msa.c         diff = __msa_asub_u_b(src2, comp);
diff              334 libavcodec/mips/me_cmp_msa.c         sad += __msa_hadd_u_h(diff, diff);
diff              343 libavcodec/mips/me_cmp_msa.c         diff = __msa_asub_u_b(src3, comp);
diff              344 libavcodec/mips/me_cmp_msa.c         sad += __msa_hadd_u_h(diff, diff);
diff              359 libavcodec/mips/me_cmp_msa.c         diff = __msa_asub_u_b(src0, comp);
diff              360 libavcodec/mips/me_cmp_msa.c         sad += __msa_hadd_u_h(diff, diff);
diff              369 libavcodec/mips/me_cmp_msa.c         diff = __msa_asub_u_b(src1, comp);
diff              370 libavcodec/mips/me_cmp_msa.c         sad += __msa_hadd_u_h(diff, diff);
diff              379 libavcodec/mips/me_cmp_msa.c         diff = __msa_asub_u_b(src2, comp);
diff              380 libavcodec/mips/me_cmp_msa.c         sad += __msa_hadd_u_h(diff, diff);
diff              389 libavcodec/mips/me_cmp_msa.c         diff = __msa_asub_u_b(src3, comp);
diff              390 libavcodec/mips/me_cmp_msa.c         sad += __msa_hadd_u_h(diff, diff);
diff             1597 libavcodec/mlpenc.c     uint32_t diff;
diff             1608 libavcodec/mlpenc.c     diff = max - min;
diff             1610 libavcodec/mlpenc.c     lsb_bits = number_sbits(diff) - 1;
diff             1617 libavcodec/mlpenc.c     offset = min + diff / 2 + !!lsb_bits;
diff              245 libavcodec/mpeg12.c     int dc, diff, i = 0, component;
diff              251 libavcodec/mpeg12.c     diff = decode_dc(gb, component);
diff              252 libavcodec/mpeg12.c     if (diff >= 0xffff)
diff              256 libavcodec/mpeg12.c     dc += diff;
diff               43 libavcodec/mpeg12.h     int code, diff;
diff               55 libavcodec/mpeg12.h         diff = 0;
diff               57 libavcodec/mpeg12.h         diff = get_xbits(gb, code);
diff               59 libavcodec/mpeg12.h     return diff;
diff              477 libavcodec/mpeg12dec.c     int level, dc, diff, i, j, run;
diff              493 libavcodec/mpeg12dec.c     diff = decode_dc(&s->gb, component);
diff              494 libavcodec/mpeg12dec.c     if (diff >= 0xffff)
diff              497 libavcodec/mpeg12dec.c     dc += diff;
diff              566 libavcodec/mpeg12dec.c     int level, dc, diff, i, j, run;
diff              581 libavcodec/mpeg12dec.c     diff = decode_dc(&s->gb, component);
diff              582 libavcodec/mpeg12dec.c     if (diff >= 0xffff)
diff              585 libavcodec/mpeg12dec.c     dc += diff;
diff              637 libavcodec/mpeg12enc.c static inline void encode_dc(MpegEncContext *s, int diff, int component)
diff              639 libavcodec/mpeg12enc.c     unsigned int diff_u = diff + 255;
diff              643 libavcodec/mpeg12enc.c         if (diff < 0) {
diff              644 libavcodec/mpeg12enc.c             index = av_log2_16bit(-2 * diff);
diff              645 libavcodec/mpeg12enc.c             diff--;
diff              647 libavcodec/mpeg12enc.c             index = av_log2_16bit(2 * diff);
diff              653 libavcodec/mpeg12enc.c                      av_mod_uintp2(diff, index));
diff              658 libavcodec/mpeg12enc.c                      av_mod_uintp2(diff, index));
diff              662 libavcodec/mpeg12enc.c                      mpeg1_lum_dc_uni[diff + 255] & 0xFF,
diff              663 libavcodec/mpeg12enc.c                      mpeg1_lum_dc_uni[diff + 255] >> 8);
diff              666 libavcodec/mpeg12enc.c                      mpeg1_chr_dc_uni[diff + 255] & 0xFF,
diff              667 libavcodec/mpeg12enc.c                      mpeg1_chr_dc_uni[diff + 255] >> 8);
diff              673 libavcodec/mpeg12enc.c     int alevel, level, last_non_zero, dc, diff, i, j, run, last_index, sign;
diff              683 libavcodec/mpeg12enc.c         diff      = dc - s->last_dc[component];
diff              684 libavcodec/mpeg12enc.c         encode_dc(s, diff, component);
diff             1065 libavcodec/mpeg12enc.c             int diff = i;
diff             1067 libavcodec/mpeg12enc.c             adiff = FFABS(diff);
diff             1068 libavcodec/mpeg12enc.c             if (diff < 0)
diff             1069 libavcodec/mpeg12enc.c                 diff--;
diff             1074 libavcodec/mpeg12enc.c                     av_mod_uintp2(diff, index);
diff             1079 libavcodec/mpeg12enc.c                     av_mod_uintp2(diff, index);
diff              652 libavcodec/mpeg4videoenc.c                         int diff;
diff              666 libavcodec/mpeg4videoenc.c                             diff = 0;
diff              669 libavcodec/mpeg4videoenc.c                                     diff += FFABS(p_pic[x1 + y1 * s->linesize] - b_pic[x1 + y1 * s->linesize]);
diff              672 libavcodec/mpeg4videoenc.c                             diff = diff * 256 / (xe * ye);
diff              674 libavcodec/mpeg4videoenc.c                             diff = s->mecc.sad[0](NULL, p_pic, b_pic, s->linesize, 16);
diff              676 libavcodec/mpeg4videoenc.c                         if (diff > s->qscale * 70) {  // FIXME check that 70 is optimal
diff              182 libavcodec/mpegvideo_enc.c             int diff = FFABS((ff_mpeg2_non_linear_qscale[i]<<(FF_LAMBDA_SHIFT + 6)) - (int)s->lambda * 139);
diff              186 libavcodec/mpegvideo_enc.c             if (diff < bestdiff) {
diff              187 libavcodec/mpegvideo_enc.c                 bestdiff = diff;
diff              138 libavcodec/mss2.c     int diff = (c->high >> 16) - (c->low >> 16);
diff              142 libavcodec/mss2.c     while (!(diff & 0x80)) {
diff              144 libavcodec/mss2.c         diff <<= 1;
diff              121 libavcodec/opus_celt.c     int i, diff = 0, tf_select = 0, tf_changed = 0, tf_select_bit;
diff              129 libavcodec/opus_celt.c             diff ^= ff_opus_rc_dec_log(rc, bits);
diff              131 libavcodec/opus_celt.c             tf_changed |= diff;
diff              133 libavcodec/opus_celt.c         f->tf_change[i] = diff;
diff               73 libavcodec/opus_silk.c             int diff = (high - low) - (min_delta[i]);
diff               75 libavcodec/opus_silk.c             if (diff < min_diff) {
diff               76 libavcodec/opus_silk.c                 min_diff = diff;
diff              257 libavcodec/opusenc.c     int tf_select = 0, diff = 0, tf_changed = 0, tf_select_needed;
diff              264 libavcodec/opusenc.c             const int tbit = (diff ^ 1) == f->tf_change[i];
diff              266 libavcodec/opusenc.c             diff ^= tbit;
diff              267 libavcodec/opusenc.c             tf_changed |= diff;
diff              344 libavcodec/opusenc.c             float diff = block->energy[i] - prev[ch] - last*alpha;
diff              345 libavcodec/opusenc.c             int q_en = lrintf(diff);
diff              356 libavcodec/opusenc.c             block->error_energy[i] = q_en - diff;
diff              390 libavcodec/opusenc.c             float offset, diff = 0.5f - block->error_energy[i];
diff              391 libavcodec/opusenc.c             quant = av_clip(floor(diff*lim), 0, lim - 1);
diff              497 libavcodec/ppc/h264dsp.c     register vec_u8 diff = vec_subs(x, y);
diff              499 libavcodec/ppc/h264dsp.c     register vec_u8 o = vec_or(diff, diffneg); /* |x-y| */
diff              403 libavcodec/proresenc_anatoliy.c     int diff = cur - prev;
diff              405 libavcodec/proresenc_anatoliy.c     diff = av_mod_uintp2(diff, abits);
diff              406 libavcodec/proresenc_anatoliy.c     if (diff >= (1 << abits) - dsize)
diff              407 libavcodec/proresenc_anatoliy.c         diff -= 1 << abits;
diff              408 libavcodec/proresenc_anatoliy.c     if (diff < -dsize || diff > dsize || !diff) {
diff              410 libavcodec/proresenc_anatoliy.c         put_bits(pb, abits, diff);
diff              413 libavcodec/proresenc_anatoliy.c         put_bits(pb, dbits - 1, FFABS(diff) - 1);
diff              414 libavcodec/proresenc_anatoliy.c         put_bits(pb, 1, diff < 0);
diff              489 libavcodec/proresenc_kostya.c     int diff = cur - prev;
diff              491 libavcodec/proresenc_kostya.c     diff = av_mod_uintp2(diff, abits);
diff              492 libavcodec/proresenc_kostya.c     if (diff >= (1 << abits) - dsize)
diff              493 libavcodec/proresenc_kostya.c         diff -= 1 << abits;
diff              494 libavcodec/proresenc_kostya.c     if (diff < -dsize || diff > dsize || !diff) {
diff              496 libavcodec/proresenc_kostya.c         put_bits(pb, abits, diff);
diff              499 libavcodec/proresenc_kostya.c         put_bits(pb, dbits - 1, FFABS(diff) - 1);
diff              500 libavcodec/proresenc_kostya.c         put_bits(pb, 1, diff < 0);
diff              751 libavcodec/proresenc_kostya.c     int diff = cur - prev;
diff              753 libavcodec/proresenc_kostya.c     diff = av_mod_uintp2(diff, abits);
diff              754 libavcodec/proresenc_kostya.c     if (diff >= (1 << abits) - dsize)
diff              755 libavcodec/proresenc_kostya.c         diff -= 1 << abits;
diff              756 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              876 libavcodec/qdm2.c     int i, k, run, level, diff;
diff              894 libavcodec/qdm2.c         diff = qdm2_get_se_vlc(&vlc_tab_diff, gb, 2);
diff              897 libavcodec/qdm2.c             quantized_coeffs[i + k] = (level + ((k * diff) / run));
diff              899 libavcodec/qdm2.c         level += diff;
diff              980 libavcodec/qdm2.c     int i, j, k, n, ch, run, level, diff;
diff              993 libavcodec/qdm2.c                 diff = qdm2_get_se_vlc(&vlc_tab_diff, &gb, 2);
diff              999 libavcodec/qdm2.c                     q->quantized_coeffs[ch][i][j + k] = (level + ((k * diff) / run));
diff             1001 libavcodec/qdm2.c                 level += diff;
diff              232 libavcodec/qdmc.c     int i, j, n0, n1, n2, diff;
diff              244 libavcodec/qdmc.c         diff = n2 - n1;
diff              247 libavcodec/qdmc.c         for (i = n1; i < n2; i++, nptr++, diff--)
diff              248 libavcodec/qdmc.c             nptr[0] = diff / (float)(n2 - n1);
diff              873 libavcodec/ratecontrol.c     double diff;
diff              929 libavcodec/ratecontrol.c     diff = s->total_bits - wanted_bits;
diff              930 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              140 libavcodec/rv30.c     int i, diff;
diff              143 libavcodec/rv30.c         diff = ((src[-2*step] - src[1*step]) - (src[-1*step] - src[0*step])*4) >> 3;
diff              144 libavcodec/rv30.c         diff = av_clip(diff, -lim, lim);
diff              145 libavcodec/rv30.c         src[-1*step] = cm[src[-1*step] + diff];
diff              146 libavcodec/rv30.c         src[ 0*step] = cm[src[ 0*step] - diff];
diff              442 libavcodec/rv40dsp.c     int i, t, u, diff;
diff              462 libavcodec/rv40dsp.c         diff = CLIP_SYMM((t + 4) >> 3, lim_p0q0);
diff              463 libavcodec/rv40dsp.c         src[-1*step] = cm[src[-1*step] + diff];
diff              464 libavcodec/rv40dsp.c         src[ 0*step] = cm[src[ 0*step] - diff];
diff              467 libavcodec/rv40dsp.c             t = (diff_p1p0 + diff_p1p2 - diff) >> 1;
diff              472 libavcodec/rv40dsp.c             t = (diff_q1q0 + diff_q1q2 + diff) >> 1;
diff              164 libavcodec/speedhq.c     int code, diff;
diff              176 libavcodec/speedhq.c         diff = 0;
diff              178 libavcodec/speedhq.c         diff = get_xbits_le(gb, code);
diff              180 libavcodec/speedhq.c     return diff;
diff              288 libavcodec/svq1dec.c     int diff;
diff              293 libavcodec/svq1dec.c         diff = get_vlc2(bitbuf, svq1_motion_component.table, 7, 2);
diff              294 libavcodec/svq1dec.c         if (diff < 0)
diff              296 libavcodec/svq1dec.c         else if (diff) {
diff              298 libavcodec/svq1dec.c                 diff = -diff;
diff              303 libavcodec/svq1dec.c             mv->y = sign_extend(diff + mid_pred(pmv[0]->y, pmv[1]->y, pmv[2]->y), 6);
diff              305 libavcodec/svq1dec.c             mv->x = sign_extend(diff + mid_pred(pmv[0]->x, pmv[1]->x, pmv[2]->x), 6);
diff              151 libavcodec/svq1enc.c                 int sqr, diff, score;
diff              155 libavcodec/svq1enc.c                 diff   = block_sum[stage] - sum;
diff              156 libavcodec/svq1enc.c                 score  = sqr - (diff * (int64_t)diff >> (level + 3)); // FIXME: 64 bits slooow
diff              158 libavcodec/svq1enc.c                     int mean = diff + (size >> 1) >> (level + 3);
diff               24 libavcodec/tests/celp_math.c     float diff = fabsf(A - B);
diff               28 libavcodec/tests/celp_math.c     av_assert0(diff <= largest * epsilon);
diff              604 libavcodec/truemotion2.c     int diff;
diff              627 libavcodec/truemotion2.c     diff    = right - left;
diff              628 libavcodec/truemotion2.c     last[0] = left + (diff >> 2);
diff              629 libavcodec/truemotion2.c     last[1] = left + (diff >> 1);
diff              630 libavcodec/truemotion2.c     last[2] = right - (diff >> 2);
diff              134 libavcodec/truemotion2rt.c         int diff = 0;
diff              136 libavcodec/truemotion2rt.c             diff  += delta_tabs[delta_mode][get_bits(gb, s->delta_size)];
diff              137 libavcodec/truemotion2rt.c             dst[x] = av_clip_uint8((y ? dst[x - p->linesize[0]] : 0) + diff);
diff              160 libavcodec/truemotion2rt.c         int diff = 0;
diff              162 libavcodec/truemotion2rt.c             diff  += delta_tabs[delta_mode][get_bits(gb, s->delta_size)];
diff              163 libavcodec/truemotion2rt.c             dst[x] = av_clip_uint8((y ? dst[x - p->linesize[1]] : 128) + diff);
diff              186 libavcodec/truemotion2rt.c         int diff = 0;
diff              188 libavcodec/truemotion2rt.c             diff  += delta_tabs[delta_mode][get_bits(gb, s->delta_size)];
diff              189 libavcodec/truemotion2rt.c             dst[x] = av_clip_uint8((y ? dst[x - p->linesize[2]] : 128) + diff);
diff              689 libavcodec/vc2enc.c             int bits, bytes, diff, prev_bytes, new_idx;
diff              699 libavcodec/vc2enc.c             diff  = bytes - prev_bytes;
diff              700 libavcodec/vc2enc.c             if ((bytes_left - diff) > 0) {
diff              703 libavcodec/vc2enc.c                 bytes_left -= diff;
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             2480 libavcodec/wavpackenc.c         int32_t lor = 0, diff = 0;
diff             2484 libavcodec/wavpackenc.c             diff |= samples_l[i] - samples_r[i];
diff             2486 libavcodec/wavpackenc.c             if (lor && diff)
diff             2490 libavcodec/wavpackenc.c         if (i == nb_samples && lor && !diff) {
diff              887 libavcodec/webp.c     int diff = (FFABS(p_l[0] - p_tl[0]) - FFABS(p_t[0] - p_tl[0])) +
diff              891 libavcodec/webp.c     if (diff <= 0)
diff              302 libavcodec/wmv2dec.c     int xy, wrap, diff, type;
diff              315 libavcodec/wmv2dec.c         diff = FFMAX(FFABS(A[0] - B[0]), FFABS(A[1] - B[1]));
diff              317 libavcodec/wmv2dec.c         diff = 0;
diff              319 libavcodec/wmv2dec.c     if (diff >= 8)
diff               37 libavcodec/x86/huffyuvdsp_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               31 libavcodec/x86/lossless_videodsp_init.c                                const uint8_t *diff, ptrdiff_t w,
diff               34 libavcodec/x86/lossless_videodsp_init.c                              const uint8_t *diff, ptrdiff_t w,
diff               52 libavcodec/x86/lossless_videodsp_init.c                                  const uint8_t *diff, ptrdiff_t w,
diff               81 libavcodec/x86/lossless_videodsp_init.c         : "r"(dst + w), "r"(diff + w), "rm"(top + w)
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              545 libavfilter/af_dynaudnorm.c     const double diff = 1.0 / frame->nb_samples;
diff              555 libavfilter/af_dynaudnorm.c             current_average_value += dst_ptr[i] * diff;
diff              261 libavfilter/avf_showspatial.c         float diff = (sum < 0.000001f ? 0.f : (r - l) / sum) * 0.5f + 0.5f;
diff              268 libavfilter/avf_showspatial.c         x = av_clip(w * diff,  0, w - 2) + 1;
diff              884 libavfilter/avfiltergraph.c             int diff = abs(sample_rate - outlink->in_samplerates->formats[j]);
diff              886 libavfilter/avfiltergraph.c             av_assert0(diff < INT_MAX); // This would lead to the use of uninitialized best_diff but is only possible with invalid sample rates
diff              888 libavfilter/avfiltergraph.c             if (diff < best_diff) {
diff              889 libavfilter/avfiltergraph.c                 best_diff = diff;
diff              258 libavfilter/colorspacedsp_template.c             int u, v, diff;
diff              261 libavfilter/colorspacedsp_template.c             diff = (y00 & mask) - rnd;
diff              263 libavfilter/colorspacedsp_template.c             rnd_scratch[0][ (y & !SS_H)][(x << SS_W) + 1] += (diff * 7 + 8) >> 4;
diff              264 libavfilter/colorspacedsp_template.c             rnd_scratch[0][!(y & !SS_H)][(x << SS_W) - 1] += (diff * 3 + 8) >> 4;
diff              265 libavfilter/colorspacedsp_template.c             rnd_scratch[0][!(y & !SS_H)][(x << SS_W) + 0] += (diff * 5 + 8) >> 4;
diff              266 libavfilter/colorspacedsp_template.c             rnd_scratch[0][!(y & !SS_H)][(x << SS_W) + 1] += (diff * 1 + 8) >> 4;
diff              270 libavfilter/colorspacedsp_template.c             diff = (y01 & mask) - rnd;
diff              272 libavfilter/colorspacedsp_template.c             rnd_scratch[0][ (y & !SS_H)][x * 2 + 2] += (diff * 7 + 8) >> 4;
diff              273 libavfilter/colorspacedsp_template.c             rnd_scratch[0][!(y & !SS_H)][x * 2 + 0] += (diff * 3 + 8) >> 4;
diff              274 libavfilter/colorspacedsp_template.c             rnd_scratch[0][!(y & !SS_H)][x * 2 + 1] += (diff * 5 + 8) >> 4;
diff              275 libavfilter/colorspacedsp_template.c             rnd_scratch[0][!(y & !SS_H)][x * 2 + 2] += (diff * 1 + 8) >> 4;
diff              279 libavfilter/colorspacedsp_template.c             diff = (y10 & mask) - rnd;
diff              281 libavfilter/colorspacedsp_template.c             rnd_scratch[0][1][x * 2 + 1] += (diff * 7 + 8) >> 4;
diff              282 libavfilter/colorspacedsp_template.c             rnd_scratch[0][0][x * 2 - 1] += (diff * 3 + 8) >> 4;
diff              283 libavfilter/colorspacedsp_template.c             rnd_scratch[0][0][x * 2 + 0] += (diff * 5 + 8) >> 4;
diff              284 libavfilter/colorspacedsp_template.c             rnd_scratch[0][0][x * 2 + 1] += (diff * 1 + 8) >> 4;
diff              288 libavfilter/colorspacedsp_template.c             diff = (y11 & mask) - rnd;
diff              290 libavfilter/colorspacedsp_template.c             rnd_scratch[0][1][x * 2 + 2] += (diff * 7 + 8) >> 4;
diff              291 libavfilter/colorspacedsp_template.c             rnd_scratch[0][0][x * 2 + 0] += (diff * 3 + 8) >> 4;
diff              292 libavfilter/colorspacedsp_template.c             rnd_scratch[0][0][x * 2 + 1] += (diff * 5 + 8) >> 4;
diff              293 libavfilter/colorspacedsp_template.c             rnd_scratch[0][0][x * 2 + 2] += (diff * 1 + 8) >> 4;
diff              301 libavfilter/colorspacedsp_template.c             diff = (u & mask) - rnd;
diff              303 libavfilter/colorspacedsp_template.c             rnd_scratch[1][ (y & 1)][x + 1] += (diff * 7 + 8) >> 4;
diff              304 libavfilter/colorspacedsp_template.c             rnd_scratch[1][!(y & 1)][x - 1] += (diff * 3 + 8) >> 4;
diff              305 libavfilter/colorspacedsp_template.c             rnd_scratch[1][!(y & 1)][x + 0] += (diff * 5 + 8) >> 4;
diff              306 libavfilter/colorspacedsp_template.c             rnd_scratch[1][!(y & 1)][x + 1] += (diff * 1 + 8) >> 4;
diff              312 libavfilter/colorspacedsp_template.c             diff = (v & mask) - rnd;
diff              314 libavfilter/colorspacedsp_template.c             rnd_scratch[2][ (y & 1)][x + 1] += (diff * 7 + 8) >> 4;
diff              315 libavfilter/colorspacedsp_template.c             rnd_scratch[2][!(y & 1)][x - 1] += (diff * 3 + 8) >> 4;
diff              316 libavfilter/colorspacedsp_template.c             rnd_scratch[2][!(y & 1)][x + 0] += (diff * 5 + 8) >> 4;
diff              317 libavfilter/colorspacedsp_template.c             rnd_scratch[2][!(y & 1)][x + 1] += (diff * 1 + 8) >> 4;
diff               75 libavfilter/f_bench.c             const int64_t diff = t - start;
diff               76 libavfilter/f_bench.c             s->sum += diff;
diff               78 libavfilter/f_bench.c             s->min = FFMIN(s->min, diff);
diff               79 libavfilter/f_bench.c             s->max = FFMAX(s->max, diff);
diff               81 libavfilter/f_bench.c                    T2F(diff), T2F(s->sum / s->n), T2F(s->max), T2F(s->min));
diff               69 libavfilter/f_cue.c             int64_t diff;
diff               70 libavfilter/f_cue.c             while ((diff = (av_gettime() - s->cue)) < 0)
diff               71 libavfilter/f_cue.c                 av_usleep(av_clip(-diff / 2, 100, 1000000));
diff              283 libavfilter/f_select.c         double mafd, diff;
diff              297 libavfilter/f_select.c         diff = fabs(mafd - select->prev_mafd);
diff              298 libavfilter/f_select.c         ret  = av_clipf(FFMIN(mafd, diff) / 100., 0, 1);
diff               31 libavfilter/opencl/colorkey.cl     float diff = distance(pixel.xyz, colorkey_rgba.xyz);
diff               33 libavfilter/opencl/colorkey.cl     pixel.s3 = clamp((diff - similarity) / blend, 0.0f, 1.0f);
diff               45 libavfilter/opencl/colorkey.cl     float diff = distance(pixel.xyz, colorkey_rgba.xyz);
diff               47 libavfilter/opencl/colorkey.cl     pixel.s3 = (diff > similarity) ? 1.0f : 0.0f;
diff              142 libavfilter/opencl/tonemap.cl             int diff = (int)(scene_frame_num * cur_avg) - (int)*avg_total_p;
diff              144 libavfilter/opencl/tonemap.cl             if (abs(diff) > scene_frame_num * scene_threshold * REFERENCE_WHITE) {
diff              570 libavfilter/src_movie.c                 int64_t diff = frame->pts - st->last_pts;
diff              571 libavfilter/src_movie.c                 if (diff < 0 || diff > st->discontinuity_threshold) {
diff              572 libavfilter/src_movie.c                     av_log(ctx, AV_LOG_VERBOSE, "Discontinuity in stream:%d diff:%"PRId64"\n", pkt_out_id, diff);
diff              573 libavfilter/src_movie.c                     movie->ts_offset += av_rescale_q_rnd(-diff, outlink->time_base, AV_TIME_BASE_Q, AV_ROUND_UP);
diff              574 libavfilter/src_movie.c                     frame->pts -= diff;
diff              137 libavfilter/vf_amplify.c                     float diff, avg;
diff              145 libavfilter/vf_amplify.c                     diff = src - avg;
diff              146 libavfilter/vf_amplify.c                     if (fabsf(diff) < threshold && fabsf(diff) > tolerance) {
diff              148 libavfilter/vf_amplify.c                         if (diff < 0) {
diff              149 libavfilter/vf_amplify.c                             amp = -FFMIN(FFABS(diff * factor), llimit);
diff              151 libavfilter/vf_amplify.c                             amp = FFMIN(FFABS(diff * factor), hlimit);
diff              179 libavfilter/vf_amplify.c                     float diff, avg;
diff              187 libavfilter/vf_amplify.c                     diff = src - avg;
diff              189 libavfilter/vf_amplify.c                     if (fabsf(diff) < threshold && fabsf(diff) > tolerance) {
diff              191 libavfilter/vf_amplify.c                         if (diff < 0) {
diff              192 libavfilter/vf_amplify.c                             amp = -FFMIN(FFABS(diff * factor), llimit);
diff              194 libavfilter/vf_amplify.c                             amp = FFMIN(FFABS(diff * factor), hlimit);
diff               77 libavfilter/vf_bwdif.c         int diff = FFMAX3(temporal_diff0 >> 1, temporal_diff1, temporal_diff2); \
diff               79 libavfilter/vf_bwdif.c         if (!diff) { \
diff               90 libavfilter/vf_bwdif.c             diff = FFMAX3(diff, min, -max);
diff              110 libavfilter/vf_bwdif.c             if (interpol > d + diff) \
diff              111 libavfilter/vf_bwdif.c                 interpol = d + diff; \
diff              112 libavfilter/vf_bwdif.c             else if (interpol < d - diff) \
diff              113 libavfilter/vf_bwdif.c                 interpol = d - diff; \
diff               52 libavfilter/vf_chromakey.c     double diff = 0.0;
diff               59 libavfilter/vf_chromakey.c         diff += sqrt((du * du + dv * dv) / (255.0 * 255.0 * 2));
diff               62 libavfilter/vf_chromakey.c     diff /= 9.0;
diff               65 libavfilter/vf_chromakey.c         return av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0) * 255.0;
diff               67 libavfilter/vf_chromakey.c         return (diff > ctx->similarity) ? 255 : 0;
diff               74 libavfilter/vf_chromakey.c     double diff = 0.0;
diff               81 libavfilter/vf_chromakey.c         diff += sqrt((du * du + dv * dv) / (max * max * 2));
diff               84 libavfilter/vf_chromakey.c     diff /= 9.0;
diff               87 libavfilter/vf_chromakey.c         return av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0) * max;
diff               89 libavfilter/vf_chromakey.c         return (diff > ctx->similarity) ? max : 0;
diff              194 libavfilter/vf_chromakey.c             double diff;
diff              200 libavfilter/vf_chromakey.c             diff = sqrt((du * du + dv * dv) / (255.0 * 255.0));
diff              202 libavfilter/vf_chromakey.c             alpha = diff > ctx->similarity;
diff              204 libavfilter/vf_chromakey.c                 double f = 1. - av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0);
diff              233 libavfilter/vf_chromakey.c             double diff;
diff              239 libavfilter/vf_chromakey.c             diff = sqrt((du * du + dv * dv) / (max * max));
diff              241 libavfilter/vf_chromakey.c             alpha = diff > ctx->similarity;
diff              243 libavfilter/vf_chromakey.c                 double f = 1. - av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0);
diff               48 libavfilter/vf_colorkey.c     double diff = sqrt((dr * dr + dg * dg + db * db) / (255.0 * 255.0 * 3.0));
diff               51 libavfilter/vf_colorkey.c         return av_clipd((diff - ctx->similarity) / ctx->blend, 0.0, 1.0) * 255.0;
diff               53 libavfilter/vf_colorkey.c         return (diff > ctx->similarity) ? 255 : 0;
diff              167 libavfilter/vf_deband.c                     const int diff = FFABS(src0 - avg);
diff              169 libavfilter/vf_deband.c                     dst_ptr[y * dst_linesize + x] = diff < thr ? avg : src0;
diff              348 libavfilter/vf_deband.c                     const int diff = FFABS(src0 - avg);
diff              350 libavfilter/vf_deband.c                     dst_ptr[y * dst_linesize + x] = diff < thr ? avg : src0;
diff              125 libavfilter/vf_deshake.c     int diff;
diff              136 libavfilter/vf_deshake.c                 diff = CMP(cx - x, cy - y);
diff              137 libavfilter/vf_deshake.c                 if (diff < smallest) {
diff              138 libavfilter/vf_deshake.c                     smallest = diff;
diff              148 libavfilter/vf_deshake.c                 diff = CMP(cx - x, cy - y);
diff              149 libavfilter/vf_deshake.c                 if (diff < smallest) {
diff              150 libavfilter/vf_deshake.c                     smallest = diff;
diff              166 libavfilter/vf_deshake.c                 diff = CMP(cx - x, cy - y);
diff              167 libavfilter/vf_deshake.c                 if (diff < smallest) {
diff              168 libavfilter/vf_deshake.c                     smallest = diff;
diff              216 libavfilter/vf_deshake.c     double a1, a2, diff;
diff              221 libavfilter/vf_deshake.c     diff = a2 - a1;
diff              223 libavfilter/vf_deshake.c     return (diff > M_PI)  ? diff - 2 * M_PI :
diff              224 libavfilter/vf_deshake.c            (diff < -M_PI) ? diff + 2 * M_PI :
diff              225 libavfilter/vf_deshake.c            diff;
diff              305 libavfilter/vf_drawtext.c     int64_t diff = (int64_t)a->code - (int64_t)bb->code;
diff              307 libavfilter/vf_drawtext.c     if (diff != 0)
diff              308 libavfilter/vf_drawtext.c          return diff > 0 ? 1 : -1;
diff              421 libavfilter/vf_fieldmatch.c     int x, y, u, diff, count;
diff              430 libavfilter/vf_fieldmatch.c             diff = dp[x];
diff              431 libavfilter/vf_fieldmatch.c             if (diff > 3) {
diff              439 libavfilter/vf_fieldmatch.c                     if (diff > 19) {
diff               75 libavfilter/vf_framerate.c         double mafd, diff;
diff               81 libavfilter/vf_framerate.c         diff = fabs(mafd - s->prev_mafd);
diff               82 libavfilter/vf_framerate.c         ret  = av_clipf(FFMIN(mafd, diff), 0, 100.0);
diff              837 libavfilter/vf_minterpolate.c         double ret = 0, mafd, diff;
diff              842 libavfilter/vf_minterpolate.c         diff = fabs(mafd - mi_ctx->prev_mafd);
diff              843 libavfilter/vf_minterpolate.c         ret  = av_clipf(FFMIN(mafd, diff), 0, 100.0);
diff              167 libavfilter/vf_palettegen.c                     variance += diff(ref->color, box->color) * ref->count;
diff              199 libavfilter/vf_paletteuse.c             const int d = diff(palargb, argb, trans_thresh);
diff              225 libavfilter/vf_paletteuse.c     const int current_to_target = diff(target, current, trans_thresh);
diff              268 libavfilter/vf_paletteuse.c         const int current_to_target = diff(target, current, trans_thresh);
diff              573 libavfilter/vf_paletteuse.c                     const int d1 = diff(palargb1, argb, trans_thresh);
diff              574 libavfilter/vf_paletteuse.c                     const int d2 = diff(palargb2, argb, trans_thresh);
diff              796 libavfilter/vf_paletteuse.c             mean_err += diff(argb1, argb2, s->trans_thresh);
diff               77 libavfilter/vf_pullup.c     int i, j, diff = 0;
diff               81 libavfilter/vf_pullup.c             diff += ABS(a[j] - b[j]);
diff               86 libavfilter/vf_pullup.c     return diff;
diff              214 libavfilter/vf_pullup.c     s->diff = diff_c;
diff              603 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              125 libavfilter/vf_scdet.c         double mafd, diff;
diff              139 libavfilter/vf_scdet.c         diff = fabs(mafd - s->prev_mafd);
diff              140 libavfilter/vf_scdet.c         ret  = av_clipf(FFMIN(mafd, diff), 0, 100.);
diff              184 libavfilter/vf_smartblur.c     int diff;
diff              199 libavfilter/vf_smartblur.c                 diff     = orig - filtered;
diff              201 libavfilter/vf_smartblur.c                 if (diff > 0) {
diff              202 libavfilter/vf_smartblur.c                     if (diff > 2 * threshold)
diff              204 libavfilter/vf_smartblur.c                     else if (diff > threshold)
diff              208 libavfilter/vf_smartblur.c                     if (-diff > 2 * threshold)
diff              210 libavfilter/vf_smartblur.c                     else if (-diff > threshold)
diff              221 libavfilter/vf_smartblur.c                 diff     = orig - filtered;
diff              223 libavfilter/vf_smartblur.c                 if (diff > 0) {
diff              224 libavfilter/vf_smartblur.c                     if (diff <= -threshold)
diff              226 libavfilter/vf_smartblur.c                     else if (diff <= -2 * threshold)
diff              230 libavfilter/vf_smartblur.c                     if (diff >= threshold)
diff              232 libavfilter/vf_smartblur.c                     else if (diff >= 2 * threshold)
diff               60 libavfilter/vf_yadif.c         int diff = FFMAX3(temporal_diff0 >> 1, temporal_diff1, temporal_diff2); \
diff               76 libavfilter/vf_yadif.c             diff = FFMAX3(diff, min, -max); \
diff               79 libavfilter/vf_yadif.c         if (spatial_pred > d + diff) \
diff               80 libavfilter/vf_yadif.c            spatial_pred = d + diff; \
diff               81 libavfilter/vf_yadif.c         else if (spatial_pred < d - diff) \
diff               82 libavfilter/vf_yadif.c            spatial_pred = d - diff; \
diff               36 libavfilter/x86/vf_pullup_init.c         s->diff = ff_pullup_filter_diff_mmx;
diff             1193 libavformat/asfdec_f.c                 int diff = asf->packet_frag_size - (asf->packet_size_left - rsize);
diff             1194 libavformat/asfdec_f.c                 asf->packet_size_left += diff;
diff             1195 libavformat/asfdec_f.c                 asf->packet_padsize   -= diff;
diff              320 libavformat/dhav.c         int64_t diff = dhav->timestamp - dst->last_timestamp;
diff              322 libavformat/dhav.c         if (diff < 0)
diff              323 libavformat/dhav.c             diff += 65535;
diff              324 libavformat/dhav.c         dst->pts += diff;
diff               39 libavformat/dtsdec.c     int64_t diff = 0;
diff               53 libavformat/dtsdec.c                 diff += FFABS(((int16_t)AV_RL16(buf)) - (int16_t)AV_RL16(buf-4));
diff              129 libavformat/dtsdec.c         diff / diffcount > 600)
diff              965 libavformat/hls.c             int i, diff = pls->start_seq_no - prev_start_seq_no;
diff              966 libavformat/hls.c             for (i = 0; i < prev_n_segments && i < diff; i++) {
diff             1648 libavformat/hls.c         int64_t diff = pos + pls->segments[i]->duration - timestamp;
diff             1649 libavformat/hls.c         if (diff > 0) {
diff              452 libavformat/rtpdec.c             int16_t diff = pkt->seq - missing_seq;
diff              453 libavformat/rtpdec.c             if (diff >= 0)
diff              728 libavformat/rtpdec.c         int16_t diff = seq - (*cur)->seq;
diff              729 libavformat/rtpdec.c         if (diff < 0)
diff              831 libavformat/rtpdec.c         int16_t diff = seq - s->seq;
diff              832 libavformat/rtpdec.c         if (diff < 0) {
diff              837 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             1074 libavformat/utils.c                     int64_t diff =  FFABS(pts_buffer[i] - dts)
diff             1076 libavformat/utils.c                     diff = FFMAX(diff, st->pts_reorder_error[i]);
diff             1077 libavformat/utils.c                     st->pts_reorder_error[i] = 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             2228 libswscale/utils.c     SwsVector *diff = sws_diffVec(a, b);
diff             2229 libswscale/utils.c     if (!diff) {
diff             2234 libswscale/utils.c     a->coeff  = diff->coeff;
diff             2235 libswscale/utils.c     a->length = diff->length;
diff             2236 libswscale/utils.c     av_free(diff);
diff               82 tests/checkasm/llviddsp.c                       const uint8_t *diff, ptrdiff_t w,