summaryrefslogtreecommitdiffstats
path: root/libavcodec/aacpsdata.c
diff options
context:
space:
mode:
authorDjordje Pesut <djordje.pesut@imgtec.com>2015-07-20 13:36:19 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-22 21:51:28 +0200
commit5fd81cf6f082ed00878a5898f47550cb1646d219 (patch)
tree307a630e3bedb5a186367f08377f5ea3d22b854a /libavcodec/aacpsdata.c
parent631496e057a203e656d0a952acecf217a83bb26b (diff)
downloadffmpeg-streaming-5fd81cf6f082ed00878a5898f47550cb1646d219.zip
ffmpeg-streaming-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/aacpsdata.c')
-rw-r--r--libavcodec/aacpsdata.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/aacpsdata.c b/libavcodec/aacpsdata.c
index 7431cae..5c1a1b0 100644
--- a/libavcodec/aacpsdata.c
+++ b/libavcodec/aacpsdata.c
@@ -157,7 +157,7 @@ static const int8_t k_to_i_34[] = {
33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33
};
-static const float g1_Q2[] = {
- 0.0f, 0.01899487526049f, 0.0f, -0.07293139167538f,
- 0.0f, 0.30596630545168f, 0.5f
+static const INTFLOAT g1_Q2[] = {
+ Q31(0.0f), Q31(0.01899487526049f), Q31(0.0f), Q31(-0.07293139167538f),
+ Q31(0.0f), Q31(0.30596630545168f), Q31(0.5f)
};
OpenPOWER on IntegriCloud