FFSIGN 1475 fftools/ffmpeg.c float_pts += FFSIGN(float_pts) * 1.0 / (1<<17); FFSIGN 171 libavcodec/alac.c return v ? FFSIGN(v) : 0; FFSIGN 305 libavcodec/alacenc.c int sign = (val ? FFSIGN(val) : 0); FFSIGN 112 libavcodec/cfhd.c FFSIGN(level) * quantisation; FFSIGN 442 libavcodec/diracdec.c const unsigned sign = FFSIGN(coeff); FFSIGN 201 libavcodec/diracdsp.c sign = FFSIGN(c)*(!!c); \ FFSIGN 564 libavcodec/ivi.c val = val * q + FFSIGN(val) * (((q ^ 1) - 1) >> 1); FFSIGN 384 libavcodec/opus_pvq.c int max_idx = 0, phase = FFSIGN(K); FFSIGN 406 libavcodec/opus_pvq.c phase *= FFSIGN(X[max_idx]); FFSIGN 333 libavcodec/opus_rc.c *value = FFSIGN(*value)*(distance + i); FFSIGN 195 libavcodec/twinvq.h return clip * FFSIGN(y) * (exp(log(1 + mu) * fabs(y)) - 1) / mu; FFSIGN 1988 libavcodec/vp3.c x = FFMIN(x, x + FFSIGN(motion_x)); FFSIGN 1991 libavcodec/vp3.c y = FFMIN(y, y + FFSIGN(motion_y)); FFSIGN 177 libavfilter/af_acrusher.c k = FFSIGN(in) * (x + (exp((k + 1) / sqr - sqr) - x) * FFSIGN 231 libavfilter/af_amix.c s->input_scale[i] = 1.0f / s->scale_norm[i] * FFSIGN(s->weights[i]); FFSIGN 122 libavfilter/af_asoftclip.c dst[n] = FFSIGN(src[n]); FFSIGN 138 libavfilter/af_asoftclip.c dst[n] = FFSIGN(src[n]); FFSIGN 146 libavfilter/af_asoftclip.c dst[n] = FFSIGN(src[n]); FFSIGN 179 libavfilter/af_asoftclip.c dst[n] = FFSIGN(src[n]); FFSIGN 195 libavfilter/af_asoftclip.c dst[n] = FFSIGN(src[n]); FFSIGN 203 libavfilter/af_asoftclip.c dst[n] = FFSIGN(src[n]); FFSIGN 313 libavfilter/af_astats.c p->zero_runs += FFSIGN(d) != FFSIGN(p->last_non_zero); FFSIGN 313 libavfilter/avf_avectorscope.c src[0] = FFSIGN(src[0]) * sqrtf(FFABS(src[0])); FFSIGN 314 libavfilter/avf_avectorscope.c src[1] = FFSIGN(src[1]) * sqrtf(FFABS(src[1])); FFSIGN 317 libavfilter/avf_avectorscope.c src[0] = FFSIGN(src[0]) * cbrtf(FFABS(src[0])); FFSIGN 318 libavfilter/avf_avectorscope.c src[1] = FFSIGN(src[1]) * cbrtf(FFABS(src[1])); FFSIGN 321 libavfilter/avf_avectorscope.c src[0] = FFSIGN(src[0]) * logf(1 + FFABS(src[0])) / logf(2); FFSIGN 322 libavfilter/avf_avectorscope.c src[1] = FFSIGN(src[1]) * logf(1 + FFABS(src[1])) / logf(2); FFSIGN 348 libavfilter/avf_avectorscope.c x = hw + hw * FFSIGN(cx + cy) * (cx - cy) * .7; FFSIGN 188 libavfilter/avf_showwaves.c return height/2 - FFSIGN(sample) * (log10(1 + FFABS(sample)) * (height/2) / log10(1 + INT16_MAX)); FFSIGN 198 libavfilter/avf_showwaves.c return height/2 - FFSIGN(sample) * (sqrt(FFABS(sample)) * (height/2) / sqrt(INT16_MAX)); FFSIGN 208 libavfilter/avf_showwaves.c return height/2 - FFSIGN(sample) * (cbrt(FFABS(sample)) * (height/2) / cbrt(INT16_MAX)); FFSIGN 768 libavfilter/vf_deshake_opencl.c ret.rotation = FFSIGN(b) * acos(a / r); FFSIGN 776 libavfilter/vf_deshake_opencl.c ret.rotation = M_PI / 2 - FFSIGN(d) * acos(-c / s); FFSIGN 301 libavfilter/vf_pad.c if (FFSIGN(start - end1) != FFSIGN(start - end1 - req_start) || FFSIGN 302 libavfilter/vf_pad.c FFSIGN(end - start1) != FFSIGN(end - start1 + req_end)) FFSIGN 62 libavfilter/vf_vibrance.c const float sgintensity = alternate * FFSIGN(gintensity); FFSIGN 63 libavfilter/vf_vibrance.c const float sbintensity = alternate * FFSIGN(bintensity); FFSIGN 64 libavfilter/vf_vibrance.c const float srintensity = alternate * FFSIGN(rintensity); FFSIGN 121 libavfilter/vf_vibrance.c const float sgintensity = alternate * FFSIGN(gintensity); FFSIGN 122 libavfilter/vf_vibrance.c const float sbintensity = alternate * FFSIGN(bintensity); FFSIGN 123 libavfilter/vf_vibrance.c const float srintensity = alternate * FFSIGN(rintensity); FFSIGN 282 libpostproc/postprocess.c d*= FFSIGN(-middleEnergy); FFSIGN 387 libpostproc/postprocess.c int v = d * FFSIGN(-b); FFSIGN 490 libpostproc/postprocess.c d*= FFSIGN(-middleEnergy); FFSIGN 519 libpostproc/postprocess_template.c int v = d * FFSIGN(-b); FFSIGN 1073 libpostproc/postprocess_template.c d*= FFSIGN(-middleEnergy); FFSIGN 96 tests/checkasm/audiodsp.c val1 = FFSIGN(val1) * (val1 & ((1 << 24) - 1)); FFSIGN 98 tests/checkasm/audiodsp.c val2 = FFSIGN(val2) * (val2 & ((1 << 24) - 1));