/third_party/ffmpeg/libavfilter/ |
D | vf_vibrance.c | 69 const float sgintensity = alternate * FFSIGN(gintensity); in vibrance_slice8() 70 const float sbintensity = alternate * FFSIGN(bintensity); in vibrance_slice8() 71 const float srintensity = alternate * FFSIGN(rintensity); in vibrance_slice8() 128 const float sgintensity = alternate * FFSIGN(gintensity); in vibrance_slice16() 129 const float sbintensity = alternate * FFSIGN(bintensity); in vibrance_slice16() 130 const float srintensity = alternate * FFSIGN(rintensity); in vibrance_slice16() 189 const float sgintensity = alternate * FFSIGN(gintensity); in vibrance_slice8p() 190 const float sbintensity = alternate * FFSIGN(bintensity); in vibrance_slice8p() 191 const float srintensity = alternate * FFSIGN(rintensity); in vibrance_slice8p() 246 const float sgintensity = alternate * FFSIGN(gintensity); in vibrance_slice16p() [all …]
|
D | avf_avectorscope.c | 313 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()
|
D | af_asoftclip.c | 153 dst[n] = FFSIGN(sample); in filter_flt() 178 dst[n] = FFSIGN(sample); in filter_flt() 189 dst[n] = FFSIGN(sample); in filter_flt() 245 dst[n] = FFSIGN(sample); in filter_dbl() 270 dst[n] = FFSIGN(sample); in filter_dbl() 281 dst[n] = FFSIGN(sample); in filter_dbl()
|
D | vf_pad.c | 301 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()
|
D | avf_showwaves.c | 195 … return height/2 - FFSIGN(sample) * (log10(1 + FFABS(sample)) * (height/2) / log10(1 + INT16_MAX)); in get_log_h() 205 return height/2 - FFSIGN(sample) * (sqrt(FFABS(sample)) * (height/2) / sqrt(INT16_MAX)); in get_sqrt_h() 215 return height/2 - FFSIGN(sample) * (cbrt(FFABS(sample)) * (height/2) / cbrt(INT16_MAX)); in get_cbrt_h()
|
D | af_acrusher.c | 177 k = FFSIGN(in) * (x + (exp((k + 1) / sqr - sqr) - x) * in bitreduction()
|
D | af_astats.c | 313 p->zero_runs += FFSIGN(d) != FFSIGN(p->last_non_zero); in update_stat()
|
D | af_amix.c | 237 s->input_scale[i] = 1.0f / s->scale_norm[i] * FFSIGN(s->weights[i]); in calculate_scales()
|
D | af_biquads.c | 521 double alpha1 = A == 1. ? 0. : n - FFSIGN(n) * sqrt(n * n - 1); in config_filter() 547 double alpha1 = A == 1. ? 0. : n - FFSIGN(n) * sqrt(n * n - 1); in config_filter()
|
D | vf_deshake_opencl.c | 768 ret.rotation = FFSIGN(b) * acos(a / r); in decompose_transform() 776 ret.rotation = M_PI / 2 - FFSIGN(d) * acos(-c / s); in decompose_transform()
|
D | vf_v360.c | 3801 vec[0] = (1.f - ay) * FFSIGN(x); in octahedron_to_xyz() 3802 vec[1] = (1.f - ax) * FFSIGN(y); in octahedron_to_xyz() 3839 vf = (1.f - fabsf(uf)) * FFSIGN(zf); in xyz_to_octahedron() 3840 uf = (1.f - fabsf(zf)) * FFSIGN(uf); in xyz_to_octahedron()
|
/third_party/ffmpeg/tests/checkasm/ |
D | audiodsp.c | 97 val1 = FFSIGN(val1) * (val1 & ((1 << 24) - 1)); in checkasm_check_audiodsp() 99 val2 = FFSIGN(val2) * (val2 & ((1 << 24) - 1)); in checkasm_check_audiodsp()
|
/third_party/pulseaudio/src/pulsecore/ffmpeg/ |
D | avcodec.h | 62 #define FFSIGN(a) ((a) > 0 ? 1 : -1) macro
|
/third_party/ffmpeg/libavcodec/ |
D | twinvq.h | 195 return clip * FFSIGN(y) * (exp(log(1 + mu) * fabs(y)) - 1) / mu; in twinvq_mulawinv()
|
D | cfhdenc.c | 384 input[j] = av_clip_intp2(((input[j] * factor + 16384 * FFSIGN(input[j])) / 32768), 10); in quantize_band() 745 int16_t index = j >= width ? 0 : FFSIGN(data[j]) * lut[FFABS(data[j])]; in cfhd_encode_frame()
|
D | opus_pvq.c | 384 int max_idx = 0, phase = FFSIGN(K); in ppp_pvq_search_c() 406 phase *= FFSIGN(X[max_idx]); in ppp_pvq_search_c()
|
D | opus_rc.c | 333 *value = FFSIGN(*value)*(distance + i); in ff_opus_rc_enc_laplace()
|
D | alac.c | 171 return v ? FFSIGN(v) : 0; in sign_only()
|
D | alacenc.c | 305 int sign = (val ? FFSIGN(val) : 0); in alac_linear_predictor()
|
D | exr.c | 980 return FFSIGN(x) * powf(ax, 2.2f * scale); in to_linear() 984 return FFSIGN(x) * powf(log_base, ax - 1.f); in to_linear()
|
D | ivi.c | 551 val = val * q + FFSIGN(val) * (((q ^ 1) - 1) >> 1); in ivi_decode_coded_blocks()
|
D | vp3.c | 2001 x = FFMIN(x, x + FFSIGN(motion_x)); in vp4_mc_loop_filter() 2004 y = FFMIN(y, y + FFSIGN(motion_y)); in vp4_mc_loop_filter()
|
/third_party/ffmpeg/libpostproc/ |
D | postprocess.c | 282 d*= FFSIGN(-middleEnergy); in doHorizDefFilter_C() 387 int v = d * FFSIGN(-b); in horizX1Filter() 490 d*= FFSIGN(-middleEnergy); in do_a_deblock_C()
|
D | postprocess_template.c | 520 int v = d * FFSIGN(-b); in RENAME() 1074 d*= FFSIGN(-middleEnergy); in RENAME()
|
/third_party/ffmpeg/libavutil/ |
D | common.h | 73 #define FFSIGN(a) ((a) > 0 ? 1 : -1) macro
|