Home
last modified time | relevance | path

Searched refs:pd_mag (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Daacps_tablegen.h139 float pd_mag = 1 / hypot(im_smooth, re_smooth); in ps_tableinit() local
140 pd_re_smooth[pd0*64+pd1*8+pd2] = re_smooth * pd_mag; in ps_tableinit()
141 pd_im_smooth[pd0*64+pd1*8+pd2] = im_smooth * pd_mag; in ps_tableinit()
Daacps_fixed_tablegen.h295 … SoftFloat pd_mag = av_int2sf(((ipdopd_cos[(pd0-pd1)&7]+8)>>4) + ((ipdopd_cos[(pd0-pd2)&7]+4)>>3) + in ps_tableinit() local
297 pd_mag = av_div_sf(FLOAT_1, av_sqrt_sf(pd_mag)); in ps_tableinit()
298 shift = 30 - pd_mag.exp; in ps_tableinit()
300 … pd_re_smooth[pd0*64+pd1*8+pd2] = (int)(((int64_t)re_smooth * pd_mag.mant + round) >> shift); in ps_tableinit()
301 … pd_im_smooth[pd0*64+pd1*8+pd2] = (int)(((int64_t)im_smooth * pd_mag.mant + round) >> shift); in ps_tableinit()