Searched refs:FFDIFFSIGN (Results 1 – 18 of 18) sorted by relevance
/third_party/ffmpeg/libavutil/tests/ |
D | softfloat.c | 120 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/ |
D | aptx.c | 452 srd0 = FFDIFFSIGN(reconstructed_difference, 0) * (1 << 23); in aptx_prediction_filtering() 472 sign = FFDIFFSIGN(invert_quantize->reconstructed_difference, in aptx_process_subband()
|
D | scpr3.c | 479 return FFDIFFSIGN(left, right); in cmpbytes()
|
/third_party/ffmpeg/libavformat/ |
D | subtitles.c | 155 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()
|
D | cache.c | 71 return FFDIFFSIGN(*(const int64_t *)key, ((const CacheEntry *) node)->logical_pos); in cmp()
|
D | brstm.c | 79 return FFDIFFSIGN(s1->offset, s2->offset); in sort_offsets()
|
/third_party/ffmpeg/libavfilter/ |
D | af_surround.c | 331 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()
|
D | f_sendcmd.c | 398 return 2 * FFDIFFSIGN(i1->start_ts, i2->start_ts) + FFDIFFSIGN(i1->index, i2->index); in cmp_intervals()
|
D | vf_palettegen.c | 133 return FFDIFFSIGN(box1->color , box2->color); in cmp_color()
|
D | vf_xmedian.c | 141 return FFDIFFSIGN(left, right); in comparei()
|
D | vf_deshake.c | 93 return FFDIFFSIGN(*(const double *)a, *(const double *)b); in cmp()
|
D | vf_removegrain.c | 88 return FFDIFFSIGN(left, right); in cmp_int()
|
D | vf_bm3d.c | 232 return FFDIFFSIGN(pair1->score, pair2->score); in cmp_scores()
|
D | vf_drawtext.c | 310 return FFDIFFSIGN((int64_t)a->fontsize, (int64_t)bb->fontsize); in glyph_cmp()
|
/third_party/ffmpeg/libavutil/ |
D | common.h | 101 #define FFDIFFSIGN(x,y) (((x)>(y)) - ((x)<(y))) macro
|
D | eval.c | 201 case e_sgn: return e->value * FFDIFFSIGN(eval_expr(p, e->param[0]), 0); in eval_expr()
|
/third_party/ffmpeg/fftools/ |
D | cmdutils.c | 1512 return (*da)->type != (*db)->type ? FFDIFFSIGN((*da)->type, (*db)->type) : in compare_codec_desc()
|
D | ffmpeg.c | 3024 return FFDIFFSIGN(*(const int64_t *)a, *(const int64_t *)b); in compare_int64()
|