From 5fd81cf6f082ed00878a5898f47550cb1646d219 Mon Sep 17 00:00:00 2001 From: Djordje Pesut Date: Mon, 20 Jul 2015 13:36:19 +0200 Subject: avcodec: Implementation of AAC_fixed_decoder (PS-module) Add fixed point implementation. Signed-off-by: Nedeljko Babic Signed-off-by: Michael Niedermayer --- libavcodec/aacps_fixed_tablegen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/aacps_fixed_tablegen.h') 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); -- cgit v1.2.3