Home
last modified time | relevance | path

Searched refs:ff_sqrt (Results 1 - 13 of 13) sorted by relevance

/third_party/ffmpeg/libavcodec/tests/
H A Dmathops.c29 unsigned root = ff_sqrt(s); in main()
30 unsigned root_m1 = ff_sqrt(s-1); in main()
32 fprintf(stderr, "ff_sqrt failed at %u with %u\n", s, root); in main()
36 fprintf(stderr, "ff_sqrt failed at %u with %u\n", s, root); in main()
/third_party/ffmpeg/libavcodec/
H A Dmathops.h207 #ifndef ff_sqrt
208 #define ff_sqrt ff_sqrt macro
209 static inline av_const unsigned int ff_sqrt(unsigned int a) in ff_sqrt() function
H A Dac3enc_fixed.c64 coord32 = ff_sqrt(coord32) << 9; in calc_cpl_coord()
H A Droqaudioenc.c97 result = ff_sqrt(diff); in dpcm_predict()
H A Dopus_rc.c244 k = (ff_sqrt(8 * center + 1) - 1) >> 1; in ff_opus_rc_dec_uint_tri()
248 k = (2*(qn + 1) - ff_sqrt(8*(total - center - 1) + 1)) >> 1; in ff_opus_rc_dec_uint_tri()
H A Dra144.c1633 return ff_sqrt(x << 20) << s; in ff_t_sqrt()
H A Dmotion_est.c974 c->scene_change_score+= ff_sqrt(p_score) - ff_sqrt(i_score); in ff_estimate_p_frame_motion()
1056 c->scene_change_score+= ff_sqrt(p_score) - ff_sqrt(i_score); in ff_estimate_p_frame_motion()
H A Dsonic.c642 s->tap_quant[i] = ff_sqrt(i+1); in sonic_encode_init()
946 s->tap_quant[i] = ff_sqrt(i+1); in sonic_decode_init()
H A Dg723_1dec.c270 return (ff_sqrt(val << 1) >> 1) & (~1); in square_root()
H A Dopus.c386 int ambisonic_order = ff_sqrt(channels) - 1; in ff_opus_parse_extradata()
H A Dsnowenc.c417 c->scene_change_score+= ff_sqrt(vard) - ff_sqrt(varc); in encode_q_branch()
H A Dmpegvideo_enc.c2014 weight[x + 8 * y]= (36 * ff_sqrt(count * sqr - sum * sum)) / count; in get_visual_weight()
/third_party/ffmpeg/libavutil/
H A Dfixed_dsp.h183 if (shift1 > 0) retval = ff_sqrt(x << shift1); in fixed_sqrt()
184 else retval = ff_sqrt(x >> -shift1); in fixed_sqrt()

Completed in 24 milliseconds