FFABS 1531 ffmpeg.c secs = FFABS(pts) / AV_TIME_BASE; FFABS 1532 ffmpeg.c us = FFABS(pts) % AV_TIME_BASE; FFABS 461 ffserver_config.c if (FFABS(tmp) > INT_MAX / FFABS(factor)) FFABS 988 libavcodec/aaccoder.c if (FFABS(step) <= 1 || (step > 0 && scf >= max_scf) || (step < 0 && scf <= min_scf)) { FFABS 117 libavcodec/aacps.c READ_PAR_DATA(iid, huff_offset[table_idx], 0, FFABS(ps->iid_par[e][b]) > 7 + 8 * ps->iid_quant) FFABS 254 libavcodec/aacps.c if (FFABS(ps->iid_par[ps->num_env][b]) > 7 + 8 * ps->iid_quant) { FFABS 234 libavcodec/ac3enc_template.c coord_diff += FFABS(cpl_coords[blk-1][ch][bnd] - FFABS 191 libavcodec/alacenc.c sum[2] += FFABS((lt + rt) >> 1); FFABS 192 libavcodec/alacenc.c sum[3] += FFABS(lt - rt); FFABS 193 libavcodec/alacenc.c sum[0] += FFABS(lt); FFABS 194 libavcodec/alacenc.c sum[1] += FFABS(rt); FFABS 552 libavcodec/amrwbdec.c int pos = (FFABS(sig_pos[i][j]) - 1) * spacing + i; FFABS 1282 libavcodec/apedec.c absres = FFABS(res); FFABS 1590 libavcodec/atrac3plus.c diff = FFABS(wsrc[j].freq_index - wref[i].freq_index); FFABS 143 libavcodec/bmvvideo.c if (len <= 0 || FFABS(dst_end - dst) < len) FFABS 184 libavcodec/c93.c (FFABS(from_x - x-i) < 4 || FFABS(from_x - x-i) > WIDTH-4)) { FFABS 1009 libavcodec/cavsdec.c int alloc_size = FFALIGN(FFABS(h->cur.f->linesize[0]) + 32, 32); FFABS 229 libavcodec/dct-test.c sysErrMax = FFMAX(sysErrMax, FFABS(sysErr[i])); FFABS 1729 libavcodec/diracdec.c && FFABS(s->ref_frames[j]->avframe->display_picture_number - refnum) < refdist) { FFABS 1731 libavcodec/diracdec.c refdist = FFABS(s->ref_frames[j]->avframe->display_picture_number - refnum); FFABS 1889 libavcodec/diracdec.c if (alloc_buffers(s, FFMAX3(FFABS(s->plane[0].stride), FFABS(s->plane[1].stride), FFABS(s->plane[2].stride))) < 0) FFABS 581 libavcodec/dss_sp.c val |= FFABS(vector_buf[i]); FFABS 592 libavcodec/dss_sp.c sum += FFABS(p->vector_buf[i]); FFABS 307 libavcodec/dvenc.c level = (FFABS(level) * weight[i] + (1 << (dv_weight_bits + 3))) >> FFABS 263 libavcodec/error_resilience.c FFABS(left_mv[0] - right_mv[0]) + FFABS 264 libavcodec/error_resilience.c FFABS(left_mv[1] + right_mv[1]) < 2) FFABS 274 libavcodec/error_resilience.c d = FFABS(b) - ((FFABS(a) + FFABS(c) + 1) >> 1); FFABS 334 libavcodec/error_resilience.c FFABS(top_mv[0] - bottom_mv[0]) + FFABS 335 libavcodec/error_resilience.c FFABS(top_mv[1] + bottom_mv[1]) < 2) FFABS 345 libavcodec/error_resilience.c d = FFABS(b) - ((FFABS(a) + FFABS(c) + 1) >> 1); FFABS 623 libavcodec/error_resilience.c score += FFABS(src[k * linesize[0] - 1] - FFABS 629 libavcodec/error_resilience.c score += FFABS(src[k * linesize[0] + 15] - FFABS 635 libavcodec/error_resilience.c score += FFABS(src[k - linesize[0]] - src[k]); FFABS 640 libavcodec/error_resilience.c score += FFABS(src[k + linesize[0] * 15] - FFABS 188 libavcodec/ffv1.h state->error_sum += FFABS(v); FFABS 198 libavcodec/ffv1enc.c const int a = FFABS(v); FFABS 1078 libavcodec/ffv1enc.c stat[i] += FFABS(bg + ((br*rct_y_coeff[i][0] + bb*rct_y_coeff[i][1])>>2)); FFABS 998 libavcodec/flacenc.c sum[2] += FFABS((lt + rt) >> 1); FFABS 999 libavcodec/flacenc.c sum[3] += FFABS(lt - rt); FFABS 1000 libavcodec/flacenc.c sum[0] += FFABS(lt); FFABS 1001 libavcodec/flacenc.c sum[1] += FFABS(rt); FFABS 230 libavcodec/flashsvenc.c s->previous_frame = av_mallocz(FFABS(p->linesize[0]) * s->image_height); FFABS 261 libavcodec/flashsvenc.c s->image_height * FFABS(p->linesize[0])); FFABS 255 libavcodec/g723_1.c max |= FFABS(vector[i]); FFABS 1083 libavcodec/g723_1.c t |= FFABS(vector_ptr[j]); FFABS 1126 libavcodec/g723_1.c if (FFABS(t) < FFABS(x)) FFABS 1458 libavcodec/g723_1.c if (FFABS(temp) >= (error << 16)) FFABS 1533 libavcodec/g723_1.c max = FFABS(f[0]); FFABS 1535 libavcodec/g723_1.c max = FFMAX(max, FFABS(f[i])); FFABS 1561 libavcodec/g723_1.c int abs_cur = FFABS(cur_val); FFABS 1562 libavcodec/g723_1.c int abs_prev = FFABS(prev_val); FFABS 1794 libavcodec/g723_1.c max = FFMAX(max, FFABS(energy[i])); FFABS 1991 libavcodec/g723_1.c max = FFMAX(max, FFABS(ccr_buf[i])); FFABS 2110 libavcodec/g723_1.c temp = FFABS(ccr1[j]); FFABS 2124 libavcodec/g723_1.c temp = FFABS(temp - amp); FFABS 2149 libavcodec/g723_1.c temp = impulse_corr[FFABS(l - param.pulse_pos[k - 1])]; FFABS 2153 libavcodec/g723_1.c temp = FFABS(ccr2[l]); FFABS 667 libavcodec/g729dec.c gain_before += FFABS(synth[j+10]); FFABS 685 libavcodec/g729dec.c gain_after += FFABS(synth[j+10]); FFABS 147 libavcodec/g729postfilter.c tmp |= FFABS(residual[i]); FFABS 450 libavcodec/g729postfilter.c if (FFABS(rh1) > rh0 || !rh0) FFABS 455 libavcodec/g729postfilter.c gain_term += FFABS(lp_gn[i + 10]); FFABS 493 libavcodec/g729postfilter.c ga = (fact << 15) / av_clip_int16(32768 - FFABS(gt)); FFABS 72 libavcodec/gsmdec_template.c int abs = FFABS(filtered); FFABS 65 libavcodec/h263dsp.c ad1 = FFABS(d1) >> 1; FFABS 108 libavcodec/h263dsp.c ad1 = FFABS(d1) >> 1; FFABS 45 libavcodec/h264_direct.c int tx = (16384 + (FFABS(td) >> 1)) / td; FFABS 133 libavcodec/h264_direct.c h->col_parity = (FFABS(col_poc[0] - cur_poc) >= FFABS 134 libavcodec/h264_direct.c FFABS(col_poc[1] - cur_poc)); FFABS 350 libavcodec/h264_direct.c FFABS(l1mv0[xy4][0]) <= 1 && FFABS 351 libavcodec/h264_direct.c FFABS(l1mv0[xy4][1]) <= 1) || FFABS 354 libavcodec/h264_direct.c FFABS(l1mv1[xy4][0]) <= 1 && FFABS 355 libavcodec/h264_direct.c FFABS(l1mv1[xy4][1]) <= 1))) { FFABS 381 libavcodec/h264_direct.c FFABS(l1mv0[0][0]) <= 1 && FFABS 382 libavcodec/h264_direct.c FFABS(l1mv0[0][1]) <= 1) || FFABS 384 libavcodec/h264_direct.c FFABS(l1mv1[0][0]) <= 1 && FFABS 385 libavcodec/h264_direct.c FFABS(l1mv1[0][1]) <= 1 && FFABS 425 libavcodec/h264_direct.c if (FFABS(mv_col[0]) <= 1 && FFABS(mv_col[1]) <= 1) { FFABS 439 libavcodec/h264_direct.c if (FFABS(mv_col[0]) <= 1 && FFABS(mv_col[1]) <= 1) { FFABS 440 libavcodec/h264_loopfilter.c FFABS( h->mv_cache[0][b_idx][1] - h->mv_cache[0][bn_idx][1] ) >= mvy_limit; FFABS 446 libavcodec/h264_loopfilter.c FFABS( h->mv_cache[1][b_idx][1] - h->mv_cache[1][bn_idx][1] ) >= mvy_limit; FFABS 454 libavcodec/h264_loopfilter.c FFABS( h->mv_cache[0][b_idx][1] - h->mv_cache[1][bn_idx][1] ) >= mvy_limit | FFABS 456 libavcodec/h264_loopfilter.c FFABS( h->mv_cache[1][b_idx][1] - h->mv_cache[0][bn_idx][1] ) >= mvy_limit; FFABS 166 libavcodec/h264_slice.c int alloc_size = FFALIGN(FFABS(linesize) + 32, 32); FFABS 925 libavcodec/h264_slice.c int tx = (16384 + (FFABS(td) >> 1)) / td; FFABS 126 libavcodec/h264dsp_template.c if( FFABS( p0 - q0 ) < alpha && FFABS 127 libavcodec/h264dsp_template.c FFABS( p1 - p0 ) < beta && FFABS 128 libavcodec/h264dsp_template.c FFABS( q1 - q0 ) < beta ) { FFABS 133 libavcodec/h264dsp_template.c if( FFABS( p2 - p0 ) < beta ) { FFABS 138 libavcodec/h264dsp_template.c if( FFABS( q2 - q0 ) < beta ) { FFABS 182 libavcodec/h264dsp_template.c if( FFABS( p0 - q0 ) < alpha && FFABS 183 libavcodec/h264dsp_template.c FFABS( p1 - p0 ) < beta && FFABS 184 libavcodec/h264dsp_template.c FFABS( q1 - q0 ) < beta ) { FFABS 186 libavcodec/h264dsp_template.c if(FFABS( p0 - q0 ) < (( alpha >> 2 ) + 2 )){ FFABS 187 libavcodec/h264dsp_template.c if( FFABS( p2 - p0 ) < beta) FFABS 198 libavcodec/h264dsp_template.c if( FFABS( q2 - q0 ) < beta) FFABS 251 libavcodec/h264dsp_template.c if( FFABS( p0 - q0 ) < alpha && FFABS 252 libavcodec/h264dsp_template.c FFABS( p1 - p0 ) < beta && FFABS 253 libavcodec/h264dsp_template.c FFABS( q1 - q0 ) < beta ) { FFABS 299 libavcodec/h264dsp_template.c if( FFABS( p0 - q0 ) < alpha && FFABS 300 libavcodec/h264dsp_template.c FFABS( p1 - p0 ) < beta && FFABS 301 libavcodec/h264dsp_template.c FFABS( q1 - q0 ) < beta ) { FFABS 659 libavcodec/hevc_filter.c if ((FFABS(neigh->mv[0].x - curr->mv[0].x) >= 4 || FFABS(neigh->mv[0].y - curr->mv[0].y) >= 4 || FFABS 660 libavcodec/hevc_filter.c FFABS(neigh->mv[1].x - curr->mv[1].x) >= 4 || FFABS(neigh->mv[1].y - curr->mv[1].y) >= 4) && FFABS 661 libavcodec/hevc_filter.c (FFABS(neigh->mv[1].x - curr->mv[0].x) >= 4 || FFABS(neigh->mv[1].y - curr->mv[0].y) >= 4 || FFABS 662 libavcodec/hevc_filter.c FFABS(neigh->mv[0].x - curr->mv[1].x) >= 4 || FFABS(neigh->mv[0].y - curr->mv[1].y) >= 4)) FFABS 668 libavcodec/hevc_filter.c if (FFABS(neigh->mv[0].x - curr->mv[0].x) >= 4 || FFABS(neigh->mv[0].y - curr->mv[0].y) >= 4 || FFABS 669 libavcodec/hevc_filter.c FFABS(neigh->mv[1].x - curr->mv[1].x) >= 4 || FFABS(neigh->mv[1].y - curr->mv[1].y) >= 4) FFABS 675 libavcodec/hevc_filter.c if (FFABS(neigh->mv[1].x - curr->mv[0].x) >= 4 || FFABS(neigh->mv[1].y - curr->mv[0].y) >= 4 || FFABS 676 libavcodec/hevc_filter.c FFABS(neigh->mv[0].x - curr->mv[1].x) >= 4 || FFABS(neigh->mv[0].y - curr->mv[1].y) >= 4) FFABS 704 libavcodec/hevc_filter.c if (FFABS(A.x - B.x) >= 4 || FFABS(A.y - B.y) >= 4) FFABS 293 libavcodec/hevcpred_template.c int min_dist_vert_hor = FFMIN(FFABS((int)(mode - 26U)), FFABS 294 libavcodec/hevcpred_template.c FFABS((int)(mode - 10U))); FFABS 299 libavcodec/hevcpred_template.c FFABS(top[-1] + top[63] - 2 * top[31]) < threshold && FFABS 300 libavcodec/hevcpred_template.c FFABS(left[-1] + left[63] - 2 * left[31]) < threshold) { FFABS 341 libavcodec/intrax8dsp.c (FFABS(p1-p2) <= ql) + FFABS 342 libavcodec/intrax8dsp.c (FFABS(p2-p3) <= ql) + FFABS 343 libavcodec/intrax8dsp.c (FFABS(p3-p4) <= ql) + FFABS 344 libavcodec/intrax8dsp.c (FFABS(p4-p5) <= ql); FFABS 347 libavcodec/intrax8dsp.c (FFABS(p5-p6) <= ql) + FFABS 348 libavcodec/intrax8dsp.c (FFABS(p6-p7) <= ql) + FFABS 349 libavcodec/intrax8dsp.c (FFABS(p7-p8) <= ql) + FFABS 350 libavcodec/intrax8dsp.c (FFABS(p8-p9) <= ql) + FFABS 351 libavcodec/intrax8dsp.c (FFABS(p0-p1) <= ql); FFABS 379 libavcodec/intrax8dsp.c if(FFABS(x0) < quant){ FFABS 383 libavcodec/intrax8dsp.c x=FFABS(x0) - FFMIN( FFABS(x1), FFABS(x2) ); FFABS 114 libavcodec/ituh263enc.c error= FFABS(s->avctx->time_base.num*1800000LL - (1000LL+i)*s->avctx->time_base.den*div); FFABS 100 libavcodec/jpegls.h if(FFABS(err) > 0xFFFF) FFABS 102 libavcodec/jpegls.h state->A[Q] += FFABS(err); FFABS 203 libavcodec/jpeglsdec.c if(FFABS(ret) > 0xFFFF) FFABS 206 libavcodec/jpeglsdec.c state->A[Q] += FFABS(ret) - RItype; FFABS 236 libavcodec/jpeglsdec.c if ((FFABS(D0) <= state->near) && FFABS 237 libavcodec/jpeglsdec.c (FFABS(D1) <= state->near) && FFABS 238 libavcodec/jpeglsdec.c (FFABS(D2) <= state->near)) { FFABS 279 libavcodec/jpeglsdec.c RItype = (FFABS(Ra - Rb) <= state->near) ? 1 : 0; FFABS 56 libavcodec/jpeglsenc.c val = 2 * FFABS(err) - 1 - map; FFABS 144 libavcodec/jpeglsenc.c if ((FFABS(D0) <= state->near) && FFABS 145 libavcodec/jpeglsenc.c (FFABS(D1) <= state->near) && FFABS 146 libavcodec/jpeglsenc.c (FFABS(D2) <= state->near)) { FFABS 151 libavcodec/jpeglsenc.c while (x < w && (FFABS(R(cur, x) - RUNval) <= state->near)) { FFABS 160 libavcodec/jpeglsenc.c RItype = FFABS(Ra - Rb) <= state->near; FFABS 315 libavcodec/jpeglsenc.c zero = av_mallocz(FFABS(p->linesize[0])); FFABS 107 libavcodec/me_cmp.c sum += FFABS(block[i]); FFABS 324 libavcodec/me_cmp.c score2 += FFABS(s1[x] - s1[x + stride] - FFABS 326 libavcodec/me_cmp.c FFABS(s2[x] - s2[x + stride] - FFABS 334 libavcodec/me_cmp.c return score1 + FFABS(score2) * c->avctx->nsse_weight; FFABS 336 libavcodec/me_cmp.c return score1 + FFABS(score2) * 8; FFABS 349 libavcodec/me_cmp.c score2 += FFABS(s1[x] - s1[x + stride] - FFABS 351 libavcodec/me_cmp.c FFABS(s2[x] - s2[x + stride] - FFABS 359 libavcodec/me_cmp.c return score1 + FFABS(score2) * c->avctx->nsse_weight; FFABS 361 libavcodec/me_cmp.c return score1 + FFABS(score2) * 8; FFABS 445 libavcodec/me_cmp.c #define BUTTERFLYA(x, y) (FFABS((x) + (y)) + FFABS((x) - (y))) FFABS 546 libavcodec/me_cmp.c sum -= FFABS(temp[8 * 0] + temp[8 * 4]); // -mean FFABS 608 libavcodec/me_cmp.c #define DST(x, v) sum += FFABS(v) FFABS 629 libavcodec/me_cmp.c sum = FFMAX(sum, FFABS(temp[i])); FFABS 806 libavcodec/me_cmp.c score += FFABS(s[x] - s[x + stride]) + \ FFABS 807 libavcodec/me_cmp.c FFABS(s[x + 1] - s[x + stride + 1]) + \ FFABS 808 libavcodec/me_cmp.c FFABS(s[x + 2] - s[x + 2 + stride]) + \ FFABS 809 libavcodec/me_cmp.c FFABS(s[x + 3] - s[x + 3 + stride]); \ FFABS 828 libavcodec/me_cmp.c score += FFABS(s1[x] - s2[x] - s1[x + stride] + s2[x + stride]); \ FFABS 55 libavcodec/mjpegenc.c int alevel = FFABS(level); FFABS 307 libavcodec/motion_est.c int dia_size= FFMAX(FFABS(s->avctx->dia_size)&255, FFABS(s->avctx->pre_dia_size)&255); FFABS 686 libavcodec/motion_est_template.c const int minima_count= FFABS(c->dia_size); FFABS 395 libavcodec/mpc8.c cnt = (cnt >> 1) + FFABS(c->Q[ch][off + j]); FFABS 80 libavcodec/mpeg12enc.c int alevel = FFABS(level); FFABS 265 libavcodec/mpeg12enc.c error = FFABS(error); FFABS 1037 libavcodec/mpeg12enc.c adiff = FFABS(diff); FFABS 1109 libavcodec/mpeg4videodec.c const int abs_level= FFABS(level); FFABS 696 libavcodec/mpeg4videoenc.c diff += FFABS(p_pic[x1 + y1 * s->linesize] - b_pic[x1 + y1 * s->linesize]); FFABS 447 libavcodec/mpegvideo.c int alloc_size = FFALIGN(FFABS(linesize) + 64, 32); FFABS 2052 libavcodec/mpegvideo.c if (FFABS(ex - sx) > FFABS(ey - sy)) { FFABS 1048 libavcodec/mpegvideo_enc.c acc += FFABS(src[x + y * stride] - ref); FFABS 1237 libavcodec/mpegvideo_enc.c switch (FFABS(s->avctx->frame_skip_exp)) { FFABS 1239 libavcodec/mpegvideo_enc.c case 1: score += FFABS(v); break; FFABS 1241 libavcodec/mpegvideo_enc.c case 3: score64 += FFABS(v * (int64_t)v * v); break; FFABS 1961 libavcodec/mpegvideo_enc.c const int level = FFABS(block[j]); FFABS 3893 libavcodec/mpegvideo_enc.c int dct_coeff= FFABS(block[ scantable[i] ]); FFABS 3903 libavcodec/mpegvideo_enc.c const int alevel= FFABS(level); FFABS 4016 libavcodec/mpegvideo_enc.c dc= FFABS(block[0]); FFABS 4029 libavcodec/mpegvideo_enc.c int alevel= FFABS(level); FFABS 4173 libavcodec/mpegvideo_enc.c w= FFABS(weight[i]) + qns*one; FFABS 4298 libavcodec/mpegvideo_enc.c if(s->quantizer_noise_shaping < 2 && FFABS(new_level) > FFABS(level)) FFABS 4318 libavcodec/mpegvideo_enc.c av_assert2(FFABS(new_level)==1); FFABS 4351 libavcodec/mpegvideo_enc.c av_assert2(FFABS(level)==1); FFABS 4420 libavcodec/mpegvideo_enc.c if(FFABS(block[j]) > FFABS(block[j] - best_change)){ FFABS 766 libavcodec/msmpeg4dec.c const int abs_level= FFABS(level); FFABS 135 libavcodec/msrledec.c unsigned int width= FFABS(pic->linesize[0]) / (depth >> 3); FFABS 138 libavcodec/msrledec.c output_end = output + FFABS(pic->linesize[0]); FFABS 156 libavcodec/msrledec.c output_end = output + FFABS(pic->linesize[0]); FFABS 171 libavcodec/msrledec.c output_end = pic->data[0] + line * pic->linesize[0] + FFABS(pic->linesize[0]); FFABS 514 libavcodec/mss3.c if (FFABS(t - tl) <= FFABS(l - tl)) FFABS 244 libavcodec/mss4.c if (FFABS(t - tl) <= FFABS(l - tl)) FFABS 111 libavcodec/nellymoser.c l = 30 - av_log2(FFABS(*la)); FFABS 155 libavcodec/nellymoser.c for(shift=0; FFABS(off) <= 16383; shift++) FFABS 891 libavcodec/opus_silk.c if (FFABS(row[k]) > 16773022) FFABS 968 libavcodec/opus_silk.c unsigned int x = FFABS(lpc32[k]); FFABS 358 libavcodec/pafvideo.c count = FFABS(code) + 1; FFABS 360 libavcodec/proresdec_lgpl.c code = decode_vlc_codeword(gb, ff_prores_dc_codebook[FFMIN(FFABS(delta), 3)]); FFABS 406 libavcodec/proresenc_kostya.c abs_level = FFABS(level); FFABS 456 libavcodec/proresenc_kostya.c put_bits(pb, dbits - 1, FFABS(diff) - 1); FFABS 617 libavcodec/proresenc_kostya.c *error += FFABS(blocks[0] - 0x4000) % scale; FFABS 621 libavcodec/proresenc_kostya.c *error += FFABS(blocks[0] - 0x4000) % scale; FFABS 653 libavcodec/proresenc_kostya.c *error += FFABS(blocks[idx]) % qmat[scan[i]]; FFABS 655 libavcodec/proresenc_kostya.c abs_level = FFABS(level); FFABS 279 libavcodec/qcelpdec.c if (FFABS(diff) > 10) FFABS 281 libavcodec/qcelpdec.c else if (FFABS(diff - prev_diff) > 12) FFABS 448 libavcodec/ratecontrol.c q = last_p_q * FFABS(a->i_quant_factor) + a->i_quant_offset; FFABS 486 libavcodec/ratecontrol.c qmin = (int)(qmin * FFABS(s->avctx->b_quant_factor) + s->avctx->b_quant_offset + 0.5); FFABS 487 libavcodec/ratecontrol.c qmax = (int)(qmax * FFABS(s->avctx->b_quant_factor) + s->avctx->b_quant_offset + 0.5); FFABS 490 libavcodec/ratecontrol.c qmin = (int)(qmin * FFABS(s->avctx->i_quant_factor) + s->avctx->i_quant_offset + 0.5); FFABS 491 libavcodec/ratecontrol.c qmax = (int)(qmax * FFABS(s->avctx->i_quant_factor) + s->avctx->i_quant_offset + 0.5); FFABS 265 libavcodec/resample2.c val += src[FFABS(sample_index + i) % src_size] * filter[i]; FFABS 96 libavcodec/roqaudioenc.c diff = FFABS(diff); FFABS 448 libavcodec/rv40dsp.c u = (alpha * FFABS(t)) >> 7; FFABS 460 libavcodec/rv40dsp.c if (filter_p1 && FFABS(diff_p1p2) <= beta) { FFABS 465 libavcodec/rv40dsp.c if (filter_q1 && FFABS(diff_q1q2) <= beta) { FFABS 509 libavcodec/rv40dsp.c sflag = (alpha * FFABS(t)) >> 7; FFABS 580 libavcodec/rv40dsp.c *p1 = FFABS(sum_p1p0) < (beta << 2); FFABS 581 libavcodec/rv40dsp.c *q1 = FFABS(sum_q1q0) < (beta << 2); FFABS 594 libavcodec/rv40dsp.c strong0 = *p1 && (FFABS(sum_p1p2) < beta2); FFABS 595 libavcodec/rv40dsp.c strong1 = *q1 && (FFABS(sum_q1q2) < beta2); FFABS 402 libavcodec/sanm.c int npoints = FFMAX(FFABS(x1 - x0), FFABS(y1 - y0)); FFABS 530 libavcodec/snow.h const int a= FFABS(v); FFABS 805 libavcodec/snow_dwt.c s += FFABS(v); FFABS 179 libavcodec/snowdec.c int mx_context= av_log2(2*FFABS(left->mx - top->mx)) + 0*av_log2(2*FFABS(tr->mx - top->mx)); FFABS 180 libavcodec/snowdec.c int my_context= av_log2(2*FFABS(left->my - top->my)) + 0*av_log2(2*FFABS(tr->my - top->my)); FFABS 251 libavcodec/snowenc.c int mx_context= av_log2(2*FFABS(left->mx - top->mx)); FFABS 252 libavcodec/snowenc.c int my_context= av_log2(2*FFABS(left->my - top->my)); FFABS 455 libavcodec/snowenc.c int mx_context= av_log2(2*FFABS(left->mx - top->mx)) + 16*!!b->ref; FFABS 456 libavcodec/snowenc.c int my_context= av_log2(2*FFABS(left->my - top->my)) + 16*!!b->ref; FFABS 579 libavcodec/snowenc.c return 3+2*( av_log2(2*FFABS(left->color[0] - b->color[0])) FFABS 580 libavcodec/snowenc.c + av_log2(2*FFABS(left->color[1] - b->color[1])) FFABS 581 libavcodec/snowenc.c + av_log2(2*FFABS(left->color[2] - b->color[2]))); FFABS 586 libavcodec/snowenc.c return 2*(1 + av_log2(2*FFABS(dmx)) //FIXME kill the 2* can be merged in lambda FFABS 587 libavcodec/snowenc.c + av_log2(2*FFABS(dmy)) FFABS 853 libavcodec/snowenc.c int context= av_log2(/*FFABS(ll) + */3*FFABS(l) + FFABS(lt) + 2*FFABS(t) + FFABS(rt) + FFABS(p)); FFABS 869 libavcodec/snowenc.c int context= av_log2(/*FFABS(ll) + */3*FFABS(l) + FFABS(lt) + 2*FFABS(t) + FFABS(rt) + FFABS(p)); FFABS 870 libavcodec/snowenc.c int l2= 2*FFABS(l) + (l<0); FFABS 871 libavcodec/snowenc.c int t2= 2*FFABS(t) + (t<0); FFABS 873 libavcodec/snowenc.c put_symbol2(&s->c, b->state[context + 2], FFABS(v)-1, context-4); FFABS 1425 libavcodec/snowenc.c put_symbol(&s->c, s->header_state, FFABS(p->hcoeff[i]), 0); FFABS 1954 libavcodec/snowenc.c if(FFABS(buffer[0][i] - buffer[1][i])>20) printf("fsck: %6d %12d %7d\n",i, buffer[0][i], buffer[1][i]); FFABS 1982 libavcodec/snowenc.c if(FFABS(width/2-x)<9 && FFABS(height/2-y)<9 && level==2) printf("%8"PRId64" ", d); FFABS 1984 libavcodec/snowenc.c if(FFABS(height/2-y)<9 && level==2) printf("\n"); FFABS 2024 libavcodec/snowenc.c if(FFABS(width/2-x)<9 && FFABS(height/2-y)<9) printf("%8"PRId64" ", d); FFABS 2026 libavcodec/snowenc.c if(FFABS(height/2-y)<9) printf("\n"); FFABS 105 libavcodec/sonic.c const int a= FFABS(v); FFABS 53 libavcodec/tiertexseqv.c sz += FFABS(code_table[i]); FFABS 54 libavcodec/vc1_pred.c if (FFABS(n) > 255) FFABS 57 libavcodec/vc1_pred.c if (FFABS(n) < scalezone1_x) FFABS 87 libavcodec/vc1_pred.c if (FFABS(n) > 63) FFABS 90 libavcodec/vc1_pred.c if (FFABS(n) < scalezone1_y) FFABS 118 libavcodec/vc1_pred.c if (FFABS(n) > 255) FFABS 121 libavcodec/vc1_pred.c if (FFABS(n) < scalezone1_x) FFABS 145 libavcodec/vc1_pred.c if (FFABS(n) > 63) FFABS 148 libavcodec/vc1_pred.c if (FFABS(n) < scalezone1_y) FFABS 411 libavcodec/vc1_pred.c sum = FFABS(px) + FFABS(py); FFABS 413 libavcodec/vc1_pred.c sum = FFABS(px - field_predA[0]) + FFABS(py - field_predA[1]); FFABS 424 libavcodec/vc1_pred.c sum = FFABS(px) + FFABS(py); FFABS 426 libavcodec/vc1_pred.c sum = FFABS(px - field_predC[0]) + FFABS(py - field_predC[1]); FFABS 772 libavcodec/vc1_pred.c sum = FFABS(px) + FFABS(py); FFABS 774 libavcodec/vc1_pred.c sum = FFABS(px - A[0]) + FFABS(py - A[1]); FFABS 785 libavcodec/vc1_pred.c sum = FFABS(px) + FFABS(py); FFABS 787 libavcodec/vc1_pred.c sum = FFABS(px - C[0]) + FFABS(py - C[1]); FFABS 842 libavcodec/vc1_pred.c sum = FFABS(px) + FFABS(py); FFABS 844 libavcodec/vc1_pred.c sum = FFABS(px - A[0]) + FFABS(py - A[1]); FFABS 855 libavcodec/vc1_pred.c sum = FFABS(px) + FFABS(py); FFABS 857 libavcodec/vc1_pred.c sum = FFABS(px - C[0]) + FFABS(py - C[1]); FFABS 153 libavcodec/vc1dsp.c int a1 = FFABS((2 * (src[-4 * stride] - src[-1 * stride]) - FFABS 155 libavcodec/vc1dsp.c int a2 = FFABS((2 * (src[ 0 * stride] - src[ 3 * stride]) - FFABS 196 libavcodec/vorbis.c int ady = FFABS(dy); FFABS 206 libavcodec/vorbis.c ady -= FFABS(base) * adx; FFABS 1268 libavcodec/vorbisdec.c ady = FFABS(dy); FFABS 1288 libavcodec/vp3.c if (FFABS(predicted_dc - vu) > 128) FFABS 1290 libavcodec/vp3.c else if (FFABS(predicted_dc - vl) > 128) FFABS 1292 libavcodec/vp3.c else if (FFABS(predicted_dc - vul) > 128) FFABS 1474 libavcodec/vp3.c ref_row = FFMAX(FFABS(ref_row), ref_row + 8 + border); FFABS 2081 libavcodec/vp3.c s->edge_emu_buffer = av_malloc(9 * FFABS(s->current_frame.f->linesize[0])); FFABS 571 libavcodec/vp6.c (FFABS(mv.x) > s->max_vector_length || FFABS 572 libavcodec/vp6.c FFABS(mv.y) > s->max_vector_length)) { FFABS 311 libavcodec/vp8dsp.c return FFABS(p0 - q0) <= flim; FFABS 318 libavcodec/vp8dsp.c return 2 * FFABS(p0 - q0) + (FFABS(p1 - q1) >> 1) <= flim; FFABS 332 libavcodec/vp8dsp.c FFABS(p3 - p2) <= I && FFABS(p2 - p1) <= I && \ FFABS 333 libavcodec/vp8dsp.c FFABS(p1 - p0) <= I && FFABS(q3 - q2) <= I && \ FFABS 334 libavcodec/vp8dsp.c FFABS(q2 - q1) <= I && FFABS(q1 - q0) <= I; \ FFABS 344 libavcodec/vp8dsp.c return FFABS(p1 - p0) > thresh || FFABS(q1 - q0) > thresh; FFABS 1492 libavcodec/vp9dsp.c int fm = FFABS(p3 - p2) <= I && FFABS(p2 - p1) <= I && FFABS 1493 libavcodec/vp9dsp.c FFABS(p1 - p0) <= I && FFABS(q1 - q0) <= I && FFABS 1494 libavcodec/vp9dsp.c FFABS(q2 - q1) <= I && FFABS(q3 - q2) <= I && FFABS 1495 libavcodec/vp9dsp.c FFABS(p0 - q0) * 2 + (FFABS(p1 - q1) >> 1) <= E; FFABS 1511 libavcodec/vp9dsp.c flat8out = FFABS(p7 - p0) <= 1 && FFABS(p6 - p0) <= 1 && FFABS 1512 libavcodec/vp9dsp.c FFABS(p5 - p0) <= 1 && FFABS(p4 - p0) <= 1 && FFABS 1513 libavcodec/vp9dsp.c FFABS(q4 - q0) <= 1 && FFABS(q5 - q0) <= 1 && FFABS 1514 libavcodec/vp9dsp.c FFABS(q6 - q0) <= 1 && FFABS(q7 - q0) <= 1; FFABS 1518 libavcodec/vp9dsp.c flat8in = FFABS(p3 - p0) <= 1 && FFABS(p2 - p0) <= 1 && FFABS 1519 libavcodec/vp9dsp.c FFABS(p1 - p0) <= 1 && FFABS(q1 - q0) <= 1 && FFABS 1520 libavcodec/vp9dsp.c FFABS(q2 - q0) <= 1 && FFABS(q3 - q0) <= 1; FFABS 1559 libavcodec/vp9dsp.c int hev = FFABS(p1 - p0) > H || FFABS(q1 - q0) > H; FFABS 886 libavcodec/webp.c int diff = (FFABS(p_l[0] - p_tl[0]) - FFABS(p_t[0] - p_tl[0])) + FFABS 887 libavcodec/webp.c (FFABS(p_l[1] - p_tl[1]) - FFABS(p_t[1] - p_tl[1])) + FFABS 888 libavcodec/webp.c (FFABS(p_l[2] - p_tl[2]) - FFABS(p_t[2] - p_tl[2])) + FFABS 889 libavcodec/webp.c (FFABS(p_l[3] - p_tl[3]) - FFABS(p_t[3] - p_tl[3])); FFABS 309 libavcodec/wmaenc.c int abs_level = FFABS(level); FFABS 262 libavcodec/wmv2dec.c diff = FFMAX(FFABS(A[0] - B[0]), FFABS(A[1] - B[1])); FFABS 106 libavcodec/x86/me_cmp_init.c return score1 + FFABS(score2) * c->avctx->nsse_weight; FFABS 108 libavcodec/x86/me_cmp_init.c return score1 + FFABS(score2) * 8; FFABS 119 libavcodec/x86/me_cmp_init.c return score1 + FFABS(score2) * c->avctx->nsse_weight; FFABS 121 libavcodec/x86/me_cmp_init.c return score1 + FFABS(score2) * 8; FFABS 39 libavcodec/x86/mpegvideoenc_qns_template.c av_assert2(FFABS(scale) < MAX_ABS); FFABS 81 libavcodec/x86/mpegvideoenc_qns_template.c if(FFABS(scale) < MAX_ABS){ FFABS 265 libavcodec/xan.c if (prev_palette_plane == palette_plane && FFABS(curframe_index - prevframe_index) < pixel_count) { FFABS 409 libavfilter/avf_showcqt.c volume = FFABS(av_expr_eval(volume_expr, expr_vars_val, NULL)); FFABS 915 libavfilter/avfiltergraph.c score -= 10000 + FFABS(out_channels - in_channels) + FFABS 315 libavfilter/f_ebur128.c "%c%d", i < 0 ? '-' : i > 0 ? '+' : ' ', FFABS(i)); FFABS 561 libavfilter/f_ebur128.c ebur128->true_peaks[ch] = FFMAX(ebur128->true_peaks[ch], FFABS(*swr_samples)); FFABS 563 libavfilter/f_ebur128.c FFABS(*swr_samples)); FFABS 589 libavfilter/f_ebur128.c ebur128->sample_peaks[ch] = FFMAX(ebur128->sample_peaks[ch], FFABS(*samples)); FFABS 198 libavfilter/vf_blend.c DEFINE_BLEND(negation, 255 - FFABS(255 - A - B)) FFABS 199 libavfilter/vf_blend.c DEFINE_BLEND(difference, FFABS(A - B)) FFABS 209 libavfilter/vf_blend.c DEFINE_BLEND(softlight, (A > 127) ? B + (255 - B) * (A - 127.5) / 127.5 * (0.5 - FFABS(B - 127.5) / 255): B - B * ((127.5 - A) / 127.5) * (0.5 - FFABS(B - 127.5)/255)) FFABS 114 libavfilter/vf_codecview.c if (FFABS(ex - sx) > FFABS(ey - sy)) { FFABS 370 libavfilter/vf_dctdnoiz.c var_values[VAR_C] = FFABS(*b); \ FFABS 373 libavfilter/vf_dctdnoiz.c if (FFABS(*b) < sigma_th) \ FFABS 209 libavfilter/vf_edgedetect.c dst[i] = FFABS(gx) + FFABS(gy); FFABS 403 libavfilter/vf_fieldmatch.c tbuffer[x] = FFABS(prvp[x] - nxtp[x]); FFABS 335 libavfilter/vf_histogram.c out->data[0][pos] = FFABS(128 - u) + FFABS(128 - v); FFABS 185 libavfilter/vf_hqdn3d.c simil = 1.0 - FFABS(f) / 255.0; FFABS 94 libavfilter/vf_idet.c ret += FFABS(v); FFABS 107 libavfilter/vf_idet.c ret += FFABS(v); FFABS 220 libavfilter/vf_mcdeint.c FFABS(srcp[-srcs+DELTA(-1+(j))] - srcp[+srcs+DELTA(-1-(j))])+\ FFABS 221 libavfilter/vf_mcdeint.c FFABS(srcp[-srcs+DELTA(j) ] - srcp[+srcs+DELTA( -(j))])+\ FFABS 222 libavfilter/vf_mcdeint.c FFABS(srcp[-srcs+DELTA(1+(j)) ] - srcp[+srcs+DELTA( 1-(j))]) FFABS 225 libavfilter/vf_mcdeint.c FFABS(srcp[-srcs-1+(j)] - srcp[+srcs-1-(j)])+\ FFABS 226 libavfilter/vf_mcdeint.c FFABS(srcp[-srcs +(j)] - srcp[+srcs -(j)])+\ FFABS 227 libavfilter/vf_mcdeint.c FFABS(srcp[-srcs+1+(j)] - srcp[+srcs+1-(j)]) FFABS 255 libavfilter/vf_mcdeint.c temp -= (diff0 + diff1 - FFABS(FFABS(diff0) - FFABS(diff1)) / 2) / 2; FFABS 257 libavfilter/vf_mcdeint.c temp -= (diff0 + diff1 + FFABS(FFABS(diff0) - FFABS(diff1)) / 2) / 2; FFABS 78 libavfilter/vf_pixdesctest.c memset(data, 0, FFABS(out->linesize[i]) * h1); FFABS 41 libavfilter/vf_yadif.c { int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\ FFABS 42 libavfilter/vf_yadif.c + FFABS(cur[mrefs +(j)] - cur[prefs -(j)])\ FFABS 43 libavfilter/vf_yadif.c + FFABS(cur[mrefs + 1 + (j)] - cur[prefs + 1 - (j)]);\ FFABS 56 libavfilter/vf_yadif.c int temporal_diff0 = FFABS(prev2[0] - next2[0]); \ FFABS 57 libavfilter/vf_yadif.c int temporal_diff1 =(FFABS(prev[mrefs] - c) + FFABS(prev[prefs] - e) )>>1; \ FFABS 58 libavfilter/vf_yadif.c int temporal_diff2 =(FFABS(next[mrefs] - c) + FFABS(next[prefs] - e) )>>1; \ FFABS 63 libavfilter/vf_yadif.c int spatial_score = FFABS(cur[mrefs - 1] - cur[prefs - 1]) + FFABS(c-e) \ FFABS 64 libavfilter/vf_yadif.c + FFABS(cur[mrefs + 1] - cur[prefs + 1]) - 1; \ FFABS 202 libavfilter/vsrc_mandelbrot.c dist= FFMAX(FFABS(x-(mb->w>>1))*mb->h, FFABS(y-(mb->h>>1))*mb->w); FFABS 237 libavfilter/vsrc_mandelbrot.c if(FFABS(ipolab - ipolcd) > 5) FFABS 239 libavfilter/vsrc_mandelbrot.c if(FFABS(ac-bc)+FFABS(cc-dc) > 20) FFABS 383 libavformat/asfdec.c FFABS(fsize - (int64_t)asf->hdr.file_size) / (float)FFMIN(fsize, asf->hdr.file_size) < 0.05) FFABS 806 libavformat/avidec.c st->codec->height = FFABS(st->codec->height); FFABS 50 libavformat/dtsdec.c diff += FFABS(((int16_t)AV_RL16(buf)) - (int16_t)AV_RL16(buf-4)); FFABS 803 libavformat/flvdec.c if (FFABS(dts - flv->validate_index[flv->validate_next].dts) <= FFABS 969 libavformat/flvdec.c } else if (FFABS(dts - pts) > 1000*60*15) { FFABS 583 libavformat/gxf.c if (FFABS(found - timestamp) > 4) FFABS 144 libavformat/jacosubdec.c a = FFABS(a); FFABS 2292 libavformat/mov.c if (FFABS(duration) > (1<<28) && i+2<entries) { FFABS 4192 libavformat/mov.c ((FFABS(best_dts - dts) <= AV_TIME_BASE && current_sample->pos < sample->pos) || FFABS 4193 libavformat/mov.c (FFABS(best_dts - dts) > AV_TIME_BASE && dts < best_dts)))))) { FFABS 180 libavformat/mp3enc.c int error = FFABS(bit_rate - codec->bit_rate); FFABS 409 libavformat/mp3enc.c val = FFABS(rg->track_gain / 10000) & ((1 << 9) - 1); FFABS 416 libavformat/mp3enc.c val = FFABS(rg->album_gain / 10000) & ((1 << 9) - 1); FFABS 277 libavformat/mux.c && FFABS(av_q2d(st->sample_aspect_ratio) - av_q2d(codec->sample_aspect_ratio)) > 0.004*av_q2d(st->sample_aspect_ratio) FFABS 982 libavformat/nutdec.c FFABS(stc->last_pts - *pts) > stc->max_pts_distance) { FFABS 291 libavformat/nutenc.c ff_put_v(bc, 2 * FFABS(val) - (val > 0)); FFABS 799 libavformat/nutenc.c if (FFABS(pkt->pts - nus->last_pts) > nus->max_pts_distance) FFABS 263 libavformat/rtpdec.c d = FFABS(d); FFABS 53 libavformat/seek-test.c snprintf(buffer, 60, "%c%"PRId64".%06"PRId64"", ts<0 ? '-' : ' ', FFABS(ts)/1000000, FFABS(ts)%1000000); FFABS 858 libavformat/utils.c int64_t diff = FFABS(pts_buffer[i] - dts) FFABS 2456 libavformat/utils.c (st->duration < duration && FFABS(duration - st->info->last_duration) < 60LL*st->time_base.den / st->time_base.num)) FFABS 149 libavutil/mathematics.c if ((FFABS(ts_a)|a|FFABS(ts_b)|b) <= INT_MAX) FFABS 40 libavutil/rational.c int64_t gcd = av_gcd(FFABS(num), FFABS(den)); FFABS 43 libavutil/rational.c num = FFABS(num) / gcd; FFABS 44 libavutil/rational.c den = FFABS(den) / gcd; FFABS 194 libavutil/rational.c if (FFABS(acc - exact) > 2) { FFABS 306 libpostproc/postprocess.c if(FFABS(middleEnergy) < 8*c->QP){ FFABS 311 libpostproc/postprocess.c int d= FFABS(middleEnergy) - FFMIN( FFABS(leftEnergy), FFABS(rightEnergy) ); FFABS 343 libpostproc/postprocess.c const int first= FFABS(dst[-1] - dst[0]) < c->QP ? dst[-1] : dst[0]; FFABS 344 libpostproc/postprocess.c const int last= FFABS(dst[8] - dst[7]) < c->QP ? dst[8] : dst[7]; FFABS 417 libpostproc/postprocess.c int d= FFMAX(FFABS(b) - (FFABS(a) + FFABS(c))/2, 0); FFABS 477 libpostproc/postprocess.c const int first= FFABS(src[-1*step] - src[0]) < QP ? src[-1*step] : src[0]; FFABS 478 libpostproc/postprocess.c const int last= FFABS(src[8*step] - src[7*step]) < QP ? src[8*step] : src[7*step]; FFABS 514 libpostproc/postprocess.c if(FFABS(middleEnergy) < 8*QP){ FFABS 519 libpostproc/postprocess.c int d= FFABS(middleEnergy) - FFMIN( FFABS(leftEnergy), FFABS(rightEnergy) ); FFABS 983 libpostproc/postprocess.c int minStride= FFMAX(FFABS(srcStride[0]), FFABS(dstStride[0])); FFABS 984 libpostproc/postprocess.c int absQPStride = FFABS(QPStride); FFABS 370 libpostproc/postprocess_template.c const int first= FFABS(src[0] - src[l1]) < c->QP ? src[0] : src[l1]; FFABS 371 libpostproc/postprocess_template.c const int last= FFABS(src[l8] - src[l9]) < c->QP ? src[l9] : src[l8]; FFABS 515 libpostproc/postprocess_template.c int d= FFABS(b) - ((FFABS(a) + FFABS(c))>>1); FFABS 1064 libpostproc/postprocess_template.c if(FFABS(middleEnergy) < 8*c->QP){ FFABS 1069 libpostproc/postprocess_template.c int d= FFABS(middleEnergy) - FFMIN( FFABS(leftEnergy), FFABS(rightEnergy) ); FFABS 1398 libpostproc/postprocess_template.c int absDiff= FFABS(diff); FFABS 3431 libpostproc/postprocess_template.c if(width==FFABS(dstStride)) FFABS 3450 libpostproc/postprocess_template.c int8_t *nonBQPptr= &c.nonBQPTable[(y>>qpVShift)*FFABS(QPStride)]; FFABS 3463 libpostproc/postprocess_template.c memcpy(tempSrc + srcStride*i, src + srcStride*(height-1), FFABS(srcStride)); FFABS 3470 libpostproc/postprocess_template.c memcpy(tempDst + dstStride*i, dst + dstStride*(height-1), FFABS(dstStride)); FFABS 3669 libpostproc/postprocess_template.c if(width==FFABS(dstStride)) FFABS 372 libswresample/swresample-test.c maxdiff= FFMAX(maxdiff, FFABS(a-b)); FFABS 402 libswresample/swresample-test.c maxdiff= FFMAX(maxdiff, FFABS(a-b)); FFABS 61 libswresample/x86/rematrix_init.c sh = FFMAX(sh, FFABS(((int*)s->native_matrix)[i * nb_in + j])); FFABS 1016 libswscale/swscale.c rgb0_tmp = av_malloc(FFABS(srcStride[0]) * srcSliceH + 32); FFABS 1032 libswscale/swscale.c rgb0_tmp = av_malloc(FFABS(srcStride[0]) * srcSliceH + 32); FFABS 352 libswscale/swscale_unscaled.c int min_stride = FFMIN(FFABS(srcstr), FFABS(dststr)); FFABS 1358 libswscale/swscale_unscaled.c while (length + c->srcW <= FFABS(dstStride[0]) && FFABS 1359 libswscale/swscale_unscaled.c length + c->srcW <= FFABS(srcStride[0])) FFABS 307 libswscale/utils.c if (FFABS(xInc - 0x10000) < 10 && srcPos == dstPos) { // unscaled FFABS 348 libswscale/utils.c int64_t coeff= fone - FFABS(((int64_t)xx<<16) - xDstInSrc)*(fone>>16); FFABS 387 libswscale/utils.c int64_t d = (FFABS(((int64_t)xx << 17) - xDstInSrc)) << 13; FFABS 518 libswscale/utils.c cutOff += FFABS(filter2[i * filter2Size]); FFABS 538 libswscale/utils.c cutOff += FFABS(filter2[i * filter2Size + j]); FFABS 1798 libswscale/utils.c int length = a->length + FFABS(shift) * 2; FFABS 48 libswscale/x86/yuv2rgb_template.c if (h_size * depth > FFABS(dstStride[0])) \