OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
dqchan.c File Reference
#include "coder.h"
#include "assembly.h"

Go to the source code of this file.

Macros

#define SQRTHALF   0x5a82799a
 

Typedefs

typedef int ARRAY3[3]
 

Functions

int DequantChannel (int *sampleBuf, int *workBuf, int *nonZeroBound, FrameHeader *fh, SideInfoSub *sis, ScaleFactorInfoSub *sfis, CriticalBandInfo *cbi)
 

Variables

int pow14 [4]
 
int pow43_14 [4][16]
 
int pow43 []
 
int poly43lo [5] = { 0x29a0bda9, 0xb02e4828, 0x5957aa1b, 0x236c498d, 0xff581859 }
 
int poly43hi [5] = { 0x10852163, 0xd333f6a4, 0x46e9408b, 0x27c2cef0, 0xfef577b4 }
 
int pow2exp [8] = { 14, 13, 11, 10, 9, 7, 6, 5 }
 
int pow2frac [8]
 

Macro Definition Documentation

◆ SQRTHALF

#define SQRTHALF   0x5a82799a

Definition at line 97 of file dqchan.c.

Typedef Documentation

◆ ARRAY3

typedef int ARRAY3[3]

Definition at line 47 of file dqchan.c.

Function Documentation

◆ DequantChannel()

int DequantChannel ( int * sampleBuf,
int * workBuf,
int * nonZeroBound,
FrameHeader * fh,
SideInfoSub * sis,
ScaleFactorInfoSub * sfis,
CriticalBandInfo * cbi )

Definition at line 244 of file dqchan.c.

Variable Documentation

◆ poly43hi

int poly43hi[5] = { 0x10852163, 0xd333f6a4, 0x46e9408b, 0x27c2cef0, 0xfef577b4 }

Definition at line 108 of file dqchan.c.

◆ poly43lo

int poly43lo[5] = { 0x29a0bda9, 0xb02e4828, 0x5957aa1b, 0x236c498d, 0xff581859 }

Definition at line 107 of file dqchan.c.

◆ pow14

int pow14[4]
Initial value:
= {
0x7fffffff, 0x6ba27e65, 0x5a82799a, 0x4c1bf829
}

Definition at line 53 of file dqchan.c.

◆ pow2exp

int pow2exp[8] = { 14, 13, 11, 10, 9, 7, 6, 5 }

Definition at line 111 of file dqchan.c.

◆ pow2frac

int pow2frac[8]
Initial value:
= {
0x6597fa94, 0x50a28be6, 0x7fffffff, 0x6597fa94,
0x50a28be6, 0x7fffffff, 0x6597fa94, 0x50a28be6
}

Definition at line 113 of file dqchan.c.

◆ pow43

int pow43[]
Initial value:
= {
0x1428a2fa, 0x15db1bd6, 0x1796302c, 0x19598d85,
0x1b24e8bb, 0x1cf7fcfa, 0x1ed28af2, 0x20b4582a,
0x229d2e6e, 0x248cdb55, 0x26832fda, 0x28800000,
0x2a832287, 0x2c8c70a8, 0x2e9bc5d8, 0x30b0ff99,
0x32cbfd4a, 0x34eca001, 0x3712ca62, 0x393e6088,
0x3b6f47e0, 0x3da56717, 0x3fe0a5fc, 0x4220ed72,
0x44662758, 0x46b03e7c, 0x48ff1e87, 0x4b52b3f3,
0x4daaebfd, 0x5007b497, 0x5268fc62, 0x54ceb29c,
0x5738c721, 0x59a72a59, 0x5c19cd35, 0x5e90a129,
0x610b9821, 0x638aa47f, 0x660db90f, 0x6894c90b,
0x6b1fc80c, 0x6daeaa0d, 0x70416360, 0x72d7e8b0,
0x75722ef9, 0x78102b85, 0x7ab1d3ec, 0x7d571e09,
}

Definition at line 81 of file dqchan.c.

◆ pow43_14

int pow43_14[4][16]
Initial value:
= {
{ 0x00000000, 0x10000000, 0x285145f3, 0x453a5cdb,
0x0cb2ff53, 0x111989d6, 0x15ce31c8, 0x1ac7f203,
0x20000000, 0x257106b9, 0x2b16b4a3, 0x30ed74b4,
0x36f23fa5, 0x3d227bd3, 0x437be656, 0x49fc823c, },
{ 0x00000000, 0x0d744fcd, 0x21e71f26, 0x3a36abd9,
0x0aadc084, 0x0e610e6e, 0x12560c1d, 0x168523cf,
0x1ae89f99, 0x1f7c03a4, 0x243bae49, 0x29249c67,
0x2e34420f, 0x33686f85, 0x38bf3dff, 0x3e370182, },
{ 0x00000000, 0x0b504f33, 0x1c823e07, 0x30f39a55,
0x08facd62, 0x0c176319, 0x0f6b3522, 0x12efe2ad,
0x16a09e66, 0x1a79a317, 0x1e77e301, 0x2298d5b4,
0x26da56fc, 0x2b3a902a, 0x2fb7e7e7, 0x3450f650, },
{ 0x00000000, 0x09837f05, 0x17f910d7, 0x2929c7a9,
0x078d0dfa, 0x0a2ae661, 0x0cf73154, 0x0fec91cb,
0x1306fe0a, 0x16434a6c, 0x199ee595, 0x1d17ae3d,
0x20abd76a, 0x2459d551, 0x28204fbb, 0x2bfe1808, },
}

Definition at line 58 of file dqchan.c.