diff options
author | Djordje Pesut <djordje.pesut@imgtec.com> | 2015-07-20 13:36:19 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-22 21:51:28 +0200 |
commit | 5fd81cf6f082ed00878a5898f47550cb1646d219 (patch) | |
tree | 307a630e3bedb5a186367f08377f5ea3d22b854a /libavcodec/aacps_fixed_tablegen.h | |
parent | 631496e057a203e656d0a952acecf217a83bb26b (diff) | |
download | ffmpeg-5fd81cf6f082ed00878a5898f47550cb1646d219.tar.gz |
avcodec: Implementation of AAC_fixed_decoder (PS-module)
Add fixed point implementation.
Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/aacps_fixed_tablegen.h')
-rw-r--r-- | libavcodec/aacps_fixed_tablegen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacps_fixed_tablegen.h b/libavcodec/aacps_fixed_tablegen.h index 9474206b70..701a9d2b2b 100644 --- a/libavcodec/aacps_fixed_tablegen.h +++ b/libavcodec/aacps_fixed_tablegen.h @@ -288,7 +288,7 @@ static void ps_tableinit(void) int im_smooth = pd0_im + pd1_im + pd2_im; SoftFloat pd_mag = av_int2sf(((ipdopd_cos[(pd0-pd1)&7]+8)>>4) + ((ipdopd_cos[(pd0-pd2)&7]+4)>>3) + - ((ipdopd_cos[(pd1-pd2)&7]+2)>>2) + 0x15000000, 2); + ((ipdopd_cos[(pd1-pd2)&7]+2)>>2) + 0x15000000, 28); pd_mag = av_div_sf(FLOAT_1, av_sqrt_sf(pd_mag)); shift = 30 - pd_mag.exp; round = 1 << (shift-1); |