FFABS 1750 fftools/ffmpeg.c secs = FFABS(pts) / AV_TIME_BASE; FFABS 1751 fftools/ffmpeg.c us = FFABS(pts) % AV_TIME_BASE; FFABS 4435 fftools/ffmpeg.c if (FFABS(wrap_dts - ist->next_dts) < FFABS(pkt_dts - ist->next_dts)/10) FFABS 168 libavcodec/aacdec_fixed.c int s = FFABS(scale); FFABS 124 libavcodec/aacps.c READ_PAR_DATA(iid, huff_offset[table_idx], 0, FFABS(ps->iid_par[e][b]) > 7 + 8 * ps->iid_quant) FFABS 266 libavcodec/aacps.c if (FFABS(ps->iid_par[ps->num_env][b]) > 7 + 8 * ps->iid_quant) { FFABS 220 libavcodec/ac3enc_template.c coord_diff += FFABS(cpl_coords[blk-1][ch][bnd] - FFABS 1436 libavcodec/adpcm.c if (FFABS((int64_t)c->status[i].predictor) > (1<<16)) FFABS 196 libavcodec/alacenc.c sum[2] += FFABS((lt + rt) >> 1); FFABS 197 libavcodec/alacenc.c sum[3] += FFABS(lt - rt); FFABS 198 libavcodec/alacenc.c sum[0] += FFABS(lt); FFABS 199 libavcodec/alacenc.c sum[1] += FFABS(rt); FFABS 549 libavcodec/amrwbdec.c int pos = (FFABS(sig_pos[i][j]) - 1) * spacing + i; FFABS 106 libavcodec/aptxenc.c sample_difference_abs = FFABS(sample_difference); FFABS 122 libavcodec/aptxenc.c quantize->error = FFABS(rshift64(error, 23)); FFABS 1591 libavcodec/atrac3plus.c diff = FFABS(wsrc[j].freq_index - wref[i].freq_index); FFABS 133 libavcodec/atrac9dec.c scale = (FFABS(values) - 1) / 31.0f; FFABS 150 libavcodec/atrac9dec.c const int delta = FFABS(c->scalefactors[i] - c->scalefactors[i - 1]) - 1; FFABS 514 libavcodec/atrac9dec.c maxval = FFMAX(FFMAX(FFABS(tmp[0]), FFABS(tmp[1])), maxval); 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 1026 libavcodec/cavsdec.c int alloc_size = FFALIGN(FFABS(h->cur.f->linesize[0]) + 32, 32); FFABS 1047 libavcodec/cavsdec.c if (FFABS(h->sym_factor) > 32768) { FFABS 114 libavcodec/clearvideo.c int aval = FFABS(val), sign = val < 0; FFABS 136 libavcodec/dcaadpcm.c max |= FFABS(in[i]); FFABS 401 libavcodec/dcaenc.c in = FFABS(in); FFABS 2023 libavcodec/diracdec.c && FFABS(s->ref_frames[j]->avframe->display_picture_number - refnum) < refdist) { FFABS 2025 libavcodec/diracdec.c refdist = FFABS(s->ref_frames[j]->avframe->display_picture_number - refnum); FFABS 2245 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 202 libavcodec/diracdsp.c c = (FFABS(c)*(unsigned)qf + qs) >> 2; \ FFABS 195 libavcodec/dolby_e.c int c = FFABS(a - b) >> 1; FFABS 581 libavcodec/dss_sp.c val |= FFABS(vector_buf[i]); FFABS 592 libavcodec/dss_sp.c sum += FFABS(p->vector_buf[i]); FFABS 354 libavcodec/dstdec.c unsigned index = FFABS(predict) >> 3; FFABS 400 libavcodec/dvenc.c level = (FFABS(level) * weight[i] + (1 << (dv_weight_bits + 3))) >> FFABS 470 libavcodec/dvenc.c level0 = FFABS(level0); FFABS 471 libavcodec/dvenc.c level1 = FFABS(level1); FFABS 266 libavcodec/error_resilience.c FFABS(left_mv[0] - right_mv[0]) + FFABS 267 libavcodec/error_resilience.c FFABS(left_mv[1] + right_mv[1]) < 2) FFABS 277 libavcodec/error_resilience.c d = FFABS(b) - ((FFABS(a) + FFABS(c) + 1) >> 1); FFABS 338 libavcodec/error_resilience.c FFABS(top_mv[0] - bottom_mv[0]) + FFABS 339 libavcodec/error_resilience.c FFABS(top_mv[1] + bottom_mv[1]) < 2) FFABS 349 libavcodec/error_resilience.c d = FFABS(b) - ((FFABS(a) + FFABS(c) + 1) >> 1); FFABS 646 libavcodec/error_resilience.c score += FFABS(src[k * linesize[0] - 1] - FFABS 652 libavcodec/error_resilience.c score += FFABS(src[k * linesize[0] + 15] - FFABS 658 libavcodec/error_resilience.c score += FFABS(src[k - linesize[0]] - src[k]); FFABS 663 libavcodec/error_resilience.c score += FFABS(src[k + linesize[0] * 15] - FFABS 165 libavcodec/ffv1.h state->error_sum += FFABS(v); FFABS 202 libavcodec/ffv1enc.c const int a = FFABS(v); FFABS 1018 libavcodec/ffv1enc.c stat[i] += FFABS(bg + ((br*rct_y_coeff[i][0] + bb*rct_y_coeff[i][1])>>2)); FFABS 1123 libavcodec/flacenc.c sum[2] += FFABS((lt + rt) >> 1); FFABS 1124 libavcodec/flacenc.c sum[3] += FFABS(lt - rt); FFABS 1125 libavcodec/flacenc.c sum[0] += FFABS(lt); FFABS 1126 libavcodec/flacenc.c sum[1] += FFABS(rt); FFABS 222 libavcodec/flashsvenc.c s->previous_frame = av_mallocz(FFABS(p->linesize[0]) * s->image_height); FFABS 253 libavcodec/flashsvenc.c s->image_height * FFABS(p->linesize[0])); FFABS 38 libavcodec/g723_1.c max |= FFABS(vector[i]); FFABS 786 libavcodec/g723_1dec.c t |= FFABS(vector_ptr[j]); FFABS 829 libavcodec/g723_1dec.c if (FFABS(t) < FFABS(x)) FFABS 154 libavcodec/g723_1enc.c if (FFABS(temp) >= (error << 16)) FFABS 229 libavcodec/g723_1enc.c max = FFABS(f[0]); FFABS 231 libavcodec/g723_1enc.c max = FFMAX(max, FFABS(f[i])); FFABS 257 libavcodec/g723_1enc.c int abs_cur = FFABS(cur_val); FFABS 258 libavcodec/g723_1enc.c int abs_prev = FFABS(prev_val); FFABS 515 libavcodec/g723_1enc.c max = FFMAX(max, FFABS(energy[i])); FFABS 710 libavcodec/g723_1enc.c max = FFMAX(max, FFABS(ccr_buf[i])); FFABS 829 libavcodec/g723_1enc.c temp = FFABS(ccr1[j]); FFABS 843 libavcodec/g723_1enc.c temp = FFABS(temp - amp); FFABS 868 libavcodec/g723_1enc.c temp = impulse_corr[FFABS(l - param.pulse_pos[k - 1])]; FFABS 872 libavcodec/g723_1enc.c temp = FFABS(ccr2[l]); FFABS 690 libavcodec/g729dec.c gain_before += FFABS(synth[j+10]); FFABS 708 libavcodec/g729dec.c gain_after += FFABS(synth[j+10]); FFABS 147 libavcodec/g729postfilter.c tmp |= FFABS(residual[i]); FFABS 453 libavcodec/g729postfilter.c if (FFABS(rh1) > rh0 || !rh0) FFABS 458 libavcodec/g729postfilter.c gain_term += FFABS(lp_gn[i + 10]); FFABS 496 libavcodec/g729postfilter.c ga = (fact << 16) / av_clip_int16(32768 - FFABS(gt)); FFABS 65 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 53 libavcodec/h264_direct.c int tx = (16384 + (FFABS(td) >> 1)) / td; FFABS 159 libavcodec/h264_direct.c sl->col_parity = (FFABS(col_poc[0] - (int64_t)cur_poc) >= FFABS 160 libavcodec/h264_direct.c FFABS(col_poc[1] - (int64_t)cur_poc)); FFABS 377 libavcodec/h264_direct.c FFABS(l1mv0[xy4][0]) <= 1 && FFABS 378 libavcodec/h264_direct.c FFABS(l1mv0[xy4][1]) <= 1) || FFABS 381 libavcodec/h264_direct.c FFABS(l1mv1[xy4][0]) <= 1 && FFABS 382 libavcodec/h264_direct.c FFABS(l1mv1[xy4][1]) <= 1))) { FFABS 408 libavcodec/h264_direct.c FFABS(l1mv0[0][0]) <= 1 && FFABS 409 libavcodec/h264_direct.c FFABS(l1mv0[0][1]) <= 1) || FFABS 411 libavcodec/h264_direct.c FFABS(l1mv1[0][0]) <= 1 && FFABS 412 libavcodec/h264_direct.c FFABS(l1mv1[0][1]) <= 1 && FFABS 452 libavcodec/h264_direct.c if (FFABS(mv_col[0]) <= 1 && FFABS(mv_col[1]) <= 1) { FFABS 466 libavcodec/h264_direct.c if (FFABS(mv_col[0]) <= 1 && FFABS(mv_col[1]) <= 1) { FFABS 447 libavcodec/h264_loopfilter.c FFABS(sl->mv_cache[0][b_idx][1] - sl->mv_cache[0][bn_idx][1]) >= mvy_limit; FFABS 453 libavcodec/h264_loopfilter.c FFABS(sl->mv_cache[1][b_idx][1] - sl->mv_cache[1][bn_idx][1]) >= mvy_limit; FFABS 461 libavcodec/h264_loopfilter.c FFABS(sl->mv_cache[0][b_idx][1] - sl->mv_cache[1][bn_idx][1]) >= mvy_limit | FFABS 463 libavcodec/h264_loopfilter.c FFABS(sl->mv_cache[1][b_idx][1] - sl->mv_cache[0][bn_idx][1]) >= mvy_limit; FFABS 131 libavcodec/h264_slice.c int alloc_size = FFALIGN(FFABS(linesize) + 32, 32); FFABS 704 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 658 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 659 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 660 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 661 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 667 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 668 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 674 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 675 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 703 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 602 libavcodec/ilbcdec.c int16_t scale = FFMAX(1638, FFABS(max_in)); FFABS 874 libavcodec/ilbcdec.c absolute = FFABS(vector[i]); FFABS 1011 libavcodec/ilbcdec.c shift_max = get_size_in_bits(FFABS(cross)) - 15; FFABS 1020 libavcodec/ilbcdec.c shift1 = get_size_in_bits(FFABS(cross_comp)) - 15; FFABS 363 libavcodec/intrax8dsp.c t = (FFABS(p1 - p2) <= ql) + FFABS 364 libavcodec/intrax8dsp.c (FFABS(p2 - p3) <= ql) + FFABS 365 libavcodec/intrax8dsp.c (FFABS(p3 - p4) <= ql) + FFABS 366 libavcodec/intrax8dsp.c (FFABS(p4 - p5) <= ql); FFABS 370 libavcodec/intrax8dsp.c t += (FFABS(p5 - p6) <= ql) + FFABS 371 libavcodec/intrax8dsp.c (FFABS(p6 - p7) <= ql) + FFABS 372 libavcodec/intrax8dsp.c (FFABS(p7 - p8) <= ql) + FFABS 373 libavcodec/intrax8dsp.c (FFABS(p8 - p9) <= ql) + FFABS 374 libavcodec/intrax8dsp.c (FFABS(p0 - p1) <= ql); FFABS 409 libavcodec/intrax8dsp.c if (FFABS(x0) < quant) { FFABS 413 libavcodec/intrax8dsp.c x = FFABS(x0) - FFMIN(FFABS(x1), FFABS(x2)); FFABS 115 libavcodec/ituh263enc.c error= FFABS(s->avctx->time_base.num*1800000LL - (1000LL+i)*s->avctx->time_base.den*div); FFABS 1706 libavcodec/jpeg2000dec.c if (FFABS(cblk->data + cblk->data_start[term_cnt + 1] - 2 - t1->mqc.bp) > 0) { FFABS 102 libavcodec/jpegls.h if(FFABS(err) > 0xFFFF) FFABS 104 libavcodec/jpegls.h state->A[Q] += FFABS(err); FFABS 212 libavcodec/jpeglsdec.c if(FFABS(ret) > 0xFFFF) FFABS 215 libavcodec/jpeglsdec.c state->A[Q] += FFABS(ret) - RItype; FFABS 248 libavcodec/jpeglsdec.c if ((FFABS(D0) <= state->near) && FFABS 249 libavcodec/jpeglsdec.c (FFABS(D1) <= state->near) && FFABS 250 libavcodec/jpeglsdec.c (FFABS(D2) <= state->near)) { FFABS 292 libavcodec/jpeglsdec.c RItype = (FFABS(Ra - Rb) <= state->near) ? 1 : 0; FFABS 63 libavcodec/jpeglsenc.c val = 2 * FFABS(err) - 1 - map; FFABS 151 libavcodec/jpeglsenc.c if ((FFABS(D0) <= state->near) && FFABS 152 libavcodec/jpeglsenc.c (FFABS(D1) <= state->near) && FFABS 153 libavcodec/jpeglsenc.c (FFABS(D2) <= state->near)) { FFABS 158 libavcodec/jpeglsenc.c while (x < w && (FFABS(R(cur, x) - RUNval) <= state->near)) { FFABS 167 libavcodec/jpeglsenc.c RItype = FFABS(Ra - Rb) <= state->near; FFABS 332 libavcodec/jpeglsenc.c zero = last = av_mallocz(FFABS(p->linesize[0])); FFABS 321 libavcodec/libzvbi-teletextdec.c if (last_trailing != -1 && (FFABS((trailing - leading) - (last_trailing - last_leading)) > 1) || trailing - leading > 4) FFABS 141 libavcodec/me_cmp.c sum += FFABS(block[i]); FFABS 428 libavcodec/me_cmp.c score2 += FFABS(s1[x] - s1[x + stride] - FFABS 430 libavcodec/me_cmp.c FFABS(s2[x] - s2[x + stride] - FFABS 438 libavcodec/me_cmp.c return score1 + FFABS(score2) * c->avctx->nsse_weight; FFABS 440 libavcodec/me_cmp.c return score1 + FFABS(score2) * 8; FFABS 453 libavcodec/me_cmp.c score2 += FFABS(s1[x] - s1[x + stride] - FFABS 455 libavcodec/me_cmp.c FFABS(s2[x] - s2[x + stride] - FFABS 463 libavcodec/me_cmp.c return score1 + FFABS(score2) * c->avctx->nsse_weight; FFABS 465 libavcodec/me_cmp.c return score1 + FFABS(score2) * 8; FFABS 552 libavcodec/me_cmp.c #define BUTTERFLYA(x, y) (FFABS((x) + (y)) + FFABS((x) - (y))) FFABS 653 libavcodec/me_cmp.c sum -= FFABS(temp[8 * 0] + temp[8 * 4]); // -mean FFABS 715 libavcodec/me_cmp.c #define DST(x, v) sum += FFABS(v) FFABS 736 libavcodec/me_cmp.c sum = FFMAX(sum, FFABS(temp[i])); FFABS 913 libavcodec/me_cmp.c score += FFABS(s[x] - s[x + stride]) + \ FFABS 914 libavcodec/me_cmp.c FFABS(s[x + 1] - s[x + stride + 1]) + \ FFABS 915 libavcodec/me_cmp.c FFABS(s[x + 2] - s[x + 2 + stride]) + \ FFABS 916 libavcodec/me_cmp.c FFABS(s[x + 3] - s[x + 3 + stride]); \ FFABS 935 libavcodec/me_cmp.c score += FFABS(s1[x] - s2[x] - s1[x + stride] + s2[x + stride]); \ FFABS 1495 libavcodec/mips/vc1dsp_mmi.c int a1 = FFABS((2 * (src[-4 * stride] - src[-1 * stride]) - FFABS 1497 libavcodec/mips/vc1dsp_mmi.c int a2 = FFABS((2 * (src[ 0 * stride] - src[ 3 * stride]) - FFABS 726 libavcodec/mips/vp8dsp_mmi.c return 2 * FFABS(p0 - q0) + (FFABS(p1 - q1) >> 1) <= flim; FFABS 736 libavcodec/mips/vp8dsp_mmi.c return FFABS(p1 - p0) > thresh || FFABS(q1 - q0) > thresh; FFABS 779 libavcodec/mips/vp8dsp_mmi.c FFABS(p3 - p2) <= I && FFABS(p2 - p1) <= I && FFABS 780 libavcodec/mips/vp8dsp_mmi.c FFABS(p1 - p0) <= I && FFABS(q3 - q2) <= I && FFABS 781 libavcodec/mips/vp8dsp_mmi.c FFABS(q2 - q1) <= I && FFABS(q1 - q0) <= I; FFABS 50 libavcodec/mjpegenc_common.c int alevel = FFABS(level); FFABS 473 libavcodec/mlpenc.c return av_log2(FFABS(number)) + 1 + !!number; FFABS 1258 libavcodec/mlpenc.c abs_sample = FFABS(sample); FFABS 1460 libavcodec/mlpenc.c sum[0] += FFABS( left ); FFABS 1461 libavcodec/mlpenc.c sum[1] += FFABS( right); FFABS 1462 libavcodec/mlpenc.c sum[2] += FFABS((left + right) >> 1); FFABS 1463 libavcodec/mlpenc.c sum[3] += FFABS( left - right); FFABS 309 libavcodec/motion_est.c int dia_size= FFMAX(FFABS(s->avctx->dia_size)&255, FFABS(s->avctx->pre_dia_size)&255); FFABS 687 libavcodec/motion_est_template.c const int minima_count= FFABS(c->dia_size); FFABS 398 libavcodec/mpc8.c cnt = (cnt >> 1) + FFABS(c->Q[ch][off + j]); FFABS 78 libavcodec/mpeg12enc.c int alevel = FFABS(level); FFABS 269 libavcodec/mpeg12enc.c error = FFABS(error); FFABS 1067 libavcodec/mpeg12enc.c adiff = FFABS(diff); FFABS 377 libavcodec/mpeg4videodec.c FFABS( sprite_offset[0][i]) >= INT_MAX >> shift_y || FFABS 378 libavcodec/mpeg4videodec.c FFABS( sprite_offset[1][i]) >= INT_MAX >> shift_c || FFABS 379 libavcodec/mpeg4videodec.c FFABS( sprite_delta[0][i]) >= INT_MAX >> shift_y || FFABS 380 libavcodec/mpeg4videodec.c FFABS( sprite_delta[1][i]) >= INT_MAX >> shift_y FFABS 1212 libavcodec/mpeg4videodec.c const int abs_level= FFABS(level); FFABS 669 libavcodec/mpeg4videoenc.c diff += FFABS(p_pic[x1 + y1 * s->linesize] - b_pic[x1 + y1 * s->linesize]); FFABS 62 libavcodec/mpegpicture.c int alloc_size = FFALIGN(FFABS(linesize) + 64, 32); FFABS 182 libavcodec/mpegvideo_enc.c int diff = FFABS((ff_mpeg2_non_linear_qscale[i]<<(FF_LAMBDA_SHIFT + 6)) - (int)s->lambda * 139); FFABS 1112 libavcodec/mpegvideo_enc.c acc += FFABS(src[x + y * stride] - ref); FFABS 1317 libavcodec/mpegvideo_enc.c switch (FFABS(s->frame_skip_exp)) { FFABS 1319 libavcodec/mpegvideo_enc.c case 1: score += FFABS(v); break; FFABS 1321 libavcodec/mpegvideo_enc.c case 3: score64 += FFABS(v * (int64_t)v * v); break; FFABS 2112 libavcodec/mpegvideo_enc.c const int level = FFABS(block[j]); FFABS 4087 libavcodec/mpegvideo_enc.c int dct_coeff= FFABS(block[ scantable[i] ]); FFABS 4097 libavcodec/mpegvideo_enc.c const int alevel= FFABS(level); FFABS 4211 libavcodec/mpegvideo_enc.c dc= FFABS(block[0]); FFABS 4224 libavcodec/mpegvideo_enc.c int alevel= FFABS(level); FFABS 4357 libavcodec/mpegvideo_enc.c w= FFABS(weight[i]) + qns*one; FFABS 4460 libavcodec/mpegvideo_enc.c if(s->quantizer_noise_shaping < 2 && FFABS(new_level) > FFABS(level)) FFABS 4480 libavcodec/mpegvideo_enc.c av_assert2(FFABS(new_level)==1); FFABS 4513 libavcodec/mpegvideo_enc.c av_assert2(FFABS(level)==1); FFABS 136 libavcodec/msrledec.c unsigned int width= FFABS(pic->linesize[0]) / (depth >> 3); FFABS 139 libavcodec/msrledec.c output_end = output + FFABS(pic->linesize[0]); FFABS 157 libavcodec/msrledec.c output_end = output + FFABS(pic->linesize[0]); FFABS 172 libavcodec/msrledec.c output_end = pic->data[0] + line * pic->linesize[0] + FFABS(pic->linesize[0]); FFABS 520 libavcodec/mss3.c if (FFABS(t - tl) <= FFABS(l - tl)) FFABS 244 libavcodec/mss4.c if (FFABS(t - tl) <= FFABS(l - tl)) FFABS 110 libavcodec/nellymoser.c l = 30 - av_log2(FFABS(*la)); FFABS 154 libavcodec/nellymoser.c for(shift=0; FFABS(off) <= 16383; shift++) FFABS 260 libavcodec/opus_pvq.c const uint32_t i_s = CELT_PVQ_U(N - i, sum + FFABS(y[i]) + 1); FFABS 262 libavcodec/opus_pvq.c sum += FFABS(y[i]); FFABS 372 libavcodec/opus_pvq.c res += FFABS(X[i]); FFABS 380 libavcodec/opus_pvq.c K -= FFABS(y[i]); FFABS 394 libavcodec/opus_pvq.c const int y_new = y_norm + 2*phase*FFABS(y[i]); FFABS 395 libavcodec/opus_pvq.c float xy_new = xy_norm + 1*phase*FFABS(X[i]); FFABS 317 libavcodec/opus_rc.c int i = 1, val = FFABS(*value), pos = *value > 0; FFABS 167 libavcodec/opus_silk.c if (FFABS(row[k]) > 16773022) FFABS 253 libavcodec/opus_silk.c unsigned int x = FFABS(lpc32[k]); FFABS 409 libavcodec/opusenc.c const int sign = FFABS(err + offset) < FFABS(err - offset); FFABS 432 libavcodec/opusenc_psy.c mag[i] = c < 0 ? base >> FFABS(c) : base << FFABS(c); FFABS 444 libavcodec/opusenc_psy.c config[cway][i] = FFABS(iscore0 - 1.0f) < FFABS(iscore1 - 1.0f); FFABS 384 libavcodec/pafvideo.c count = FFABS(code) + 1; FFABS 343 libavcodec/pixlet.c c, (b >= FFABS(a)) ? b : a, d, FFABS 413 libavcodec/proresenc_anatoliy.c put_bits(pb, dbits - 1, FFABS(diff) - 1); FFABS 450 libavcodec/proresenc_kostya.c abs_level = FFABS(level); FFABS 499 libavcodec/proresenc_kostya.c put_bits(pb, dbits - 1, FFABS(diff) - 1); FFABS 674 libavcodec/proresenc_kostya.c *error += FFABS(blocks[0] - 0x4000) % scale; FFABS 678 libavcodec/proresenc_kostya.c *error += FFABS(blocks[0] - 0x4000) % scale; FFABS 710 libavcodec/proresenc_kostya.c *error += FFABS(blocks[idx]) % qmat[scan[i]]; FFABS 712 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 625 libavcodec/rasc.c dist = FFABS(cr - pr) + FFABS(cg - pg) + FFABS(cb - pb); FFABS 90 libavcodec/ratecontrol.c q = last_p_q * FFABS(a->i_quant_factor) + a->i_quant_offset; FFABS 128 libavcodec/ratecontrol.c qmin = (int)(qmin * FFABS(s->avctx->b_quant_factor) + s->avctx->b_quant_offset + 0.5); FFABS 129 libavcodec/ratecontrol.c qmax = (int)(qmax * FFABS(s->avctx->b_quant_factor) + s->avctx->b_quant_offset + 0.5); FFABS 132 libavcodec/ratecontrol.c qmin = (int)(qmin * FFABS(s->avctx->i_quant_factor) + s->avctx->i_quant_offset + 0.5); FFABS 133 libavcodec/ratecontrol.c qmax = (int)(qmax * FFABS(s->avctx->i_quant_factor) + s->avctx->i_quant_offset + 0.5); FFABS 96 libavcodec/roqaudioenc.c diff = FFABS(diff); FFABS 454 libavcodec/rv40dsp.c u = (alpha * FFABS(t)) >> 7; FFABS 466 libavcodec/rv40dsp.c if (filter_p1 && FFABS(diff_p1p2) <= beta) { FFABS 471 libavcodec/rv40dsp.c if (filter_q1 && FFABS(diff_q1q2) <= beta) { FFABS 515 libavcodec/rv40dsp.c sflag = (alpha * FFABS(t)) >> 7; FFABS 586 libavcodec/rv40dsp.c *p1 = FFABS(sum_p1p0) < (beta << 2); FFABS 587 libavcodec/rv40dsp.c *q1 = FFABS(sum_q1q0) < (beta << 2); FFABS 600 libavcodec/rv40dsp.c strong0 = *p1 && (FFABS(sum_p1p2) < beta2); FFABS 601 libavcodec/rv40dsp.c strong1 = *q1 && (FFABS(sum_q1q2) < beta2); FFABS 402 libavcodec/sanm.c int npoints = FFMAX(FFABS(x1 - x0), FFABS(y1 - y0)); FFABS 279 libavcodec/sbcdsp.c int32_t tmp = FFABS(sb_sample_f[blk][ch][sb]); FFABS 301 libavcodec/sbcdsp.c tmp0 = FFABS(sb_sample_f[blk][0][sb]); FFABS 302 libavcodec/sbcdsp.c tmp1 = FFABS(sb_sample_f[blk][1][sb]); FFABS 321 libavcodec/sbcdsp.c tmp0 = FFABS(tmp0); FFABS 322 libavcodec/sbcdsp.c tmp1 = FFABS(tmp1); FFABS 335 libavcodec/sbcdsp.c tmp0 = FFABS(sb_sample_j[blk][0]); FFABS 336 libavcodec/sbcdsp.c tmp1 = FFABS(sb_sample_j[blk][1]); FFABS 131 libavcodec/sbrdsp_fixed.c while (FFABS(i) < 0x40000000) { FFABS 513 libavcodec/snow.h const int a= FFABS(v); FFABS 805 libavcodec/snow_dwt.c s += FFABS(v); FFABS 182 libavcodec/snowdec.c int mx_context= av_log2(2*FFABS(left->mx - top->mx)) + 0*av_log2(2*FFABS(tr->mx - top->mx)); FFABS 183 libavcodec/snowdec.c int my_context= av_log2(2*FFABS(left->my - top->my)) + 0*av_log2(2*FFABS(tr->my - top->my)); FFABS 413 libavcodec/snowdec.c if (FFABS(s->qbias) > 127) { FFABS 268 libavcodec/snowenc.c int mx_context= av_log2(2*FFABS(left->mx - top->mx)); FFABS 269 libavcodec/snowenc.c int my_context= av_log2(2*FFABS(left->my - top->my)); FFABS 472 libavcodec/snowenc.c int mx_context= av_log2(2*FFABS(left->mx - top->mx)) + 16*!!b->ref; FFABS 473 libavcodec/snowenc.c int my_context= av_log2(2*FFABS(left->my - top->my)) + 16*!!b->ref; FFABS 596 libavcodec/snowenc.c return 3+2*( av_log2(2*FFABS(left->color[0] - b->color[0])) FFABS 597 libavcodec/snowenc.c + av_log2(2*FFABS(left->color[1] - b->color[1])) FFABS 598 libavcodec/snowenc.c + av_log2(2*FFABS(left->color[2] - b->color[2]))); FFABS 603 libavcodec/snowenc.c return 2*(1 + av_log2(2*FFABS(dmx)) //FIXME kill the 2* can be merged in lambda FFABS 604 libavcodec/snowenc.c + av_log2(2*FFABS(dmy)) FFABS 870 libavcodec/snowenc.c int context= av_log2(/*FFABS(ll) + */3*FFABS(l) + FFABS(lt) + 2*FFABS(t) + FFABS(rt) + FFABS(p)); FFABS 886 libavcodec/snowenc.c int context= av_log2(/*FFABS(ll) + */3*FFABS(l) + FFABS(lt) + 2*FFABS(t) + FFABS(rt) + FFABS(p)); FFABS 887 libavcodec/snowenc.c int l2= 2*FFABS(l) + (l<0); FFABS 888 libavcodec/snowenc.c int t2= 2*FFABS(t) + (t<0); FFABS 890 libavcodec/snowenc.c put_symbol2(&s->c, b->state[context + 2], FFABS(v)-1, context-4); FFABS 1445 libavcodec/snowenc.c put_symbol(&s->c, s->header_state, FFABS(p->hcoeff[i]), 0); FFABS 105 libavcodec/sonic.c const int a= FFABS(v); FFABS 236 libavcodec/tests/dct.c sysErrMax = FFMAX(sysErrMax, FFABS(sysErr[i])); FFABS 237 libavcodec/tests/dct.c err2_max = FFMAX(err2_max , FFABS(err2_matrix[i])); FFABS 50 libavcodec/tests/jpeg2000dwt.c if (FFABS(array[j] - ref[j]) > max_diff) { FFABS 89 libavcodec/tests/jpeg2000dwt.c if (FFABS(array[j] - ref[j]) > max_diff) { FFABS 69 libavcodec/tests/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 97 libavcodec/tests/snowenc.c if(FFABS(width/2-x)<9 && FFABS(height/2-y)<9 && level==2) printf("%8"PRId64" ", d); FFABS 99 libavcodec/tests/snowenc.c if(FFABS(height/2-y)<9 && level==2) printf("\n"); FFABS 139 libavcodec/tests/snowenc.c if(FFABS(width/2-x)<9 && FFABS(height/2-y)<9) printf("%8"PRId64" ", d); FFABS 141 libavcodec/tests/snowenc.c if(FFABS(height/2-y)<9) printf("\n"); FFABS 53 libavcodec/tiertexseqv.c sz += FFABS(code_table[i]); FFABS 717 libavcodec/tiff.c av_assert0 (elements * pixel_size_bytes <= FFABS(stride)); FFABS 215 libavcodec/vb.c if (FFABS(j) > avctx->height) { FFABS 415 libavcodec/vc1_block.c q1 = FFABS(s->current_picture.qscale_table[mb_pos]); FFABS 431 libavcodec/vc1_block.c q2 = FFABS(s->current_picture.qscale_table[mb_pos - 1]); FFABS 436 libavcodec/vc1_block.c q2 = FFABS(s->current_picture.qscale_table[mb_pos - s->mb_stride]); FFABS 446 libavcodec/vc1_block.c q2 = FFABS(s->current_picture.qscale_table[off]); FFABS 735 libavcodec/vc1_block.c int quant = FFABS(mquant); FFABS 842 libavcodec/vc1_block.c q1 = FFABS(q1) * 2 + ((q1 < 0) ? 0 : v->halfpq) - 1; FFABS 846 libavcodec/vc1_block.c q2 = FFABS(q2) * 2 + ((q2 < 0) ? 0 : v->halfpq) - 1; FFABS 885 libavcodec/vc1_block.c q1 = FFABS(q1) * 2 + ((q1 < 0) ? 0 : v->halfpq) - 1; FFABS 889 libavcodec/vc1_block.c q2 = FFABS(q2) * 2 + ((q2 < 0) ? 0 : v->halfpq) - 1; FFABS 930 libavcodec/vc1_block.c int quant = FFABS(mquant); FFABS 1031 libavcodec/vc1_block.c q1 = FFABS(q1) * 2 + ((q1 < 0) ? 0 : v->halfpq) - 1; FFABS 1035 libavcodec/vc1_block.c q2 = FFABS(q2) * 2 + ((q2 < 0) ? 0 : v->halfpq) - 1; FFABS 1076 libavcodec/vc1_block.c q1 = FFABS(q1) * 2 + ((q1 < 0) ? 0 : v->halfpq) - 1; FFABS 1080 libavcodec/vc1_block.c q2 = FFABS(q2) * 2 + ((q2 < 0) ? 0 : v->halfpq) - 1; FFABS 1089 libavcodec/vc1_block.c q1 = FFABS(q1) * 2 + ((q1 < 0) ? 0 : v->halfpq) - 1; FFABS 1093 libavcodec/vc1_block.c q2 = FFABS(q2) * 2 + ((q2 < 0) ? 0 : v->halfpq) - 1; FFABS 1138 libavcodec/vc1_block.c int quant = FFABS(mquant); FFABS 1607 libavcodec/vc1_block.c s->y_dc_scale = s->y_dc_scale_table[FFABS(mquant)]; FFABS 1608 libavcodec/vc1_block.c s->c_dc_scale = s->c_dc_scale_table[FFABS(mquant)]; FFABS 1771 libavcodec/vc1_block.c s->y_dc_scale = s->y_dc_scale_table[FFABS(mquant)]; FFABS 1772 libavcodec/vc1_block.c s->c_dc_scale = s->c_dc_scale_table[FFABS(mquant)]; FFABS 2054 libavcodec/vc1_block.c s->y_dc_scale = s->y_dc_scale_table[FFABS(mquant)]; FFABS 2055 libavcodec/vc1_block.c s->c_dc_scale = s->c_dc_scale_table[FFABS(mquant)]; FFABS 2252 libavcodec/vc1_block.c s->y_dc_scale = s->y_dc_scale_table[FFABS(mquant)]; FFABS 2253 libavcodec/vc1_block.c s->c_dc_scale = s->c_dc_scale_table[FFABS(mquant)]; FFABS 2749 libavcodec/vc1_block.c s->y_dc_scale = s->y_dc_scale_table[FFABS(mquant)]; FFABS 2750 libavcodec/vc1_block.c s->c_dc_scale = s->c_dc_scale_table[FFABS(mquant)]; 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 420 libavcodec/vc1_pred.c sum = FFABS(px) + FFABS(py); FFABS 422 libavcodec/vc1_pred.c sum = FFABS(px - field_predA[0]) + FFABS(py - field_predA[1]); FFABS 433 libavcodec/vc1_pred.c sum = FFABS(px) + FFABS(py); FFABS 435 libavcodec/vc1_pred.c sum = FFABS(px - field_predC[0]) + FFABS(py - field_predC[1]); FFABS 783 libavcodec/vc1_pred.c sum = FFABS(px) + FFABS(py); FFABS 785 libavcodec/vc1_pred.c sum = FFABS(px - A[0]) + FFABS(py - A[1]); FFABS 796 libavcodec/vc1_pred.c sum = FFABS(px) + FFABS(py); FFABS 798 libavcodec/vc1_pred.c sum = FFABS(px - C[0]) + FFABS(py - C[1]); FFABS 853 libavcodec/vc1_pred.c sum = FFABS(px) + FFABS(py); FFABS 855 libavcodec/vc1_pred.c sum = FFABS(px - A[0]) + FFABS(py - A[1]); FFABS 866 libavcodec/vc1_pred.c sum = FFABS(px) + FFABS(py); FFABS 868 libavcodec/vc1_pred.c sum = FFABS(px - C[0]) + FFABS(py - C[1]); FFABS 155 libavcodec/vc1dsp.c int a1 = FFABS((2 * (src[-4 * stride] - src[-1 * stride]) - FFABS 157 libavcodec/vc1dsp.c int a2 = FFABS((2 * (src[ 0 * stride] - src[ 3 * stride]) - FFABS 544 libavcodec/vc2enc.c uint32_t c_abs = QUANT(FFABS(coeff[x]), q_m, q_a, q_s); FFABS 592 libavcodec/vc2enc.c uint32_t c_abs = QUANT(FFABS(buf[x]), q_m, q_a, q_s); FFABS 35 libavcodec/videodsp_template.c av_assert2(block_w * sizeof(pixel) <= FFABS(buf_linesize)); FFABS 173 libavcodec/vorbis.c int ady = FFABS(dy); FFABS 183 libavcodec/vorbis.c ady -= FFABS(base) * adx; FFABS 1284 libavcodec/vorbisdec.c ady = FFABS(dy); FFABS 895 libavcodec/vp3.c int v = get_vlc2(gb, s->vp4_mv_vlc[axis][vp4_mv_table_selector[FFABS(last_motion)]].table, 6, 2) - 31; FFABS 1761 libavcodec/vp3.c if (FFABS(predicted_dc - vu) > 128) FFABS 1763 libavcodec/vp3.c else if (FFABS(predicted_dc - vl) > 128) FFABS 1765 libavcodec/vp3.c else if (FFABS(predicted_dc - vul) > 128) FFABS 1947 libavcodec/vp3.c ref_row = FFMAX(FFABS(ref_row), ref_row + 8 + border); FFABS 2726 libavcodec/vp3.c s->edge_emu_buffer = av_malloc(9 * FFABS(s->current_frame.f->linesize[0])); FFABS 602 libavcodec/vp6.c (FFABS(mv.x) > s->max_vector_length || FFABS 603 libavcodec/vp6.c FFABS(mv.y) > s->max_vector_length)) { FFABS 313 libavcodec/vp8dsp.c return FFABS(p0 - q0) <= flim; FFABS 320 libavcodec/vp8dsp.c return 2 * FFABS(p0 - q0) + (FFABS(p1 - q1) >> 1) <= flim; FFABS 334 libavcodec/vp8dsp.c FFABS(p3 - p2) <= I && FFABS(p2 - p1) <= I && \ FFABS 335 libavcodec/vp8dsp.c FFABS(p1 - p0) <= I && FFABS(q3 - q2) <= I && \ FFABS 336 libavcodec/vp8dsp.c FFABS(q2 - q1) <= I && FFABS(q1 - q0) <= I; \ FFABS 346 libavcodec/vp8dsp.c return FFABS(p1 - p0) > thresh || FFABS(q1 - q0) > thresh; FFABS 1764 libavcodec/vp9dsp_template.c int fm = FFABS(p3 - p2) <= I && FFABS(p2 - p1) <= I && FFABS 1765 libavcodec/vp9dsp_template.c FFABS(p1 - p0) <= I && FFABS(q1 - q0) <= I && FFABS 1766 libavcodec/vp9dsp_template.c FFABS(q2 - q1) <= I && FFABS(q3 - q2) <= I && FFABS 1767 libavcodec/vp9dsp_template.c FFABS(p0 - q0) * 2 + (FFABS(p1 - q1) >> 1) <= E; FFABS 1783 libavcodec/vp9dsp_template.c flat8out = FFABS(p7 - p0) <= F && FFABS(p6 - p0) <= F && FFABS 1784 libavcodec/vp9dsp_template.c FFABS(p5 - p0) <= F && FFABS(p4 - p0) <= F && FFABS 1785 libavcodec/vp9dsp_template.c FFABS(q4 - q0) <= F && FFABS(q5 - q0) <= F && FFABS 1786 libavcodec/vp9dsp_template.c FFABS(q6 - q0) <= F && FFABS(q7 - q0) <= F; FFABS 1790 libavcodec/vp9dsp_template.c flat8in = FFABS(p3 - p0) <= F && FFABS(p2 - p0) <= F && FFABS 1791 libavcodec/vp9dsp_template.c FFABS(p1 - p0) <= F && FFABS(q1 - q0) <= F && FFABS 1792 libavcodec/vp9dsp_template.c FFABS(q2 - q0) <= F && FFABS(q3 - q0) <= F; FFABS 1831 libavcodec/vp9dsp_template.c int hev = FFABS(p1 - p0) > H || FFABS(q1 - q0) > H; FFABS 867 libavcodec/wavpack.c if (FFABS((int64_t)L) + FFABS((int64_t)R) > (1<<19)) { FFABS 887 libavcodec/webp.c int diff = (FFABS(p_l[0] - p_tl[0]) - FFABS(p_t[0] - p_tl[0])) + FFABS 888 libavcodec/webp.c (FFABS(p_l[1] - p_tl[1]) - FFABS(p_t[1] - p_tl[1])) + FFABS 889 libavcodec/webp.c (FFABS(p_l[2] - p_tl[2]) - FFABS(p_t[2] - p_tl[2])) + FFABS 890 libavcodec/webp.c (FFABS(p_l[3] - p_tl[3]) - FFABS(p_t[3] - p_tl[3])); FFABS 318 libavcodec/wmaenc.c int abs_level = FFABS(level); FFABS 315 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 165 libavcodec/x86/videodsp_init.c av_assert2(block_w <= FFABS(dst_stride)); FFABS 269 libavcodec/xan.c if (prev_palette_plane == palette_plane && FFABS(motion_x + width*motion_y) < pixel_count) { FFABS 261 libavfilter/af_afir.c int dx = FFABS(x1-x0); FFABS 262 libavfilter/af_afir.c int dy = FFABS(y1-y0), sy = y0 < y1 ? 1 : -1; FFABS 508 libavfilter/af_afir.c power += FFABS(time[i]); FFABS 790 libavfilter/af_aiir.c int dx = FFABS(x1-x0); FFABS 791 libavfilter/af_aiir.c int dy = FFABS(y1-y0), sy = y0 < y1 ? 1 : -1; FFABS 217 libavfilter/af_amix.c weight_sum += FFABS(s->weights[i]); FFABS 221 libavfilter/af_amix.c if (s->scale_norm[i] > weight_sum / FFABS(s->weights[i])) { FFABS 222 libavfilter/af_amix.c s->scale_norm[i] -= ((s->weight_sum / FFABS(s->weights[i])) / s->nb_inputs) * FFABS 224 libavfilter/af_amix.c s->scale_norm[i] = FFMAX(s->scale_norm[i], weight_sum / FFABS(s->weights[i])); FFABS 275 libavfilter/af_amix.c s->scale_norm[i] = s->weight_sum / FFABS(s->weights[i]); FFABS 520 libavfilter/af_amix.c s->weight_sum += FFABS(last_weight); FFABS 531 libavfilter/af_amix.c s->weight_sum += FFABS(last_weight); FFABS 629 libavfilter/af_amix.c s->scale_norm[i] = s->weight_sum / FFABS(s->weights[i]); FFABS 844 libavfilter/af_arnndn.c if (FFABS(T1-prev_period)<=1) FFABS 846 libavfilter/af_arnndn.c else if (FFABS(T1-prev_period)<=2 && 5 * k * k < T0) FFABS 964 libavfilter/af_arnndn.c if (FFABS(i-2*best_pitch[0])>2 && FFABS(i-2*best_pitch[1])>2) FFABS 121 libavfilter/af_asoftclip.c if (FFABS(src[n]) >= 1.5f) FFABS 137 libavfilter/af_asoftclip.c if (FFABS(src[n]) >= 1.25) FFABS 145 libavfilter/af_asoftclip.c if (FFABS(src[n]) >= M_PI_2) FFABS 178 libavfilter/af_asoftclip.c if (FFABS(src[n]) >= 1.5) FFABS 194 libavfilter/af_asoftclip.c if (FFABS(src[n]) >= 1.25) FFABS 202 libavfilter/af_asoftclip.c if (FFABS(src[n]) >= M_PI_2) FFABS 296 libavfilter/af_astats.c if (d != 0 && FFABS(d) < p->min_non_zero) FFABS 297 libavfilter/af_astats.c p->min_non_zero = FFABS(d); FFABS 332 libavfilter/af_astats.c index = av_clip(FFABS(nd) * HISTOGRAM_MAX, 0, HISTOGRAM_MAX); FFABS 336 libavfilter/af_astats.c p->histogram[av_clip(FFABS(drop) * HISTOGRAM_MAX, 0, HISTOGRAM_MAX)]--; FFABS 498 libavfilter/af_astats.c set_meta(metadata, c + 1, "Dynamic_range", "%f", LINEAR_TO_DB(2 * FFMAX(FFABS(p->min), FFABS(p->max))/ p->min_non_zero)); FFABS 747 libavfilter/af_astats.c av_log(ctx, AV_LOG_INFO, "Dynamic range: %f\n", LINEAR_TO_DB(2 * FFMAX(FFABS(p->min), FFABS(p->max))/ p->min_non_zero)); FFABS 123 libavfilter/af_drmeter.c p->peak = FFMAX(FFABS(sample), p->peak); FFABS 139 libavfilter/avf_avectorscope.c int dx = FFABS(x1-x0), sx = x0 < x1 ? 1 : -1; FFABS 140 libavfilter/avf_avectorscope.c int dy = FFABS(y1-y0), sy = y0 < y1 ? 1 : -1; FFABS 273 libavfilter/avf_avectorscope.c max = FFMAX(FFABS(sample), max); FFABS 282 libavfilter/avf_avectorscope.c max = FFMAX(FFABS(samples[i]), max); FFABS 313 libavfilter/avf_avectorscope.c src[0] = FFSIGN(src[0]) * sqrtf(FFABS(src[0])); FFABS 314 libavfilter/avf_avectorscope.c src[1] = FFSIGN(src[1]) * sqrtf(FFABS(src[1])); FFABS 317 libavfilter/avf_avectorscope.c src[0] = FFSIGN(src[0]) * cbrtf(FFABS(src[0])); FFABS 318 libavfilter/avf_avectorscope.c src[1] = FFSIGN(src[1]) * cbrtf(FFABS(src[1])); FFABS 321 libavfilter/avf_avectorscope.c src[0] = FFSIGN(src[0]) * logf(1 + FFABS(src[0])) / logf(2); FFABS 322 libavfilter/avf_avectorscope.c src[1] = FFSIGN(src[1]) * logf(1 + FFABS(src[1])) / logf(2); FFABS 1530 libavfilter/avf_showcqt.c if (FFABS(pts - out->pts) > PTS_TOLERANCE) { FFABS 152 libavfilter/avf_showvolume.c *peak = FFMAX(*peak, FFABS(src[i])); FFABS 183 libavfilter/avf_showwaves.c return av_rescale(FFABS(sample), height, INT16_MAX); FFABS 188 libavfilter/avf_showwaves.c return height/2 - FFSIGN(sample) * (log10(1 + FFABS(sample)) * (height/2) / log10(1 + INT16_MAX)); FFABS 193 libavfilter/avf_showwaves.c return log10(1 + FFABS(sample)) * height / log10(1 + INT16_MAX); FFABS 198 libavfilter/avf_showwaves.c return height/2 - FFSIGN(sample) * (sqrt(FFABS(sample)) * (height/2) / sqrt(INT16_MAX)); FFABS 203 libavfilter/avf_showwaves.c return sqrt(FFABS(sample)) * height / sqrt(INT16_MAX); FFABS 208 libavfilter/avf_showwaves.c return height/2 - FFSIGN(sample) * (cbrt(FFABS(sample)) * (height/2) / cbrt(INT16_MAX)); FFABS 213 libavfilter/avf_showwaves.c return cbrt(FFABS(sample)) * height / cbrt(INT16_MAX); FFABS 981 libavfilter/avfiltergraph.c score -= 10000 + FFABS(out_channels - in_channels) + FFABS 81 libavfilter/dnn/dnn_backend_native_layer_mathunary.c dst[i] = FFABS(src[i]); FFABS 356 libavfilter/f_ebur128.c "%c%d", i < 0 ? '-' : i > 0 ? '+' : ' ', FFABS(i)); FFABS 49 libavfilter/f_realtime.c if (FFABS(sleep) > s->limit / s->speed) { FFABS 72 libavfilter/motion_estimation.c sad += FFABS(data_ref[x_mv + i + j * linesize] - data_cur[x_mb + i + j * linesize]); FFABS 193 libavfilter/motion_estimation.c if (FFABS(x - mv[0]) <= 1 && FFABS(y - mv[1]) <= 1) { FFABS 38 libavfilter/scene_sad.c sad += FFABS(src1w[x] - src2w[x]); FFABS 52 libavfilter/scene_sad.c sad += FFABS(src1[x] - src2[x]); FFABS 51 libavfilter/signature_lookup.c dist += FFABS((tmp_j % 3) - (tmp_i % 3)); FFABS 149 libavfilter/vf_amplify.c amp = -FFMIN(FFABS(diff * factor), llimit); FFABS 151 libavfilter/vf_amplify.c amp = FFMIN(FFABS(diff * factor), hlimit); FFABS 192 libavfilter/vf_amplify.c amp = -FFMIN(FFABS(diff * factor), llimit); FFABS 194 libavfilter/vf_amplify.c amp = FFMIN(FFABS(diff * factor), hlimit); FFABS 162 libavfilter/vf_atadenoise.c ldiff = FFABS(srcx - srcjx); \ FFABS 172 libavfilter/vf_atadenoise.c rdiff = FFABS(srcx - srcix); \ FFABS 209 libavfilter/vf_atadenoise.c ldiff = FFABS(srcx - srcjx); \ FFABS 221 libavfilter/vf_atadenoise.c rdiff = FFABS(srcx - srcix); \ FFABS 302 libavfilter/vf_blend.c DEFINE_BLEND8(negation, 255 - FFABS(255 - A - B)) FFABS 303 libavfilter/vf_blend.c DEFINE_BLEND8(extremity, FFABS(255 - A - B)) FFABS 304 libavfilter/vf_blend.c DEFINE_BLEND8(difference, FFABS(A - B)) FFABS 345 libavfilter/vf_blend.c DEFINE_BLEND16(negation, 65535 - FFABS(65535 - A - B), 16) FFABS 346 libavfilter/vf_blend.c DEFINE_BLEND16(extremity, FFABS(65535 - A - B), 16) FFABS 347 libavfilter/vf_blend.c DEFINE_BLEND16(difference, FFABS(A - B), 16) FFABS 388 libavfilter/vf_blend.c DEFINE_BLEND16(negation, 1023 - FFABS(1023 - A - B), 10) FFABS 389 libavfilter/vf_blend.c DEFINE_BLEND16(extremity, FFABS(1023 - A - B), 10) FFABS 390 libavfilter/vf_blend.c DEFINE_BLEND16(difference, FFABS(A - B), 10) FFABS 431 libavfilter/vf_blend.c DEFINE_BLEND16(negation, 4095 - FFABS(4095 - A - B), 12) FFABS 432 libavfilter/vf_blend.c DEFINE_BLEND16(extremity, FFABS(4095 - A - B), 12) FFABS 433 libavfilter/vf_blend.c DEFINE_BLEND16(difference, FFABS(A - B), 12) FFABS 474 libavfilter/vf_blend.c DEFINE_BLEND16(negation, 511 - FFABS(511 - A - B), 9) FFABS 475 libavfilter/vf_blend.c DEFINE_BLEND16(extremity, FFABS(511 - A - B), 9) FFABS 476 libavfilter/vf_blend.c DEFINE_BLEND16(difference, FFABS(A - B), 9) FFABS 517 libavfilter/vf_blend.c DEFINE_BLEND32(negation, 1.0 - FFABS(1.0 - A - B), 32) FFABS 518 libavfilter/vf_blend.c DEFINE_BLEND32(extremity, FFABS(1.0 - A - B), 32) FFABS 519 libavfilter/vf_blend.c DEFINE_BLEND32(difference, FFABS(A - B), 32) FFABS 74 libavfilter/vf_bwdif.c int temporal_diff0 = FFABS(prev2[0] - next2[0]); \ FFABS 75 libavfilter/vf_bwdif.c int temporal_diff1 =(FFABS(prev[mrefs] - c) + FFABS(prev[prefs] - e)) >> 1; \ FFABS 76 libavfilter/vf_bwdif.c int temporal_diff2 =(FFABS(next[mrefs] - c) + FFABS(next[prefs] - e)) >> 1; \ FFABS 94 libavfilter/vf_bwdif.c if (FFABS(c - e) > temporal_diff0) { \ FFABS 1005 libavfilter/vf_ciescope.c int dx = FFABS(x1 - x0), sx = x0 < x1 ? 1 : -1; FFABS 1006 libavfilter/vf_ciescope.c int dy = FFABS(y1 - y0), sy = y0 < y1 ? 1 : -1; FFABS 1036 libavfilter/vf_ciescope.c int dx = FFABS(x1 - x0), sx = x0 < x1 ? 1 : -1; FFABS 1037 libavfilter/vf_ciescope.c int dy = FFABS(y1 - y0), sy = y0 < y1 ? 1 : -1; FFABS 136 libavfilter/vf_codecview.c if (FFABS(ex - sx) > FFABS(ey - sy)) { FFABS 150 libavfilter/vf_colorbalance.c s = (max - min) / (1. - FFABS(2. * l - 1)); FFABS 415 libavfilter/vf_convolution.c int xoff = FFABS(x + ((i % 3) - 1)); FFABS 416 libavfilter/vf_convolution.c int yoff = FFABS(y + (i / 3) - 1); FFABS 431 libavfilter/vf_convolution.c int xoff = FFABS(x + ((i % 5) - 2)); FFABS 432 libavfilter/vf_convolution.c int yoff = FFABS(y + (i / 5) - 2); FFABS 447 libavfilter/vf_convolution.c int xoff = FFABS(x + ((i % 7) - 3)); FFABS 448 libavfilter/vf_convolution.c int yoff = FFABS(y + (i / 7) - 3); FFABS 463 libavfilter/vf_convolution.c int xoff = FFABS(x + i - radius); FFABS 477 libavfilter/vf_convolution.c int xoff = FFABS(x + i - radius); FFABS 784 libavfilter/vf_datascope.c int dx = FFABS(x1 - x0), sx = x0 < x1 ? 1 : -1; FFABS 785 libavfilter/vf_datascope.c int dy = FFABS(y1 - y0), sy = y0 < y1 ? 1 : -1; FFABS 947 libavfilter/vf_datascope.c int dx = FFABS(x1 - x0), sx = x0 < x1 ? 1 : -1; FFABS 948 libavfilter/vf_datascope.c int dy = FFABS(y1 - y0), sy = y0 < y1 ? 1 : -1; FFABS 167 libavfilter/vf_deband.c const int diff = FFABS(src0 - avg); FFABS 171 libavfilter/vf_deband.c dst_ptr[y * dst_linesize + x] = (FFABS(src0 - ref0) < thr) && FFABS 172 libavfilter/vf_deband.c (FFABS(src0 - ref1) < thr) && FFABS 173 libavfilter/vf_deband.c (FFABS(src0 - ref2) < thr) && FFABS 174 libavfilter/vf_deband.c (FFABS(src0 - ref3) < thr) ? get_avg(ref0, ref1, ref2, ref3) : src0; FFABS 217 libavfilter/vf_deband.c cmp[p] = FFABS(src0 - avg[p]) < thr; FFABS 219 libavfilter/vf_deband.c cmp[p] = (FFABS(src0 - ref0) < thr) && FFABS 220 libavfilter/vf_deband.c (FFABS(src0 - ref1) < thr) && FFABS 221 libavfilter/vf_deband.c (FFABS(src0 - ref2) < thr) && FFABS 222 libavfilter/vf_deband.c (FFABS(src0 - ref3) < thr); FFABS 282 libavfilter/vf_deband.c cmp[p] = FFABS(src0 - avg[p]) < thr; FFABS 284 libavfilter/vf_deband.c cmp[p] = (FFABS(src0 - ref0) < thr) && FFABS 285 libavfilter/vf_deband.c (FFABS(src0 - ref1) < thr) && FFABS 286 libavfilter/vf_deband.c (FFABS(src0 - ref2) < thr) && FFABS 287 libavfilter/vf_deband.c (FFABS(src0 - ref3) < thr); FFABS 348 libavfilter/vf_deband.c const int diff = FFABS(src0 - avg); FFABS 352 libavfilter/vf_deband.c dst_ptr[y * dst_linesize + x] = (FFABS(src0 - ref0) < thr) && FFABS 353 libavfilter/vf_deband.c (FFABS(src0 - ref1) < thr) && FFABS 354 libavfilter/vf_deband.c (FFABS(src0 - ref2) < thr) && FFABS 355 libavfilter/vf_deband.c (FFABS(src0 - ref3) < thr) ? get_avg(ref0, ref1, ref2, ref3) : src0; FFABS 107 libavfilter/vf_deblock.c if (FFABS(delta) >= ath || \ FFABS 108 libavfilter/vf_deblock.c FFABS(dst[x - 1 * dst_linesize] - dst[x - 2 * dst_linesize]) >= bth || \ FFABS 109 libavfilter/vf_deblock.c FFABS(dst[x + 0 * dst_linesize] - dst[x + 1 * dst_linesize]) >= gth) \ FFABS 146 libavfilter/vf_deblock.c if (FFABS(delta) >= ath || \ FFABS 147 libavfilter/vf_deblock.c FFABS(dst[-1] - dst[-2]) >= bth || \ FFABS 148 libavfilter/vf_deblock.c FFABS(dst[0] - dst[1]) >= gth) \ FFABS 187 libavfilter/vf_deblock.c if (FFABS(delta) >= ath || \ FFABS 188 libavfilter/vf_deblock.c FFABS(dst[x - 1 * dst_linesize] - dst[x - 2 * dst_linesize]) >= bth || \ FFABS 189 libavfilter/vf_deblock.c FFABS(dst[x + 1 * dst_linesize] - dst[x + 2 * dst_linesize]) >= gth || \ FFABS 190 libavfilter/vf_deblock.c FFABS(dst[x + 0 * dst_linesize] - dst[x + 1 * dst_linesize]) >= dth) \ FFABS 233 libavfilter/vf_deblock.c if (FFABS(delta) >= ath || \ FFABS 234 libavfilter/vf_deblock.c FFABS(dst[-1] - dst[-2]) >= bth || \ FFABS 235 libavfilter/vf_deblock.c FFABS(dst[+1] - dst[+2]) >= gth || \ FFABS 236 libavfilter/vf_deblock.c FFABS(dst[+0] - dst[+1]) >= dth) \ FFABS 128 libavfilter/vf_dedot.c if (FFABS(above + bellow - 2 * cur) <= luma2d && \ FFABS 129 libavfilter/vf_dedot.c FFABS(left + right - 2 * cur) <= luma2d) \ FFABS 132 libavfilter/vf_dedot.c if (FFABS(cur - p0[x]) <= lumaT && \ FFABS 133 libavfilter/vf_dedot.c FFABS(cur - p4[x]) <= lumaT && \ FFABS 134 libavfilter/vf_dedot.c FFABS(p1[x] - p3[x]) <= lumaT) { \ FFABS 135 libavfilter/vf_dedot.c int diff1 = FFABS(cur - p1[x]); \ FFABS 136 libavfilter/vf_dedot.c int diff2 = FFABS(cur - p3[x]); \ FFABS 199 libavfilter/vf_dedot.c if (FFABS(cur - p0[x]) <= chromaT1 && \ FFABS 200 libavfilter/vf_dedot.c FFABS(cur - p4[x]) <= chromaT1 && \ FFABS 201 libavfilter/vf_dedot.c FFABS(p1[x] - p3[x]) <= chromaT1 && \ FFABS 202 libavfilter/vf_dedot.c FFABS(cur - p1[x]) > chromaT2 && \ FFABS 203 libavfilter/vf_dedot.c FFABS(cur - p3[x]) > chromaT2) { \ FFABS 204 libavfilter/vf_dedot.c int diff1 = FFABS(cur - p1[x]); \ FFABS 205 libavfilter/vf_dedot.c int diff2 = FFABS(cur - p3[x]); \ FFABS 1462 libavfilter/vf_drawtext.c (s->shadowx < 0 ? FFABS(s->shadowx) : 0)); FFABS 1464 libavfilter/vf_drawtext.c (s->shadowy < 0 ? FFABS(s->shadowy) : 0)); FFABS 250 libavfilter/vf_edgedetect.c dst[i] = FFABS(gx) + FFABS(gy); FFABS 154 libavfilter/vf_entropy.c float p = FFABS(s->histogram[y] - s->histogram[y - 1]) / total; FFABS 405 libavfilter/vf_fieldmatch.c tbuffer[x] = FFABS(prvp[x] - nxtp[x]); FFABS 94 libavfilter/vf_idet.c ret += FFABS(v); FFABS 107 libavfilter/vf_idet.c ret += FFABS(v); FFABS 96 libavfilter/vf_maskedminmax.c dst[x] = FFABS(src[x] - f2[x]) < FFABS(src[x] - f1[x]) ? f2[x] : f1[x]; FFABS 102 libavfilter/vf_maskedminmax.c dst[x] = FFABS(src[x] - f2[x]) > FFABS(src[x] - f1[x]) ? f2[x] : f1[x]; FFABS 113 libavfilter/vf_maskedminmax.c dst[x] = FFABS(src[x] - f2[x]) < FFABS(src[x] - f1[x]) ? f2[x] : f1[x]; FFABS 124 libavfilter/vf_maskedminmax.c dst[x] = FFABS(src[x] - f2[x]) > FFABS(src[x] - f1[x]) ? f2[x] : f1[x]; FFABS 88 libavfilter/vf_maskedthreshold.c dst[x] = FFABS(src[x] - ref[x]) <= threshold ? src[x] : ref[x]; FFABS 98 libavfilter/vf_maskedthreshold.c dst[x] = FFABS(src[x] - ref[x]) <= threshold ? src[x] : ref[x]; FFABS 219 libavfilter/vf_mcdeint.c FFABS(srcp[-srcs+DELTA(-1+(j))] - srcp[+srcs+DELTA(-1-(j))])+\ FFABS 220 libavfilter/vf_mcdeint.c FFABS(srcp[-srcs+DELTA(j) ] - srcp[+srcs+DELTA( -(j))])+\ FFABS 221 libavfilter/vf_mcdeint.c FFABS(srcp[-srcs+DELTA(1+(j)) ] - srcp[+srcs+DELTA( 1-(j))]) FFABS 224 libavfilter/vf_mcdeint.c FFABS(srcp[-srcs-1+(j)] - srcp[+srcs-1-(j)])+\ FFABS 225 libavfilter/vf_mcdeint.c FFABS(srcp[-srcs +(j)] - srcp[+srcs -(j)])+\ FFABS 226 libavfilter/vf_mcdeint.c FFABS(srcp[-srcs+1+(j)] - srcp[+srcs+1-(j)]) FFABS 254 libavfilter/vf_mcdeint.c temp -= (diff0 + diff1 - FFABS(FFABS(diff0) - FFABS(diff1)) / 2) / 2; FFABS 256 libavfilter/vf_mcdeint.c temp -= (diff0 + diff1 + FFABS(FFABS(diff0) - FFABS(diff1)) / 2) / 2; FFABS 279 libavfilter/vf_minterpolate.c sbad += FFABS(data_cur[x + mv_x + i + j * linesize] - data_next[x - mv_x + i + j * linesize]); FFABS 281 libavfilter/vf_minterpolate.c return sbad + (FFABS(mv_x1 - me_ctx->pred_x) + FFABS(mv_y1 - me_ctx->pred_y)) * COST_PRED_SCALE; FFABS 305 libavfilter/vf_minterpolate.c sbad += FFABS(data_cur[x + mv_x + i + (y + mv_y + j) * linesize] - data_next[x - mv_x + i + (y - mv_y + j) * linesize]); FFABS 307 libavfilter/vf_minterpolate.c return sbad + (FFABS(mv_x1 - me_ctx->pred_x) + FFABS(mv_y1 - me_ctx->pred_y)) * COST_PRED_SCALE; FFABS 331 libavfilter/vf_minterpolate.c sad += FFABS(data_ref[x_mv + i + (y_mv + j) * linesize] - data_cur[x + i + (y + j) * linesize]); FFABS 333 libavfilter/vf_minterpolate.c return sad + (FFABS(mv_x - me_ctx->pred_x) + FFABS(mv_y - me_ctx->pred_y)) * COST_PRED_SCALE; FFABS 679 libavfilter/vf_minterpolate.c if (FFABS(dx) > CLUSTER_THRESHOLD || FFABS(dy) > CLUSTER_THRESHOLD) { FFABS 265 libavfilter/vf_nnedi.c data[i] = data[i] / (1.0f + FFABS(data[i])); FFABS 398 libavfilter/vf_nnedi.c vals[i] = t / (1.0f + FFABS(t)); FFABS 568 libavfilter/vf_nnedi.c vsum += w[i] * (w[n + i] / (1.0f + FFABS(w[n + i]))); FFABS 1027 libavfilter/vf_nnedi.c mval = FFMAX(mval, FFABS((bdw[offt[j * 64 + k]] - mean[j]) / 127.5)); FFABS 1052 libavfilter/vf_nnedi.c mval = FFMAX(mval, FFABS((bdata[j * 48 + k] - mean[j]) / 127.5)); FFABS 1110 libavfilter/vf_nnedi.c mval = FFMAX(mval, FFABS(bdataT[j * asize + k] - mean[asize + 1 + j] - mean[k])); FFABS 1120 libavfilter/vf_nnedi.c mval = FFMAX(mval, FFABS(bdataT[j * asize + k] - mean[asize + 1 + j])); FFABS 78 libavfilter/vf_pixdesctest.c memset(data, 0, FFABS(out->linesize[i]) * h1); FFABS 233 libavfilter/vf_readeia608.c distance_from_black = FFABS(line[i].input - s->black); FFABS 234 libavfilter/vf_readeia608.c distance_from_white = FFABS(line[i].input - s->white); FFABS 122 libavfilter/vf_removegrain.c const int c1 = FFABS(c - av_clip(c, mi1, ma1)); FFABS 123 libavfilter/vf_removegrain.c const int c2 = FFABS(c - av_clip(c, mi2, ma2)); FFABS 124 libavfilter/vf_removegrain.c const int c3 = FFABS(c - av_clip(c, mi3, ma3)); FFABS 125 libavfilter/vf_removegrain.c const int c4 = FFABS(c - av_clip(c, mi4, ma4)); FFABS 155 libavfilter/vf_removegrain.c const int c1 = av_clip_uint16((FFABS(c - cli1) << 1) + d1); FFABS 156 libavfilter/vf_removegrain.c const int c2 = av_clip_uint16((FFABS(c - cli2) << 1) + d2); FFABS 157 libavfilter/vf_removegrain.c const int c3 = av_clip_uint16((FFABS(c - cli3) << 1) + d3); FFABS 158 libavfilter/vf_removegrain.c const int c4 = av_clip_uint16((FFABS(c - cli4) << 1) + d4); FFABS 187 libavfilter/vf_removegrain.c const int c1 = FFABS(c - cli1) + d1; FFABS 188 libavfilter/vf_removegrain.c const int c2 = FFABS(c - cli2) + d2; FFABS 189 libavfilter/vf_removegrain.c const int c3 = FFABS(c - cli3) + d3; FFABS 190 libavfilter/vf_removegrain.c const int c4 = FFABS(c - cli4) + d4; FFABS 219 libavfilter/vf_removegrain.c const int c1 = av_clip_uint16(FFABS(c - cli1) + (d1 << 1)); FFABS 220 libavfilter/vf_removegrain.c const int c2 = av_clip_uint16(FFABS(c - cli2) + (d2 << 1)); FFABS 221 libavfilter/vf_removegrain.c const int c3 = av_clip_uint16(FFABS(c - cli3) + (d3 << 1)); FFABS 222 libavfilter/vf_removegrain.c const int c4 = av_clip_uint16(FFABS(c - cli4) + (d4 << 1)); FFABS 261 libavfilter/vf_removegrain.c const int d1 = FFABS(c - a1); FFABS 262 libavfilter/vf_removegrain.c const int d2 = FFABS(c - a2); FFABS 263 libavfilter/vf_removegrain.c const int d3 = FFABS(c - a3); FFABS 264 libavfilter/vf_removegrain.c const int d4 = FFABS(c - a4); FFABS 265 libavfilter/vf_removegrain.c const int d5 = FFABS(c - a5); FFABS 266 libavfilter/vf_removegrain.c const int d6 = FFABS(c - a6); FFABS 267 libavfilter/vf_removegrain.c const int d7 = FFABS(c - a7); FFABS 268 libavfilter/vf_removegrain.c const int d8 = FFABS(c - a8); FFABS 294 libavfilter/vf_removegrain.c const int d1 = FFABS(a1 - a8); FFABS 295 libavfilter/vf_removegrain.c const int d2 = FFABS(a2 - a7); FFABS 296 libavfilter/vf_removegrain.c const int d3 = FFABS(a3 - a6); FFABS 312 libavfilter/vf_removegrain.c const int d1 = FFABS(a1 - a8); FFABS 313 libavfilter/vf_removegrain.c const int d2 = FFABS(a2 - a7); FFABS 314 libavfilter/vf_removegrain.c const int d3 = FFABS(a3 - a6); FFABS 341 libavfilter/vf_removegrain.c const int d1 = FFMAX(FFABS(c - a1), FFABS(c - a8)); FFABS 342 libavfilter/vf_removegrain.c const int d2 = FFMAX(FFABS(c - a2), FFABS(c - a7)); FFABS 343 libavfilter/vf_removegrain.c const int d3 = FFMAX(FFABS(c - a3), FFABS(c - a6)); FFABS 344 libavfilter/vf_removegrain.c const int d4 = FFMAX(FFABS(c - a4), FFABS(c - a5)); FFABS 286 libavfilter/vf_signature.c conflist[g++] = FFABS(sum * 8 / (precfactor * denom)); FFABS 290 libavfilter/vf_signature.c sortsignature[j] = FFABS(sum); FFABS 347 libavfilter/vf_vaguedenoiser.c if (FFABS(block[x]) <= threshold) FFABS 363 libavfilter/vf_vaguedenoiser.c const float temp = FFABS(block[x]); FFABS 384 libavfilter/vf_vaguedenoiser.c const float temp = FFABS(block[x]); FFABS 489 libavfilter/vf_vectorscope.c dpd[pos] = FFABS(mid - x) + FFABS(mid - y); FFABS 685 libavfilter/vf_vectorscope.c dpd[pos] = FFABS(128 - x) + FFABS(128 - y); FFABS 96 libavfilter/vf_vmafmotion.c int j_tap = FFABS(j - radius + k); FFABS 116 libavfilter/vf_vmafmotion.c int j_tap = FFABS(j - radius + k); FFABS 146 libavfilter/vf_vmafmotion.c int i_tap = FFABS(i - radius + k); \ FFABS 168 libavfilter/vf_vmafmotion.c int i_tap = FFABS(i - radius + k); \ FFABS 1004 libavfilter/vf_waveform.c const int c1 = FFMIN(FFABS(c1_data[x >> c1_shift_w] - mid) + FFABS(c2_data[x >> c2_shift_w] - mid), limit); FFABS 1039 libavfilter/vf_waveform.c const int c1 = FFMIN(FFABS(c1_data[x >> c1_shift_w] - mid) + FFABS(c2_data[x >> c2_shift_w] - mid), limit); FFABS 1141 libavfilter/vf_waveform.c const int c1 = FFABS(c1_data[x >> c1_shift_w] - 128) + FFABS(c2_data[x >> c2_shift_w] - 128); FFABS 1176 libavfilter/vf_waveform.c const int c1 = FFABS(c1_data[x >> c1_shift_w] - 128) + FFABS(c2_data[x >> c2_shift_w] - 128); FFABS 1563 libavfilter/vf_waveform.c const int sum = FFMIN(FFABS(c0_data[x >> c0_shift_w] - mid) + FFABS(c1_data[x >> c1_shift_w] - mid - 1), limit); FFABS 1585 libavfilter/vf_waveform.c const int sum = FFMIN(FFABS(c0_data[x >> c0_shift_w] - mid) + FFABS(c1_data[x >> c1_shift_w] - mid - 1), limit); FFABS 1667 libavfilter/vf_waveform.c const int sum = FFABS(c0_data[x >> c0_shift_w] - 128) + FFABS(c1_data[x >> c1_shift_w] - 127); FFABS 1689 libavfilter/vf_waveform.c const int sum = FFABS(c0_data[x >> c0_shift_w] - 128) + FFABS(c1_data[x >> c1_shift_w] - 127); FFABS 583 libavfilter/vf_xfade.c int dist = FFABS(x - width / 2) < zw && \ FFABS 584 libavfilter/vf_xfade.c FFABS(y - height / 2) < zh; \ FFABS 42 libavfilter/vf_yadif.c { int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\ FFABS 43 libavfilter/vf_yadif.c + FFABS(cur[mrefs +(j)] - cur[prefs -(j)])\ FFABS 44 libavfilter/vf_yadif.c + FFABS(cur[mrefs + 1 + (j)] - cur[prefs + 1 - (j)]);\ FFABS 57 libavfilter/vf_yadif.c int temporal_diff0 = FFABS(prev2[0] - next2[0]); \ FFABS 58 libavfilter/vf_yadif.c int temporal_diff1 =(FFABS(prev[mrefs] - c) + FFABS(prev[prefs] - e) )>>1; \ FFABS 59 libavfilter/vf_yadif.c int temporal_diff2 =(FFABS(next[mrefs] - c) + FFABS(next[prefs] - e) )>>1; \ FFABS 64 libavfilter/vf_yadif.c int spatial_score = FFABS(cur[mrefs - 1] - cur[prefs - 1]) + FFABS(c-e) \ FFABS 65 libavfilter/vf_yadif.c + FFABS(cur[mrefs + 1] - cur[prefs + 1]) - 1; \ FFABS 204 libavfilter/vsrc_mandelbrot.c dist= FFMAX(FFABS(x-(s->w>>1))*s->h, FFABS(y-(s->h>>1))*s->w); FFABS 239 libavfilter/vsrc_mandelbrot.c if(FFABS(ipolab - ipolcd) > 5) FFABS 241 libavfilter/vsrc_mandelbrot.c if(FFABS(ac-bc)+FFABS(cc-dc) > 20) FFABS 93 libavfilter/vsrc_sierpinski.c if (FFABS(pos_x % 3) == 1 && FFABS(pos_y % 3) == 1) FFABS 122 libavfilter/window_func.h if (FFABS(n - M) >= 0.3 * M) { FFABS 123 libavfilter/window_func.h lut[n] = 0.5 * (1 + cos((M_PI*(FFABS(n - M) - 0.3 * M))/((1 - 0.3) * M))); FFABS 427 libavformat/asfdec_f.c 20*FFABS(fsize - (int64_t)asf->hdr.file_size) < FFMIN(fsize, asf->hdr.file_size)) FFABS 842 libavformat/avidec.c st->codecpar->height = FFABS(st->codecpar->height); FFABS 53 libavformat/dtsdec.c diff += FFABS(((int16_t)AV_RL16(buf)) - (int16_t)AV_RL16(buf-4)); FFABS 1022 libavformat/flvdec.c if (FFABS(dts - flv->validate_index[flv->validate_next].dts) <= FFABS 1243 libavformat/flvdec.c } else if (FFABS(dts - pts) > 1000*60*15) { FFABS 583 libavformat/gxf.c if (FFABS(found - timestamp) > 4) FFABS 172 libavformat/hlsplaylist.c tz_min = (FFABS(wrongsecs - tt) + 30) / 60; FFABS 145 libavformat/jacosubdec.c a = FFABS(a); FFABS 7782 libavformat/mov.c ((FFABS(best_dts - dts) <= AV_TIME_BASE && current_sample->pos < sample->pos) || FFABS 7783 libavformat/mov.c (FFABS(best_dts - dts) > AV_TIME_BASE && dts < best_dts)))))) { FFABS 527 libavformat/mp3dec.c if ((target_pos - pos)*dir <= 0 && FFABS(MIN_VALID/2-j) < score) { FFABS 529 libavformat/mp3dec.c score = FFABS(MIN_VALID/2-j); FFABS 193 libavformat/mp3enc.c int error = FFABS(bit_rate - par->bit_rate); FFABS 432 libavformat/mp3enc.c val = FFABS(rg->track_gain / 10000) & ((1 << 9) - 1); FFABS 439 libavformat/mp3enc.c val = FFABS(rg->album_gain / 10000) & ((1 << 9) - 1); FFABS 1057 libavformat/nutdec.c FFABS(stc->last_pts - *pts) > stc->max_pts_distance) { FFABS 325 libavformat/nutenc.c 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 292 libavformat/rtpdec.c d = FFABS(d); FFABS 72 libavformat/swfenc.c val = FFABS(val); FFABS 54 libavformat/tests/seek.c snprintf(buffer, 60, "%c%"PRId64".%06"PRId64"", ts<0 ? '-' : ' ', FFABS(ts)/1000000, FFABS(ts)%1000000); FFABS 1074 libavformat/utils.c int64_t diff = FFABS(pts_buffer[i] - dts) FFABS 2878 libavformat/utils.c (st->duration < duration && FFABS(duration - st->info->last_duration) < 60LL*st->time_base.den / st->time_base.num)) FFABS 3028 libavutil/hwcontext_vulkan.c size_t p_size = FFABS(src->linesize[i]) * p_height; FFABS 3044 libavutil/hwcontext_vulkan.c tmp.linesize[i] = FFABS(src->linesize[i]); FFABS 3066 libavutil/hwcontext_vulkan.c FFMIN(tmp.linesize[i], FFABS(src->linesize[i])), FFABS 3212 libavutil/hwcontext_vulkan.c size_t p_size = FFABS(dst->linesize[i]) * p_height; FFABS 3228 libavutil/hwcontext_vulkan.c tmp.linesize[i] = FFABS(dst->linesize[i]); FFABS 3255 libavutil/hwcontext_vulkan.c FFMIN(tmp.linesize[i], FFABS(dst->linesize[i])), FFABS 314 libavutil/imgutils.c av_assert0(FFABS(src_linesize) >= bytewidth); FFABS 315 libavutil/imgutils.c av_assert0(FFABS(dst_linesize) >= bytewidth); FFABS 151 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 65 libavutil/softfloat.h int s=ONE_BITS - av_log2(FFABS(a.mant)); FFABS 108 libavutil/tests/rational.c if (FFABS(acc - exact) > 2) { FFABS 273 libpostproc/postprocess.c if(FFABS(middleEnergy) < 8*c->QP){ FFABS 278 libpostproc/postprocess.c int d= FFABS(middleEnergy) - FFMIN( FFABS(leftEnergy), FFABS(rightEnergy) ); FFABS 310 libpostproc/postprocess.c const int first= FFABS(dst[-1] - dst[0]) < c->QP ? dst[-1] : dst[0]; FFABS 311 libpostproc/postprocess.c const int last= FFABS(dst[8] - dst[7]) < c->QP ? dst[8] : dst[7]; FFABS 384 libpostproc/postprocess.c int d= FFMAX(FFABS(b) - (FFABS(a) + FFABS(c))/2, 0); FFABS 444 libpostproc/postprocess.c const int first= FFABS(src[-1*step] - src[0]) < QP ? src[-1*step] : src[0]; FFABS 445 libpostproc/postprocess.c const int last= FFABS(src[8*step] - src[7*step]) < QP ? src[8*step] : src[7*step]; FFABS 481 libpostproc/postprocess.c if(FFABS(middleEnergy) < 8*QP){ FFABS 486 libpostproc/postprocess.c int d= FFABS(middleEnergy) - FFMIN( FFABS(leftEnergy), FFABS(rightEnergy) ); FFABS 945 libpostproc/postprocess.c int minStride= FFMAX(FFABS(srcStride[0]), FFABS(dstStride[0])); FFABS 946 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 3456 libpostproc/postprocess_template.c if(width==FFABS(dstStride)) FFABS 3475 libpostproc/postprocess_template.c int8_t *nonBQPptr= &c.nonBQPTable[(y>>qpVShift)*FFABS(QPStride)]; FFABS 3488 libpostproc/postprocess_template.c memcpy(tempSrc + srcStride*i, src + srcStride*(height-1), FFABS(srcStride)); FFABS 3495 libpostproc/postprocess_template.c memcpy(tempDst + dstStride*i, dst + dstStride*(height-1), FFABS(dstStride)); FFABS 3691 libpostproc/postprocess_template.c if(width==FFABS(dstStride)) FFABS 411 libswresample/rematrix.c sum += FFABS(((int*)s->native_matrix)[i * nb_in + j]); FFABS 61 libswresample/x86/rematrix_init.c sh = FFMAX(sh, FFABS(((int*)s->native_matrix)[i * nb_in + j])); FFABS 914 libswscale/swscale.c rgb0_tmp = av_malloc(FFABS(srcStride[0]) * srcSliceH + 32); FFABS 930 libswscale/swscale.c rgb0_tmp = av_malloc(FFABS(srcStride[0]) * srcSliceH + 32); FFABS 478 libswscale/swscale_unscaled.c int min_stride = FFMIN(FFABS(srcstr), FFABS(dststr)); FFABS 505 libswscale/swscale_unscaled.c int min_stride = FFMIN(FFABS(srcstr), FFABS(dststr)); FFABS 1678 libswscale/swscale_unscaled.c while (length + c->srcW <= FFABS(dstStride[0]) && FFABS 1679 libswscale/swscale_unscaled.c length + c->srcW <= FFABS(srcStride[0])) FFABS 357 libswscale/utils.c if (FFABS(xInc - 0x10000) < 10 && srcPos == dstPos) { // unscaled FFABS 398 libswscale/utils.c int64_t coeff = fone - FFABS((int64_t)xx * (1 << 16) - xDstInSrc) * (fone >> 16); FFABS 437 libswscale/utils.c int64_t d = (FFABS(((int64_t)xx * (1 << 17)) - xDstInSrc)) << 13; FFABS 560 libswscale/utils.c cutOff += FFABS(filter2[i * filter2Size]); FFABS 580 libswscale/utils.c cutOff += FFABS(filter2[i * filter2Size + j]); FFABS 2178 libswscale/utils.c int length = a->length + FFABS(shift) * 2; FFABS 31 libswscale/x86/yuv2rgb_template.c if (h_size * depth > FFABS(dstStride[0])) \