Home
last modified time | relevance | path

Searched refs:FFSIGN (Results 1 – 24 of 24) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dvf_vibrance.c62 const float sgintensity = alternate * FFSIGN(gintensity); in vibrance_slice8()
63 const float sbintensity = alternate * FFSIGN(bintensity); in vibrance_slice8()
64 const float srintensity = alternate * FFSIGN(rintensity); in vibrance_slice8()
121 const float sgintensity = alternate * FFSIGN(gintensity); in vibrance_slice16()
122 const float sbintensity = alternate * FFSIGN(bintensity); in vibrance_slice16()
123 const float srintensity = alternate * FFSIGN(rintensity); in vibrance_slice16()
Daf_asoftclip.c122 dst[n] = FFSIGN(src[n]); in filter_flt()
138 dst[n] = FFSIGN(src[n]); in filter_flt()
146 dst[n] = FFSIGN(src[n]); in filter_flt()
179 dst[n] = FFSIGN(src[n]); in filter_dbl()
195 dst[n] = FFSIGN(src[n]); in filter_dbl()
203 dst[n] = FFSIGN(src[n]); in filter_dbl()
Davf_avectorscope.c313 src[0] = FFSIGN(src[0]) * sqrtf(FFABS(src[0])); in filter_frame()
314 src[1] = FFSIGN(src[1]) * sqrtf(FFABS(src[1])); in filter_frame()
317 src[0] = FFSIGN(src[0]) * cbrtf(FFABS(src[0])); in filter_frame()
318 src[1] = FFSIGN(src[1]) * cbrtf(FFABS(src[1])); in filter_frame()
321 src[0] = FFSIGN(src[0]) * logf(1 + FFABS(src[0])) / logf(2); in filter_frame()
322 src[1] = FFSIGN(src[1]) * logf(1 + FFABS(src[1])) / logf(2); in filter_frame()
348 x = hw + hw * FFSIGN(cx + cy) * (cx - cy) * .7; in filter_frame()
Dvf_pad.c301 if (FFSIGN(start - end1) != FFSIGN(start - end1 - req_start) || in buffer_needs_copy()
302 FFSIGN(end - start1) != FFSIGN(end - start1 + req_end)) in buffer_needs_copy()
Davf_showwaves.c188 … return height/2 - FFSIGN(sample) * (log10(1 + FFABS(sample)) * (height/2) / log10(1 + INT16_MAX)); in get_log_h()
198 return height/2 - FFSIGN(sample) * (sqrt(FFABS(sample)) * (height/2) / sqrt(INT16_MAX)); in get_sqrt_h()
208 return height/2 - FFSIGN(sample) * (cbrt(FFABS(sample)) * (height/2) / cbrt(INT16_MAX)); in get_cbrt_h()
Daf_acrusher.c177 k = FFSIGN(in) * (x + (exp((k + 1) / sqr - sqr) - x) * in bitreduction()
Daf_amix.c231 s->input_scale[i] = 1.0f / s->scale_norm[i] * FFSIGN(s->weights[i]); in calculate_scales()
Daf_astats.c313 p->zero_runs += FFSIGN(d) != FFSIGN(p->last_non_zero); in update_stat()
Dvf_deshake_opencl.c768 ret.rotation = FFSIGN(b) * acos(a / r); in decompose_transform()
776 ret.rotation = M_PI / 2 - FFSIGN(d) * acos(-c / s); in decompose_transform()
/third_party/ffmpeg/tests/checkasm/
Daudiodsp.c96 val1 = FFSIGN(val1) * (val1 & ((1 << 24) - 1)); in checkasm_check_audiodsp()
98 val2 = FFSIGN(val2) * (val2 & ((1 << 24) - 1)); in checkasm_check_audiodsp()
/third_party/pulseaudio/src/pulsecore/ffmpeg/
Davcodec.h62 #define FFSIGN(a) ((a) > 0 ? 1 : -1) macro
/third_party/ffmpeg/libavcodec/
Dtwinvq.h195 return clip * FFSIGN(y) * (exp(log(1 + mu) * fabs(y)) - 1) / mu; in twinvq_mulawinv()
Dopus_pvq.c384 int max_idx = 0, phase = FFSIGN(K); in ppp_pvq_search_c()
406 phase *= FFSIGN(X[max_idx]); in ppp_pvq_search_c()
Dopus_rc.c333 *value = FFSIGN(*value)*(distance + i); in ff_opus_rc_enc_laplace()
Dalac.c171 return v ? FFSIGN(v) : 0; in sign_only()
Dalacenc.c305 int sign = (val ? FFSIGN(val) : 0); in alac_linear_predictor()
Divi.c564 val = val * q + FFSIGN(val) * (((q ^ 1) - 1) >> 1); in ivi_decode_coded_blocks()
Dcfhd.c112 FFSIGN(level) * quantisation; in dequant_and_decompand()
Dvp3.c1988 x = FFMIN(x, x + FFSIGN(motion_x)); in vp4_mc_loop_filter()
1991 y = FFMIN(y, y + FFSIGN(motion_y)); in vp4_mc_loop_filter()
Ddiracdec.c442 const unsigned sign = FFSIGN(coeff); in coeff_unpack_golomb()
/third_party/ffmpeg/libpostproc/
Dpostprocess.c282 d*= FFSIGN(-middleEnergy); in doHorizDefFilter_C()
387 int v = d * FFSIGN(-b); in horizX1Filter()
490 d*= FFSIGN(-middleEnergy); in do_a_deblock_C()
Dpostprocess_template.c519 int v = d * FFSIGN(-b); in RENAME()
1073 d*= FFSIGN(-middleEnergy); in RENAME()
/third_party/ffmpeg/libavutil/
Dcommon.h73 #define FFSIGN(a) ((a) > 0 ? 1 : -1) macro
/third_party/ffmpeg/fftools/
Dffmpeg.c1476 float_pts += FFSIGN(float_pts) * 1.0 / (1<<17); in reap_filters()