OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
mp3tabs.c File Reference
#include "mp3common.h"

Go to the source code of this file.

Variables

const int samplerateTab [3][3]
 
const short bitrateTab [3][3][15]
 
const short samplesPerFrameTab [3][3]
 
const short bitsPerSlotTab [3] = {32, 8, 8}
 
const short sideBytesTab [3][2]
 
const short slotTab [3][3][15]
 
const SFBandTable sfBandTable [3][3]
 

Variable Documentation

◆ bitrateTab

const short bitrateTab[3][3][15]
Initial value:
= {
{
{ 0, 32, 64, 96,128,160,192,224,256,288,320,352,384,416,448},
{ 0, 32, 48, 56, 64, 80, 96,112,128,160,192,224,256,320,384},
{ 0, 32, 40, 48, 56, 64, 80, 96,112,128,160,192,224,256,320},
},
{
{ 0, 32, 48, 56, 64, 80, 96,112,128,144,160,176,192,224,256},
{ 0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96,112,128,144,160},
{ 0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96,112,128,144,160},
},
{
{ 0, 32, 48, 56, 64, 80, 96,112,128,144,160,176,192,224,256},
{ 0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96,112,128,144,160},
{ 0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96,112,128,144,160},
},
}

Definition at line 60 of file mp3tabs.c.

◆ bitsPerSlotTab

const short bitsPerSlotTab[3] = {32, 8, 8}

Definition at line 91 of file mp3tabs.c.

◆ samplerateTab

const int samplerateTab[3][3]
Initial value:
= {
{44100, 48000, 32000},
{22050, 24000, 16000},
{11025, 12000, 8000},
}

Definition at line 49 of file mp3tabs.c.

◆ samplesPerFrameTab

const short samplesPerFrameTab[3][3]
Initial value:
= {
{384, 1152, 1152 },
{384, 1152, 576 },
{384, 1152, 576 },
}

Definition at line 84 of file mp3tabs.c.

◆ sfBandTable

const SFBandTable sfBandTable[3][3]

Definition at line 131 of file mp3tabs.c.

◆ sideBytesTab

const short sideBytesTab[3][2]
Initial value:
= {
{17, 32},
{ 9, 17},
{ 9, 17},
}

Definition at line 96 of file mp3tabs.c.

◆ slotTab

const short slotTab[3][3][15]
Initial value:
= {
{
{ 0, 104, 130, 156, 182, 208, 261, 313, 365, 417, 522, 626, 731, 835,1044 },
{ 0, 96, 120, 144, 168, 192, 240, 288, 336, 384, 480, 576, 672, 768, 960 },
{ 0, 144, 180, 216, 252, 288, 360, 432, 504, 576, 720, 864,1008,1152,1440 },
},
{
{ 0, 26, 52, 78, 104, 130, 156, 182, 208, 261, 313, 365, 417, 470, 522 },
{ 0, 24, 48, 72, 96, 120, 144, 168, 192, 240, 288, 336, 384, 432, 480 },
{ 0, 36, 72, 108, 144, 180, 216, 252, 288, 360, 432, 504, 576, 648, 720 },
},
{
{ 0, 52, 104, 156, 208, 261, 313, 365, 417, 522, 626, 731, 835, 940,1044 },
{ 0, 48, 96, 144, 192, 240, 288, 336, 384, 480, 576, 672, 768, 864, 960 },
{ 0, 72, 144, 216, 288, 360, 432, 504, 576, 720, 864,1008,1152,1296,1440 },
},
}

Definition at line 106 of file mp3tabs.c.