projects
/
platform
/
upstream
/
libvorbis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ecfe61
)
lib/lookup_data.h : Add ifdef around FROMdB_LOOKUP to prevent compiler warnings.
author
erikd
<erikd@xiph.org>
Sun, 26 Aug 2007 01:17:24 +0000
(
01:17
+0000)
committer
erikd
<erikd@xiph.org>
Sun, 26 Aug 2007 01:17:24 +0000
(
01:17
+0000)
svn path=/trunk/vorbis/; revision=13631
lib/lookup_data.h
patch
|
blob
|
history
diff --git
a/lib/lookup_data.h
b/lib/lookup_data.h
index
ebf2555
..
bae0424
100644
(file)
--- a/
lib/lookup_data.h
+++ b/
lib/lookup_data.h
@@
-98,6
+98,8
@@
static float INVSQ2EXP_LOOKUP[INVSQ2EXP_LOOKUP_MAX-\
#define FROMdB_SHIFT 5
#define FROMdB2_SHIFT 3
#define FROMdB2_MASK 31
+
+#ifdef FLOAT_LOOKUP
static float FROMdB_LOOKUP[FROMdB_LOOKUP_SZ]={
1.f, 0.6309573445f, 0.3981071706f, 0.2511886432f,
0.1584893192f, 0.1f, 0.06309573445f, 0.03981071706f,
@@
-120,6
+122,7
@@
static float FROMdB2_LOOKUP[FROMdB2_LOOKUP_SZ]={
0.7028699885f, 0.6928273125f, 0.6829281272f, 0.6731703824f,
0.6635520573f, 0.6540711597f, 0.6447257262f, 0.6355138211f,
};
+#endif
#ifdef INT_LOOKUP