summaryrefslogtreecommitdiffstats
path: root/sbc
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-01-16 20:29:43 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-01-16 20:29:43 +0200
commit1fb5ffff0b704038a90e03860ecce63be2deb988 (patch)
tree0c8ce3fc41f89beee154cbfbfcd53b9b57ce7e11 /sbc
parent03e7c988d12022d46ebc3a163f0cddfc354a86fc (diff)
Fix indentation to use only tabs
Diffstat (limited to 'sbc')
-rw-r--r--sbc/sbc_primitives.c30
-rw-r--r--sbc/sbc_primitives.h8
-rw-r--r--sbc/sbc_primitives_mmx.c12
-rw-r--r--sbc/sbc_primitives_neon.c32
-rw-r--r--sbc/sbc_tables.h356
5 files changed, 219 insertions, 219 deletions
diff --git a/sbc/sbc_primitives.c b/sbc/sbc_primitives.c
index c77a138f..e3a77643 100644
--- a/sbc/sbc_primitives.c
+++ b/sbc/sbc_primitives.c
@@ -66,15 +66,15 @@ static inline void sbc_analyze_four(const int16_t *in, int32_t *out)
/* do the cos transform */
for (i = 0, hop = 0; i < 4; hop += 8, i++) {
out[i] = ((FIXED_A) t2[0] * cos_table_fixed_4[0 + hop] +
- (FIXED_A) t2[1] * cos_table_fixed_4[1 + hop] +
- (FIXED_A) t2[2] * cos_table_fixed_4[2 + hop] +
- (FIXED_A) t2[3] * cos_table_fixed_4[5 + hop]) >>
+ (FIXED_A) t2[1] * cos_table_fixed_4[1 + hop] +
+ (FIXED_A) t2[2] * cos_table_fixed_4[2 + hop] +
+ (FIXED_A) t2[3] * cos_table_fixed_4[5 + hop]) >>
(SBC_COS_TABLE_FIXED4_SCALE - SCALE_OUT_BITS);
}
}
static void sbc_analyze_4b_4s(int16_t *pcm, int16_t *x,
- int32_t *out, int out_stride)
+ int32_t *out, int out_stride)
{
int i;
@@ -138,19 +138,19 @@ static inline void sbc_analyze_eight(const int16_t *in, int32_t *out)
/* do the cos transform */
for (i = 0, hop = 0; i < 8; hop += 16, i++) {
out[i] = ((FIXED_A) t2[0] * cos_table_fixed_8[0 + hop] +
- (FIXED_A) t2[1] * cos_table_fixed_8[1 + hop] +
- (FIXED_A) t2[2] * cos_table_fixed_8[2 + hop] +
- (FIXED_A) t2[3] * cos_table_fixed_8[3 + hop] +
- (FIXED_A) t2[4] * cos_table_fixed_8[4 + hop] +
- (FIXED_A) t2[5] * cos_table_fixed_8[9 + hop] +
- (FIXED_A) t2[6] * cos_table_fixed_8[10 + hop] +
- (FIXED_A) t2[7] * cos_table_fixed_8[11 + hop]) >>
+ (FIXED_A) t2[1] * cos_table_fixed_8[1 + hop] +
+ (FIXED_A) t2[2] * cos_table_fixed_8[2 + hop] +
+ (FIXED_A) t2[3] * cos_table_fixed_8[3 + hop] +
+ (FIXED_A) t2[4] * cos_table_fixed_8[4 + hop] +
+ (FIXED_A) t2[5] * cos_table_fixed_8[9 + hop] +
+ (FIXED_A) t2[6] * cos_table_fixed_8[10 + hop] +
+ (FIXED_A) t2[7] * cos_table_fixed_8[11 + hop]) >>
(SBC_COS_TABLE_FIXED8_SCALE - SCALE_OUT_BITS);
}
}
static void sbc_analyze_4b_8s(int16_t *pcm, int16_t *x,
- int32_t *out, int out_stride)
+ int32_t *out, int out_stride)
{
int i;
@@ -186,7 +186,7 @@ static void sbc_analyze_4b_8s(int16_t *pcm, int16_t *x,
*/
static inline void sbc_analyze_four_simd(const int16_t *in, int32_t *out,
- const FIXED_T *consts)
+ const FIXED_T *consts)
{
FIXED_A t1[4];
FIXED_T t2[4];
@@ -244,7 +244,7 @@ static inline void sbc_analyze_four_simd(const int16_t *in, int32_t *out,
}
static inline void sbc_analyze_eight_simd(const int16_t *in, int32_t *out,
- const FIXED_T *consts)
+ const FIXED_T *consts)
{
FIXED_A t1[8];
FIXED_T t2[8];
@@ -313,7 +313,7 @@ static inline void sbc_analyze_eight_simd(const int16_t *in, int32_t *out,
}
static inline void sbc_analyze_4b_4s_simd(int16_t *pcm, int16_t *x,
- int32_t *out, int out_stride)
+ int32_t *out, int out_stride)
{
/* Fetch audio samples and do input data reordering for SIMD */
x[64] = x[0] = pcm[8 + 7];
diff --git a/sbc/sbc_primitives.h b/sbc/sbc_primitives.h
index a8b3df6e..91b72eef 100644
--- a/sbc/sbc_primitives.h
+++ b/sbc/sbc_primitives.h
@@ -33,13 +33,13 @@ struct sbc_encoder_state {
int position[2];
int16_t SBC_ALIGNED X[2][256];
/* Polyphase analysis filter for 4 subbands configuration,
- it handles 4 blocks at once */
+ * it handles 4 blocks at once */
void (*sbc_analyze_4b_4s)(int16_t *pcm, int16_t *x,
- int32_t *out, int out_stride);
+ int32_t *out, int out_stride);
/* Polyphase analysis filter for 8 subbands configuration,
- it handles 4 blocks at once */
+ * it handles 4 blocks at once */
void (*sbc_analyze_4b_8s)(int16_t *pcm, int16_t *x,
- int32_t *out, int out_stride);
+ int32_t *out, int out_stride);
};
/*
diff --git a/sbc/sbc_primitives_mmx.c b/sbc/sbc_primitives_mmx.c
index 9f29220b..972e813e 100644
--- a/sbc/sbc_primitives_mmx.c
+++ b/sbc/sbc_primitives_mmx.c
@@ -99,12 +99,12 @@ static inline void sbc_analyze_four_mmx(const int16_t *in, int32_t *out,
"movq %%mm2, 8(%3)\n"
:
: "r" (in), "r" (consts), "r" (&round_c), "r" (out),
- "i" (SBC_PROTO_FIXED4_SCALE)
+ "i" (SBC_PROTO_FIXED4_SCALE)
: "memory");
}
static inline void sbc_analyze_eight_mmx(const int16_t *in, int32_t *out,
- const FIXED_T *consts)
+ const FIXED_T *consts)
{
static const SBC_ALIGNED int32_t round_c[2] = {
1 << (SBC_PROTO_FIXED8_SCALE - 1),
@@ -241,12 +241,12 @@ static inline void sbc_analyze_eight_mmx(const int16_t *in, int32_t *out,
"movq %%mm5, 24(%3)\n"
:
: "r" (in), "r" (consts), "r" (&round_c), "r" (out),
- "i" (SBC_PROTO_FIXED8_SCALE)
+ "i" (SBC_PROTO_FIXED8_SCALE)
: "memory");
}
static inline void sbc_analyze_4b_4s_mmx(int16_t *pcm, int16_t *x,
- int32_t *out, int out_stride)
+ int32_t *out, int out_stride)
{
/* Fetch audio samples and do input data reordering for SIMD */
x[64] = x[0] = pcm[8 + 7];
@@ -280,7 +280,7 @@ static inline void sbc_analyze_4b_4s_mmx(int16_t *pcm, int16_t *x,
}
static inline void sbc_analyze_4b_8s_mmx(int16_t *pcm, int16_t *x,
- int32_t *out, int out_stride)
+ int32_t *out, int out_stride)
{
/* Fetch audio samples and do input data reordering for SIMD */
x[128] = x[0] = pcm[16 + 15];
@@ -337,7 +337,7 @@ static int check_mmx_support()
int cpuid_feature_information;
asm volatile (
/* According to Intel manual, CPUID instruction is supported
- if the value of ID bit (bit 21) in EFLAGS can be modified */
+ * if the value of ID bit (bit 21) in EFLAGS can be modified */
"pushf\n"
"movl (%%esp), %0\n"
"xorl $0x200000, (%%esp)\n" /* try to modify ID bit */
diff --git a/sbc/sbc_primitives_neon.c b/sbc/sbc_primitives_neon.c
index ea8446f1..7589a982 100644
--- a/sbc/sbc_primitives_neon.c
+++ b/sbc/sbc_primitives_neon.c
@@ -38,11 +38,11 @@
#ifdef SBC_BUILD_WITH_NEON_SUPPORT
static inline void _sbc_analyze_four_neon(const int16_t *in, int32_t *out,
- const FIXED_T *consts)
+ const FIXED_T *consts)
{
/* TODO: merge even and odd cases (or even merge all four calls to this
- function) in order to have only aligned reads from 'in' array
- and reduce number of load instructions */
+ * function) in order to have only aligned reads from 'in' array
+ * and reduce number of load instructions */
asm volatile (
"vld1.16 {d4, d5}, [%0, :64]!\n"
"vld1.16 {d8, d9}, [%1, :128]!\n"
@@ -91,18 +91,18 @@ static inline void _sbc_analyze_four_neon(const int16_t *in, int32_t *out,
"vst1.32 {d0, d1}, [%2, :128]\n"
: "+r" (in), "+r" (consts)
: "r" (out),
- "i" (SBC_PROTO_FIXED4_SCALE)
+ "i" (SBC_PROTO_FIXED4_SCALE)
: "memory",
- "d0", "d1", "d2", "d3", "d4", "d5",
- "d6", "d7", "d8", "d9", "d10", "d11");
+ "d0", "d1", "d2", "d3", "d4", "d5",
+ "d6", "d7", "d8", "d9", "d10", "d11");
}
static inline void _sbc_analyze_eight_neon(const int16_t *in, int32_t *out,
- const FIXED_T *consts)
+ const FIXED_T *consts)
{
/* TODO: merge even and odd cases (or even merge all four calls to this
- function) in order to have only aligned reads from 'in' array
- and reduce number of load instructions */
+ * function) in order to have only aligned reads from 'in' array
+ * and reduce number of load instructions */
asm volatile (
"vld1.16 {d4, d5}, [%0, :64]!\n"
"vld1.16 {d8, d9}, [%1, :128]!\n"
@@ -202,16 +202,16 @@ static inline void _sbc_analyze_eight_neon(const int16_t *in, int32_t *out,
"vst1.32 {d0, d1, d2, d3}, [%2, :128]\n"
: "+r" (in), "+r" (consts)
: "r" (out),
- "i" (SBC_PROTO_FIXED8_SCALE)
+ "i" (SBC_PROTO_FIXED8_SCALE)
: "memory",
- "d0", "d1", "d2", "d3", "d4", "d5",
- "d6", "d7", "d8", "d9", "d10", "d11",
- "d12", "d13", "d14", "d15", "d16", "d17",
- "d18", "d19");
+ "d0", "d1", "d2", "d3", "d4", "d5",
+ "d6", "d7", "d8", "d9", "d10", "d11",
+ "d12", "d13", "d14", "d15", "d16", "d17",
+ "d18", "d19");
}
static inline void sbc_analyze_4b_4s_neon(int16_t *pcm, int16_t *x,
- int32_t *out, int out_stride)
+ int32_t *out, int out_stride)
{
/* Fetch audio samples and do input data reordering for SIMD */
x[64] = x[0] = pcm[8 + 7];
@@ -243,7 +243,7 @@ static inline void sbc_analyze_4b_4s_neon(int16_t *pcm, int16_t *x,
}
static inline void sbc_analyze_4b_8s_neon(int16_t *pcm, int16_t *x,
- int32_t *out, int out_stride)
+ int32_t *out, int out_stride)
{
/* Fetch audio samples and do input data reordering for SIMD */
x[128] = x[0] = pcm[16 + 15];
diff --git a/sbc/sbc_tables.h b/sbc/sbc_tables.h
index 7c2af076..bed7e2ee 100644
--- a/sbc/sbc_tables.h
+++ b/sbc/sbc_tables.h
@@ -161,30 +161,30 @@ static const int32_t synmatrix8[16][8] = {
((FIXED_A) 1 << (sizeof(FIXED_T) * CHAR_BIT - 1)) + 0.5)
#define F(x) F_PROTO4(x)
static const FIXED_T _sbc_proto_fixed4[40] = {
- F(0.00000000E+00), F(5.36548976E-04),
+ F(0.00000000E+00), F(5.36548976E-04),
-F(1.49188357E-03), F(2.73370904E-03),
- F(3.83720193E-03), F(3.89205149E-03),
- F(1.86581691E-03), F(3.06012286E-03),
+ F(3.83720193E-03), F(3.89205149E-03),
+ F(1.86581691E-03), F(3.06012286E-03),
- F(1.09137620E-02), F(2.04385087E-02),
+ F(1.09137620E-02), F(2.04385087E-02),
-F(2.88757392E-02), F(3.21939290E-02),
- F(2.58767811E-02), F(6.13245186E-03),
+ F(2.58767811E-02), F(6.13245186E-03),
-F(2.88217274E-02), F(7.76463494E-02),
- F(1.35593274E-01), F(1.94987841E-01),
+ F(1.35593274E-01), F(1.94987841E-01),
-F(2.46636662E-01), F(2.81828203E-01),
- F(2.94315332E-01), F(2.81828203E-01),
- F(2.46636662E-01), -F(1.94987841E-01),
+ F(2.94315332E-01), F(2.81828203E-01),
+ F(2.46636662E-01), -F(1.94987841E-01),
-F(1.35593274E-01), -F(7.76463494E-02),
- F(2.88217274E-02), F(6.13245186E-03),
- F(2.58767811E-02), F(3.21939290E-02),
- F(2.88757392E-02), -F(2.04385087E-02),
+ F(2.88217274E-02), F(6.13245186E-03),
+ F(2.58767811E-02), F(3.21939290E-02),
+ F(2.88757392E-02), -F(2.04385087E-02),
-F(1.09137620E-02), -F(3.06012286E-03),
-F(1.86581691E-03), F(3.89205149E-03),
- F(3.83720193E-03), F(2.73370904E-03),
- F(1.49188357E-03), -F(5.36548976E-04),
+ F(3.83720193E-03), F(2.73370904E-03),
+ F(1.49188357E-03), -F(5.36548976E-04),
};
#undef F
@@ -211,8 +211,8 @@ static const FIXED_T _sbc_proto_fixed4[40] = {
((FIXED_A) 1 << (sizeof(FIXED_T) * CHAR_BIT - 1)) + 0.5)
#define F(x) F_COS4(x)
static const FIXED_T cos_table_fixed_4[32] = {
- F(0.7071067812), F(0.9238795325), -F(1.0000000000), F(0.9238795325),
- F(0.7071067812), F(0.3826834324), F(0.0000000000), F(0.3826834324),
+ F(0.7071067812), F(0.9238795325), -F(1.0000000000), F(0.9238795325),
+ F(0.7071067812), F(0.3826834324), F(0.0000000000), F(0.3826834324),
-F(0.7071067812), F(0.3826834324), -F(1.0000000000), F(0.3826834324),
-F(0.7071067812), -F(0.9238795325), -F(0.0000000000), -F(0.9238795325),
@@ -220,8 +220,8 @@ static const FIXED_T cos_table_fixed_4[32] = {
-F(0.7071067812), -F(0.3826834324), -F(1.0000000000), -F(0.3826834324),
-F(0.7071067812), F(0.9238795325), F(0.0000000000), F(0.9238795325),
- F(0.7071067812), -F(0.9238795325), -F(1.0000000000), -F(0.9238795325),
- F(0.7071067812), -F(0.3826834324), -F(0.0000000000), -F(0.3826834324),
+ F(0.7071067812), -F(0.9238795325), -F(1.0000000000), -F(0.9238795325),
+ F(0.7071067812), -F(0.3826834324), -F(0.0000000000), -F(0.3826834324),
};
#undef F
@@ -239,49 +239,49 @@ static const FIXED_T cos_table_fixed_4[32] = {
((FIXED_A) 1 << (sizeof(FIXED_T) * CHAR_BIT - 1)) + 0.5)
#define F(x) F_PROTO8(x)
static const FIXED_T _sbc_proto_fixed8[80] = {
- F(0.00000000E+00), F(1.56575398E-04),
- F(3.43256425E-04), F(5.54620202E-04),
+ F(0.00000000E+00), F(1.56575398E-04),
+ F(3.43256425E-04), F(5.54620202E-04),
-F(8.23919506E-04), F(1.13992507E-03),
- F(1.47640169E-03), F(1.78371725E-03),
- F(2.01182542E-03), F(2.10371989E-03),
- F(1.99454554E-03), F(1.61656283E-03),
- F(9.02154502E-04), F(1.78805361E-04),
- F(1.64973098E-03), F(3.49717454E-03),
-
- F(5.65949473E-03), F(8.02941163E-03),
- F(1.04584443E-02), F(1.27472335E-02),
+ F(1.47640169E-03), F(1.78371725E-03),
+ F(2.01182542E-03), F(2.10371989E-03),
+ F(1.99454554E-03), F(1.61656283E-03),
+ F(9.02154502E-04), F(1.78805361E-04),
+ F(1.64973098E-03), F(3.49717454E-03),
+
+ F(5.65949473E-03), F(8.02941163E-03),
+ F(1.04584443E-02), F(1.27472335E-02),
-F(1.46525263E-02), F(1.59045603E-02),
- F(1.62208471E-02), F(1.53184106E-02),
- F(1.29371806E-02), F(8.85757540E-03),
- F(2.92408442E-03), -F(4.91578024E-03),
+ F(1.62208471E-02), F(1.53184106E-02),
+ F(1.29371806E-02), F(8.85757540E-03),
+ F(2.92408442E-03), -F(4.91578024E-03),
-F(1.46404076E-02), F(2.61098752E-02),
- F(3.90751381E-02), F(5.31873032E-02),
+ F(3.90751381E-02), F(5.31873032E-02),
- F(6.79989431E-02), F(8.29847578E-02),
- F(9.75753918E-02), F(1.11196689E-01),
+ F(6.79989431E-02), F(8.29847578E-02),
+ F(9.75753918E-02), F(1.11196689E-01),
-F(1.23264548E-01), F(1.33264415E-01),
- F(1.40753505E-01), F(1.45389847E-01),
- F(1.46955068E-01), F(1.45389847E-01),
- F(1.40753505E-01), F(1.33264415E-01),
- F(1.23264548E-01), -F(1.11196689E-01),
+ F(1.40753505E-01), F(1.45389847E-01),
+ F(1.46955068E-01), F(1.45389847E-01),
+ F(1.40753505E-01), F(1.33264415E-01),
+ F(1.23264548E-01), -F(1.11196689E-01),
-F(9.75753918E-02), -F(8.29847578E-02),
-F(6.79989431E-02), -F(5.31873032E-02),
-F(3.90751381E-02), -F(2.61098752E-02),
- F(1.46404076E-02), -F(4.91578024E-03),
- F(2.92408442E-03), F(8.85757540E-03),
- F(1.29371806E-02), F(1.53184106E-02),
- F(1.62208471E-02), F(1.59045603E-02),
- F(1.46525263E-02), -F(1.27472335E-02),
+ F(1.46404076E-02), -F(4.91578024E-03),
+ F(2.92408442E-03), F(8.85757540E-03),
+ F(1.29371806E-02), F(1.53184106E-02),
+ F(1.62208471E-02), F(1.59045603E-02),
+ F(1.46525263E-02), -F(1.27472335E-02),
-F(1.04584443E-02), -F(8.02941163E-03),
-F(5.65949473E-03), -F(3.49717454E-03),
-F(1.64973098E-03), -F(1.78805361E-04),
-F(9.02154502E-04), F(1.61656283E-03),
- F(1.99454554E-03), F(2.10371989E-03),
- F(2.01182542E-03), F(1.78371725E-03),
- F(1.47640169E-03), F(1.13992507E-03),
- F(8.23919506E-04), -F(5.54620202E-04),
+ F(1.99454554E-03), F(2.10371989E-03),
+ F(2.01182542E-03), F(1.78371725E-03),
+ F(1.47640169E-03), F(1.13992507E-03),
+ F(8.23919506E-04), -F(5.54620202E-04),
-F(3.43256425E-04), -F(1.56575398E-04),
};
#undef F
@@ -308,10 +308,10 @@ static const FIXED_T _sbc_proto_fixed8[80] = {
((FIXED_A) 1 << (sizeof(FIXED_T) * CHAR_BIT - 1)) + 0.5)
#define F(x) F_COS8(x)
static const FIXED_T cos_table_fixed_8[128] = {
- F(0.7071067812), F(0.8314696123), F(0.9238795325), F(0.9807852804),
+ F(0.7071067812), F(0.8314696123), F(0.9238795325), F(0.9807852804),
-F(1.0000000000), F(0.9807852804), F(0.9238795325), F(0.8314696123),
- F(0.7071067812), F(0.5555702330), F(0.3826834324), F(0.1950903220),
- F(0.0000000000), F(0.1950903220), F(0.3826834324), F(0.5555702330),
+ F(0.7071067812), F(0.5555702330), F(0.3826834324), F(0.1950903220),
+ F(0.0000000000), F(0.1950903220), F(0.3826834324), F(0.5555702330),
-F(0.7071067812), -F(0.1950903220), F(0.3826834324), F(0.8314696123),
-F(1.0000000000), F(0.8314696123), F(0.3826834324), -F(0.1950903220),
@@ -321,17 +321,17 @@ static const FIXED_T cos_table_fixed_8[128] = {
-F(0.7071067812), -F(0.9807852804), -F(0.3826834324), F(0.5555702330),
-F(1.0000000000), F(0.5555702330), -F(0.3826834324), -F(0.9807852804),
-F(0.7071067812), F(0.1950903220), F(0.9238795325), F(0.8314696123),
- F(0.0000000000), F(0.8314696123), F(0.9238795325), F(0.1950903220),
+ F(0.0000000000), F(0.8314696123), F(0.9238795325), F(0.1950903220),
- F(0.7071067812), -F(0.5555702330), -F(0.9238795325), F(0.1950903220),
+ F(0.7071067812), -F(0.5555702330), -F(0.9238795325), F(0.1950903220),
-F(1.0000000000), F(0.1950903220), -F(0.9238795325), -F(0.5555702330),
- F(0.7071067812), F(0.8314696123), -F(0.3826834324), -F(0.9807852804),
+ F(0.7071067812), F(0.8314696123), -F(0.3826834324), -F(0.9807852804),
-F(0.0000000000), -F(0.9807852804), -F(0.3826834324), F(0.8314696123),
- F(0.7071067812), F(0.5555702330), -F(0.9238795325), -F(0.1950903220),
+ F(0.7071067812), F(0.5555702330), -F(0.9238795325), -F(0.1950903220),
-F(1.0000000000), -F(0.1950903220), -F(0.9238795325), F(0.5555702330),
- F(0.7071067812), -F(0.8314696123), -F(0.3826834324), F(0.9807852804),
- F(0.0000000000), F(0.9807852804), -F(0.3826834324), -F(0.8314696123),
+ F(0.7071067812), -F(0.8314696123), -F(0.3826834324), F(0.9807852804),
+ F(0.0000000000), F(0.9807852804), -F(0.3826834324), -F(0.8314696123),
-F(0.7071067812), F(0.9807852804), -F(0.3826834324), -F(0.5555702330),
-F(1.0000000000), -F(0.5555702330), -F(0.3826834324), F(0.9807852804),
@@ -343,9 +343,9 @@ static const FIXED_T cos_table_fixed_8[128] = {
-F(0.7071067812), F(0.9807852804), -F(0.9238795325), F(0.5555702330),
-F(0.0000000000), F(0.5555702330), -F(0.9238795325), F(0.9807852804),
- F(0.7071067812), -F(0.8314696123), F(0.9238795325), -F(0.9807852804),
+ F(0.7071067812), -F(0.8314696123), F(0.9238795325), -F(0.9807852804),
-F(1.0000000000), -F(0.9807852804), F(0.9238795325), -F(0.8314696123),
- F(0.7071067812), -F(0.5555702330), F(0.3826834324), -F(0.1950903220),
+ F(0.7071067812), -F(0.5555702330), F(0.3826834324), -F(0.1950903220),
-F(0.0000000000), -F(0.1950903220), F(0.3826834324), -F(0.5555702330),
};
#undef F
@@ -376,134 +376,134 @@ static const FIXED_T cos_table_fixed_8[128] = {
static const FIXED_T SBC_ALIGNED analysis_consts_fixed4_simd_even[40 + 16] = {
#define F(x) F_PROTO4(x)
- F(0.00000000E+00), F(3.83720193E-03),
- F(5.36548976E-04), F(2.73370904E-03),
- F(3.06012286E-03), F(3.89205149E-03),
- F(0.00000000E+00), -F(1.49188357E-03),
- F(1.09137620E-02), F(2.58767811E-02),
- F(2.04385087E-02), F(3.21939290E-02),
- F(7.76463494E-02), F(6.13245186E-03),
- F(0.00000000E+00), -F(2.88757392E-02),
- F(1.35593274E-01), F(2.94315332E-01),
- F(1.94987841E-01), F(2.81828203E-01),
+ F(0.00000000E+00), F(3.83720193E-03),
+ F(5.36548976E-04), F(2.73370904E-03),
+ F(3.06012286E-03), F(3.89205149E-03),
+ F(0.00000000E+00), -F(1.49188357E-03),
+ F(1.09137620E-02), F(2.58767811E-02),
+ F(2.04385087E-02), F(3.21939290E-02),
+ F(7.76463494E-02), F(6.13245186E-03),
+ F(0.00000000E+00), -F(2.88757392E-02),
+ F(1.35593274E-01), F(2.94315332E-01),
+ F(1.94987841E-01), F(2.81828203E-01),
-F(1.94987841E-01), F(2.81828203E-01),
- F(0.00000000E+00), -F(2.46636662E-01),
+ F(0.00000000E+00), -F(2.46636662E-01),
-F(1.35593274E-01), F(2.58767811E-02),
-F(7.76463494E-02), F(6.13245186E-03),
-F(2.04385087E-02), F(3.21939290E-02),
- F(0.00000000E+00), F(2.88217274E-02),
+ F(0.00000000E+00), F(2.88217274E-02),
-F(1.09137620E-02), F(3.83720193E-03),
-F(3.06012286E-03), F(3.89205149E-03),
-F(5.36548976E-04), F(2.73370904E-03),
- F(0.00000000E+00), -F(1.86581691E-03),
+ F(0.00000000E+00), -F(1.86581691E-03),
#undef F
#define F(x) F_COS4(x)
- F(0.7071067812), F(0.9238795325),
+ F(0.7071067812), F(0.9238795325),
-F(0.7071067812), F(0.3826834324),
-F(0.7071067812), -F(0.3826834324),
- F(0.7071067812), -F(0.9238795325),
- F(0.3826834324), -F(1.0000000000),
+ F(0.7071067812), -F(0.9238795325),
+ F(0.3826834324), -F(1.0000000000),
-F(0.9238795325), -F(1.0000000000),
- F(0.9238795325), -F(1.0000000000),
+ F(0.9238795325), -F(1.0000000000),
-F(0.3826834324), -F(1.0000000000),
#undef F
};
static const FIXED_T SBC_ALIGNED analysis_consts_fixed4_simd_odd[40 + 16] = {
#define F(x) F_PROTO4(x)
- F(2.73370904E-03), F(5.36548976E-04),
+ F(2.73370904E-03), F(5.36548976E-04),
-F(1.49188357E-03), F(0.00000000E+00),
- F(3.83720193E-03), F(1.09137620E-02),
- F(3.89205149E-03), F(3.06012286E-03),
- F(3.21939290E-02), F(2.04385087E-02),
+ F(3.83720193E-03), F(1.09137620E-02),
+ F(3.89205149E-03), F(3.06012286E-03),
+ F(3.21939290E-02), F(2.04385087E-02),
-F(2.88757392E-02), F(0.00000000E+00),
- F(2.58767811E-02), F(1.35593274E-01),
- F(6.13245186E-03), F(7.76463494E-02),
- F(2.81828203E-01), F(1.94987841E-01),
+ F(2.58767811E-02), F(1.35593274E-01),
+ F(6.13245186E-03), F(7.76463494E-02),
+ F(2.81828203E-01), F(1.94987841E-01),
-F(2.46636662E-01), F(0.00000000E+00),
- F(2.94315332E-01), -F(1.35593274E-01),
- F(2.81828203E-01), -F(1.94987841E-01),
- F(6.13245186E-03), -F(7.76463494E-02),
- F(2.88217274E-02), F(0.00000000E+00),
- F(2.58767811E-02), -F(1.09137620E-02),
- F(3.21939290E-02), -F(2.04385087E-02),
- F(3.89205149E-03), -F(3.06012286E-03),
+ F(2.94315332E-01), -F(1.35593274E-01),
+ F(2.81828203E-01), -F(1.94987841E-01),
+ F(6.13245186E-03), -F(7.76463494E-02),
+ F(2.88217274E-02), F(0.00000000E+00),
+ F(2.58767811E-02), -F(1.09137620E-02),
+ F(3.21939290E-02), -F(2.04385087E-02),
+ F(3.89205149E-03), -F(3.06012286E-03),
-F(1.86581691E-03), F(0.00000000E+00),
- F(3.83720193E-03), F(0.00000000E+00),
- F(2.73370904E-03), -F(5.36548976E-04),
+ F(3.83720193E-03), F(0.00000000E+00),
+ F(2.73370904E-03), -F(5.36548976E-04),
#undef F
#define F(x) F_COS4(x)
- F(0.9238795325), -F(1.0000000000),
- F(0.3826834324), -F(1.0000000000),
+ F(0.9238795325), -F(1.0000000000),
+ F(0.3826834324), -F(1.0000000000),
-F(0.3826834324), -F(1.0000000000),
-F(0.9238795325), -F(1.0000000000),
- F(0.7071067812), F(0.3826834324),
+ F(0.7071067812), F(0.3826834324),
-F(0.7071067812), -F(0.9238795325),
-F(0.7071067812), F(0.9238795325),
- F(0.7071067812), -F(0.3826834324),
+ F(0.7071067812), -F(0.3826834324),
#undef F
};
static const FIXED_T SBC_ALIGNED analysis_consts_fixed8_simd_even[80 + 64] = {
#define F(x) F_PROTO8(x)
- F(0.00000000E+00), F(2.01182542E-03),
- F(1.56575398E-04), F(1.78371725E-03),
- F(3.43256425E-04), F(1.47640169E-03),
- F(5.54620202E-04), F(1.13992507E-03),
+ F(0.00000000E+00), F(2.01182542E-03),
+ F(1.56575398E-04), F(1.78371725E-03),
+ F(3.43256425E-04), F(1.47640169E-03),
+ F(5.54620202E-04), F(1.13992507E-03),
-F(8.23919506E-04), F(0.00000000E+00),
- F(2.10371989E-03), F(3.49717454E-03),
- F(1.99454554E-03), F(1.64973098E-03),
- F(1.61656283E-03), F(1.78805361E-04),
- F(5.65949473E-03), F(1.29371806E-02),
- F(8.02941163E-03), F(1.53184106E-02),
- F(1.04584443E-02), F(1.62208471E-02),
- F(1.27472335E-02), F(1.59045603E-02),
+ F(2.10371989E-03), F(3.49717454E-03),
+ F(1.99454554E-03), F(1.64973098E-03),
+ F(1.61656283E-03), F(1.78805361E-04),
+ F(5.65949473E-03), F(1.29371806E-02),
+ F(8.02941163E-03), F(1.53184106E-02),
+ F(1.04584443E-02), F(1.62208471E-02),
+ F(1.27472335E-02), F(1.59045603E-02),
-F(1.46525263E-02), F(0.00000000E+00),
- F(8.85757540E-03), F(5.31873032E-02),
- F(2.92408442E-03), F(3.90751381E-02),
+ F(8.85757540E-03), F(5.31873032E-02),
+ F(2.92408442E-03), F(3.90751381E-02),
-F(4.91578024E-03), F(2.61098752E-02),
- F(6.79989431E-02), F(1.46955068E-01),
- F(8.29847578E-02), F(1.45389847E-01),
- F(9.75753918E-02), F(1.40753505E-01),
- F(1.11196689E-01), F(1.33264415E-01),
+ F(6.79989431E-02), F(1.46955068E-01),
+ F(8.29847578E-02), F(1.45389847E-01),
+ F(9.75753918E-02), F(1.40753505E-01),
+ F(1.11196689E-01), F(1.33264415E-01),
-F(1.23264548E-01), F(0.00000000E+00),
- F(1.45389847E-01), -F(8.29847578E-02),
- F(1.40753505E-01), -F(9.75753918E-02),
- F(1.33264415E-01), -F(1.11196689E-01),
+ F(1.45389847E-01), -F(8.29847578E-02),
+ F(1.40753505E-01), -F(9.75753918E-02),
+ F(1.33264415E-01), -F(1.11196689E-01),
-F(6.79989431E-02), F(1.29371806E-02),
-F(5.31873032E-02), F(8.85757540E-03),
-F(3.90751381E-02), F(2.92408442E-03),
-F(2.61098752E-02), -F(4.91578024E-03),
- F(1.46404076E-02), F(0.00000000E+00),
- F(1.53184106E-02), -F(8.02941163E-03),
- F(1.62208471E-02), -F(1.04584443E-02),
- F(1.59045603E-02), -F(1.27472335E-02),
+ F(1.46404076E-02), F(0.00000000E+00),
+ F(1.53184106E-02), -F(8.02941163E-03),
+ F(1.62208471E-02), -F(1.04584443E-02),
+ F(1.59045603E-02), -F(1.27472335E-02),
-F(5.65949473E-03), F(2.01182542E-03),
-F(3.49717454E-03), F(2.10371989E-03),
-F(1.64973098E-03), F(1.99454554E-03),
-F(1.78805361E-04), F(1.61656283E-03),
-F(9.02154502E-04), F(0.00000000E+00),
- F(1.78371725E-03), -F(1.56575398E-04),
- F(1.47640169E-03), -F(3.43256425E-04),
- F(1.13992507E-03), -F(5.54620202E-04),
+ F(1.78371725E-03), -F(1.56575398E-04),
+ F(1.47640169E-03), -F(3.43256425E-04),
+ F(1.13992507E-03), -F(5.54620202E-04),
#undef F
#define F(x) F_COS8(x)
- F(0.7071067812), F(0.8314696123),
+ F(0.7071067812), F(0.8314696123),
-F(0.7071067812), -F(0.1950903220),
-F(0.7071067812), -F(0.9807852804),
- F(0.7071067812), -F(0.5555702330),
- F(0.7071067812), F(0.5555702330),
+ F(0.7071067812), -F(0.5555702330),
+ F(0.7071067812), F(0.5555702330),
-F(0.7071067812), F(0.9807852804),
-F(0.7071067812), F(0.1950903220),
- F(0.7071067812), -F(0.8314696123),
- F(0.9238795325), F(0.9807852804),
- F(0.3826834324), F(0.8314696123),
+ F(0.7071067812), -F(0.8314696123),
+ F(0.9238795325), F(0.9807852804),
+ F(0.3826834324), F(0.8314696123),
-F(0.3826834324), F(0.5555702330),
-F(0.9238795325), F(0.1950903220),
-F(0.9238795325), -F(0.1950903220),
-F(0.3826834324), -F(0.5555702330),
- F(0.3826834324), -F(0.8314696123),
- F(0.9238795325), -F(0.9807852804),
+ F(0.3826834324), -F(0.8314696123),
+ F(0.9238795325), -F(0.9807852804),
-F(1.0000000000), F(0.5555702330),
-F(1.0000000000), -F(0.9807852804),
-F(1.0000000000), F(0.1950903220),
@@ -512,59 +512,59 @@ static const FIXED_T SBC_ALIGNED analysis_consts_fixed8_simd_even[80 + 64] = {
-F(1.0000000000), -F(0.1950903220),
-F(1.0000000000), F(0.9807852804),
-F(1.0000000000), -F(0.5555702330),
- F(0.3826834324), F(0.1950903220),
+ F(0.3826834324), F(0.1950903220),
-F(0.9238795325), -F(0.5555702330),
- F(0.9238795325), F(0.8314696123),
+ F(0.9238795325), F(0.8314696123),
-F(0.3826834324), -F(0.9807852804),
-F(0.3826834324), F(0.9807852804),
- F(0.9238795325), -F(0.8314696123),
+ F(0.9238795325), -F(0.8314696123),
-F(0.9238795325), F(0.5555702330),
- F(0.3826834324), -F(0.1950903220),
+ F(0.3826834324), -F(0.1950903220),
#undef F
};
static const FIXED_T SBC_ALIGNED analysis_consts_fixed8_simd_odd[80 + 64] = {
#define F(x) F_PROTO8(x)
- F(0.00000000E+00), -F(8.23919506E-04),
- F(1.56575398E-04), F(1.78371725E-03),
- F(3.43256425E-04), F(1.47640169E-03),
- F(5.54620202E-04), F(1.13992507E-03),
- F(2.01182542E-03), F(5.65949473E-03),
- F(2.10371989E-03), F(3.49717454E-03),
- F(1.99454554E-03), F(1.64973098E-03),
- F(1.61656283E-03), F(1.78805361E-04),
- F(0.00000000E+00), -F(1.46525263E-02),
- F(8.02941163E-03), F(1.53184106E-02),
- F(1.04584443E-02), F(1.62208471E-02),
- F(1.27472335E-02), F(1.59045603E-02),
- F(1.29371806E-02), F(6.79989431E-02),
- F(8.85757540E-03), F(5.31873032E-02),
- F(2.92408442E-03), F(3.90751381E-02),
+ F(0.00000000E+00), -F(8.23919506E-04),
+ F(1.56575398E-04), F(1.78371725E-03),
+ F(3.43256425E-04), F(1.47640169E-03),
+ F(5.54620202E-04), F(1.13992507E-03),
+ F(2.01182542E-03), F(5.65949473E-03),
+ F(2.10371989E-03), F(3.49717454E-03),
+ F(1.99454554E-03), F(1.64973098E-03),
+ F(1.61656283E-03), F(1.78805361E-04),
+ F(0.00000000E+00), -F(1.46525263E-02),
+ F(8.02941163E-03), F(1.53184106E-02),
+ F(1.04584443E-02), F(1.62208471E-02),
+ F(1.27472335E-02), F(1.59045603E-02),
+ F(1.29371806E-02), F(6.79989431E-02),
+ F(8.85757540E-03), F(5.31873032E-02),
+ F(2.92408442E-03), F(3.90751381E-02),
-F(4.91578024E-03), F(2.61098752E-02),
- F(0.00000000E+00), -F(1.23264548E-01),
- F(8.29847578E-02), F(1.45389847E-01),
- F(9.75753918E-02), F(1.40753505E-01),
- F(1.11196689E-01), F(1.33264415E-01),
- F(1.46955068E-01), -F(6.79989431E-02),
- F(1.45389847E-01), -F(8.29847578E-02),
- F(1.40753505E-01), -F(9.75753918E-02),
- F(1.33264415E-01), -F(1.11196689E-01),
- F(0.00000000E+00), F(1.46404076E-02),
+ F(0.00000000E+00), -F(1.23264548E-01),
+ F(8.29847578E-02), F(1.45389847E-01),
+ F(9.75753918E-02), F(1.40753505E-01),
+ F(1.11196689E-01), F(1.33264415E-01),
+ F(1.46955068E-01), -F(6.79989431E-02),
+ F(1.45389847E-01), -F(8.29847578E-02),
+ F(1.40753505E-01), -F(9.75753918E-02),
+ F(1.33264415E-01), -F(1.11196689E-01),
+ F(0.00000000E+00), F(1.46404076E-02),
-F(5.31873032E-02), F(8.85757540E-03),
-F(3.90751381E-02), F(2.92408442E-03),
-F(2.61098752E-02), -F(4.91578024E-03),
- F(1.29371806E-02), -F(5.65949473E-03),
- F(1.53184106E-02), -F(8.02941163E-03),
- F(1.62208471E-02), -F(1.04584443E-02),
- F(1.59045603E-02), -F(1.27472335E-02),
- F(0.00000000E+00), -F(9.02154502E-04),
+ F(1.29371806E-02), -F(5.65949473E-03),
+ F(1.53184106E-02), -F(8.02941163E-03),
+ F(1.62208471E-02), -F(1.04584443E-02),
+ F(1.59045603E-02), -F(1.27472335E-02),
+ F(0.00000000E+00), -F(9.02154502E-04),
-F(3.49717454E-03), F(2.10371989E-03),
-F(1.64973098E-03), F(1.99454554E-03),
-F(1.78805361E-04), F(1.61656283E-03),
- F(2.01182542E-03), F(0.00000000E+00),
- F(1.78371725E-03), -F(1.56575398E-04),
- F(1.47640169E-03), -F(3.43256425E-04),
- F(1.13992507E-03), -F(5.54620202E-04),
+ F(2.01182542E-03), F(0.00000000E+00),
+ F(1.78371725E-03), -F(1.56575398E-04),
+ F(1.47640169E-03), -F(3.43256425E-04),
+ F(1.13992507E-03), -F(5.54620202E-04),
#undef F
#define F(x) F_COS8(x)
-F(1.0000000000), F(0.8314696123),
@@ -575,29 +575,29 @@ static const FIXED_T SBC_ALIGNED analysis_consts_fixed8_simd_odd[80 + 64] = {
-F(1.0000000000), F(0.9807852804),
-F(1.0000000000), F(0.1950903220),
-F(1.0000000000), -F(0.8314696123),
- F(0.9238795325), F(0.9807852804),
- F(0.3826834324), F(0.8314696123),
+ F(0.9238795325), F(0.9807852804),
+ F(0.3826834324), F(0.8314696123),
-F(0.3826834324), F(0.5555702330),
-F(0.9238795325), F(0.1950903220),
-F(0.9238795325), -F(0.1950903220),
-F(0.3826834324), -F(0.5555702330),
- F(0.3826834324), -F(0.8314696123),
- F(0.9238795325), -F(0.9807852804),
- F(0.7071067812), F(0.5555702330),
+ F(0.3826834324), -F(0.8314696123),
+ F(0.9238795325), -F(0.9807852804),
+ F(0.7071067812), F(0.5555702330),
-F(0.7071067812), -F(0.9807852804),
-F(0.7071067812), F(0.1950903220),
- F(0.7071067812), F(0.8314696123),
- F(0.7071067812), -F(0.8314696123),
+ F(0.7071067812), F(0.8314696123),
+ F(0.7071067812), -F(0.8314696123),
-F(0.7071067812), -F(0.1950903220),
-F(0.7071067812), F(0.9807852804),
- F(0.7071067812), -F(0.5555702330),
- F(0.3826834324), F(0.1950903220),
+ F(0.7071067812), -F(0.5555702330),
+ F(0.3826834324), F(0.1950903220),
-F(0.9238795325), -F(0.5555702330),
- F(0.9238795325), F(0.8314696123),
+ F(0.9238795325), F(0.8314696123),
-F(0.3826834324), -F(0.9807852804),
-F(0.3826834324), F(0.9807852804),
- F(0.9238795325), -F(0.8314696123),
+ F(0.9238795325), -F(0.8314696123),
-F(0.9238795325), F(0.5555702330),
- F(0.3826834324), -F(0.1950903220),
+ F(0.3826834324), -F(0.1950903220),
#undef F
};