Home
last modified time | relevance | path

Searched refs:FFDIFFSIGN (Results 1 – 18 of 18) sorted by relevance

/third_party/ffmpeg/libavutil/tests/
Dsoftfloat.c120 if (FFDIFFSIGN(i,j) != c && (FFDIFFSIGN(i,j)^c)<0) { in main()
133 if (FFDIFFSIGN(i,j) != c && (FFDIFFSIGN(i,j)^c) < 0) { in main()
/third_party/ffmpeg/libavcodec/
Daptx.c452 srd0 = FFDIFFSIGN(reconstructed_difference, 0) * (1 << 23); in aptx_prediction_filtering()
472 sign = FFDIFFSIGN(invert_quantize->reconstructed_difference, in aptx_process_subband()
Dscpr3.c479 return FFDIFFSIGN(left, right); in cmpbytes()
/third_party/ffmpeg/libavformat/
Dsubtitles.c155 return FFDIFFSIGN(s1->pos, s2->pos); in cmp_pkt_sub_ts_pos()
156 return FFDIFFSIGN(s1->pts , s2->pts); in cmp_pkt_sub_ts_pos()
Dcache.c71 return FFDIFFSIGN(*(const int64_t *)key, ((const CacheEntry *) node)->logical_pos); in cmp()
Dbrstm.c79 return FFDIFFSIGN(s1->offset, s2->offset); in sort_offsets()
/third_party/ffmpeg/libavfilter/
Daf_surround.c331 a = M_PI + 2 * (-2 * M_PI + reference) * (M_PI - fabsf(a)) * FFDIFFSIGN(a, 0) / (3 * M_PI); in stereo_transform()
1115 float mag_dif = mag_sum < 0.000001 ? FFDIFFSIGN(l_mag, r_mag) : (l_mag - r_mag) / mag_sum; in filter_stereo()
1151 float mag_dif = mag_sum < 0.000001 ? FFDIFFSIGN(l_mag, r_mag) : (l_mag - r_mag) / mag_sum; in filter_surround()
1186 float mag_dif = mag_sum < 0.000001 ? FFDIFFSIGN(l_mag, r_mag) : (l_mag - r_mag) / mag_sum; in filter_2_1()
1230 … float mag_difl = magl_sum < 0.000001 ? FFDIFFSIGN(fl_mag, sl_mag) : (fl_mag - sl_mag) / magl_sum; in filter_5_0_side()
1231 … float mag_difr = magr_sum < 0.000001 ? FFDIFFSIGN(fr_mag, sr_mag) : (fr_mag - sr_mag) / magr_sum; in filter_5_0_side()
1289 … float mag_difl = magl_sum < 0.000001 ? FFDIFFSIGN(fl_mag, sl_mag) : (fl_mag - sl_mag) / magl_sum; in filter_5_1_side()
1290 … float mag_difr = magr_sum < 0.000001 ? FFDIFFSIGN(fr_mag, sr_mag) : (fr_mag - sr_mag) / magr_sum; in filter_5_1_side()
1348 … float mag_difl = magl_sum < 0.000001 ? FFDIFFSIGN(fl_mag, bl_mag) : (fl_mag - bl_mag) / magl_sum; in filter_5_1_back()
1349 … float mag_difr = magr_sum < 0.000001 ? FFDIFFSIGN(fr_mag, br_mag) : (fr_mag - br_mag) / magr_sum; in filter_5_1_back()
Df_sendcmd.c398 return 2 * FFDIFFSIGN(i1->start_ts, i2->start_ts) + FFDIFFSIGN(i1->index, i2->index); in cmp_intervals()
Dvf_palettegen.c133 return FFDIFFSIGN(box1->color , box2->color); in cmp_color()
Dvf_xmedian.c141 return FFDIFFSIGN(left, right); in comparei()
Dvf_deshake.c93 return FFDIFFSIGN(*(const double *)a, *(const double *)b); in cmp()
Dvf_removegrain.c88 return FFDIFFSIGN(left, right); in cmp_int()
Dvf_bm3d.c232 return FFDIFFSIGN(pair1->score, pair2->score); in cmp_scores()
Dvf_drawtext.c310 return FFDIFFSIGN((int64_t)a->fontsize, (int64_t)bb->fontsize); in glyph_cmp()
/third_party/ffmpeg/libavutil/
Dcommon.h101 #define FFDIFFSIGN(x,y) (((x)>(y)) - ((x)<(y))) macro
Deval.c201 case e_sgn: return e->value * FFDIFFSIGN(eval_expr(p, e->param[0]), 0); in eval_expr()
/third_party/ffmpeg/fftools/
Dcmdutils.c1512 return (*da)->type != (*db)->type ? FFDIFFSIGN((*da)->type, (*db)->type) : in compare_codec_desc()
Dffmpeg.c3024 return FFDIFFSIGN(*(const int64_t *)a, *(const int64_t *)b); in compare_int64()