libavcodec/wmadata.h File Reference

Various WMA tables. More...

#include <stdint.h>
#include "wma.h"

Go to the source code of this file.

Variables

const uint16_t ff_wma_critical_freqs [25]
static const uint8_t exponent_band_22050 [3][25]
static const uint8_t exponent_band_32000 [3][25]
static const uint8_t exponent_band_44100 [3][25]
const uint16_t ff_wma_hgain_huffcodes [37]
const uint8_t ff_wma_hgain_huffbits [37]
const float ff_wma_lsp_codebook [NB_LSP_COEFS][16]
static const uint32_t coef0_huffcodes [666]
static const uint8_t coef0_huffbits [666]
static const uint32_t coef1_huffcodes [555]
static const uint8_t coef1_huffbits [555]
static const uint32_t coef2_huffcodes [1336]
static const uint8_t coef2_huffbits [1336]
static const uint32_t coef3_huffcodes [1072]
static const uint8_t coef3_huffbits [1072]
static const uint32_t coef4_huffcodes [476]
static const uint8_t coef4_huffbits [476]
static const uint32_t coef5_huffcodes [435]
static const uint8_t coef5_huffbits [435]
static const uint16_t levels0 [60]
static const uint16_t levels1 [40]
static const uint16_t levels2 [340]
static const uint16_t levels3 [180]
static const uint16_t levels4 [70]
static const uint16_t levels5 [40]
static const CoefVLCTable coef_vlcs [6]


Detailed Description

Various WMA tables.

Definition in file wmadata.h.


Variable Documentation

const uint8_t coef0_huffbits[666] [static]

Definition at line 182 of file wmadata.h.

Referenced by decode_init().

const uint32_t coef0_huffcodes[666] [static]

Definition at line 95 of file wmadata.h.

Referenced by decode_init().

const uint8_t coef1_huffbits[555] [static]

Definition at line 342 of file wmadata.h.

Referenced by decode_init().

const uint32_t coef1_huffcodes[555] [static]

Definition at line 269 of file wmadata.h.

Referenced by decode_init().

const uint8_t coef2_huffbits[1336] [static]

Definition at line 585 of file wmadata.h.

const uint32_t coef2_huffcodes[1336] [static]

Definition at line 415 of file wmadata.h.

const uint8_t coef3_huffbits[1072] [static]

Definition at line 892 of file wmadata.h.

const uint32_t coef3_huffcodes[1072] [static]

Definition at line 755 of file wmadata.h.

const uint8_t coef4_huffbits[476] [static]

Definition at line 1092 of file wmadata.h.

const uint32_t coef4_huffcodes[476] [static]

Definition at line 1029 of file wmadata.h.

const uint8_t coef5_huffbits[435] [static]

Definition at line 1213 of file wmadata.h.

const uint32_t coef5_huffcodes[435] [static]

Definition at line 1155 of file wmadata.h.

const CoefVLCTable coef_vlcs[6] [static]

Initial value:

Definition at line 1382 of file wmadata.h.

Referenced by encode_block().

const uint8_t exponent_band_22050[3][25] [static]

Initial value:

 {
    { 10, 4, 8, 4, 8, 8, 12, 20, 24, 24, 16, },
    { 14, 4, 8, 8, 4, 12, 12, 16, 24, 16, 20, 24, 32, 40, 36, },
    { 23, 4, 4, 4, 8, 4, 4, 8, 8, 8, 8, 8, 12, 12, 16, 16, 24, 24, 32, 44, 48, 60, 84, 72, },
}

Definition at line 41 of file wmadata.h.

Referenced by ff_wma_init().

const uint8_t exponent_band_32000[3][25] [static]

Initial value:

 {
    { 11, 4, 4, 8, 4, 4, 12, 16, 24, 20, 28, 4, },
    { 15, 4, 8, 4, 4, 8, 8, 16, 20, 12, 20, 20, 28, 40, 56, 8, },
    { 16, 8, 4, 8, 8, 12, 16, 20, 24, 40, 32, 32, 44, 56, 80, 112, 16, },
}

Definition at line 47 of file wmadata.h.

Referenced by ff_wma_init().

const uint8_t exponent_band_44100[3][25] [static]

Initial value:

 {
    { 12,  4,   4,   4,   4,   4,   8,   8,   8,  12,  16,  20,  36, },
    { 15,  4,   8,   4,   8,   8,   4,   8,   8,  12,  12,  12,  24,  28,  40,  76, },
    { 17,  4,   8,   8,   4,  12,  12,   8,   8,  24,  16,  20,  24,  32,  40,  60,  80, 152, },
}

Definition at line 53 of file wmadata.h.

Referenced by ff_wma_init().

const uint16_t ff_wma_critical_freqs[25]

Initial value:

 {
    100,   200,  300, 400,   510,  630,  770,    920,
    1080, 1270, 1480, 1720, 2000, 2320, 2700,   3150,
    3700, 4400, 5300, 6400, 7700, 9500, 12000, 15500,
    24500,
}

Definition at line 33 of file wmadata.h.

Referenced by decode_init(), and ff_wma_init().

const uint8_t ff_wma_hgain_huffbits[37]

Initial value:

 {
 10, 12, 10, 13,  9, 13,  9,  8,
  7,  5,  5,  4,  4,  3,  3,  3,
  4,  3,  4,  4,  5,  5,  6,  8,
  7, 10,  8, 10,  9,  8,  9,  9,
 13, 10, 13, 13, 13,
}

Definition at line 67 of file wmadata.h.

Referenced by wma_decode_init().

const uint16_t ff_wma_hgain_huffcodes[37]

Initial value:

 {
 0x00003, 0x002e7, 0x00001, 0x005cd, 0x0005d, 0x005c9, 0x0005e, 0x00003,
 0x00016, 0x0000b, 0x00001, 0x00006, 0x00001, 0x00006, 0x00004, 0x00005,
 0x00004, 0x00007, 0x00003, 0x00007, 0x00004, 0x0000a, 0x0000a, 0x00002,
 0x00003, 0x00000, 0x00005, 0x00002, 0x0005f, 0x00004, 0x00003, 0x00002,
 0x005c8, 0x000b8, 0x005ca, 0x005cb, 0x005cc,
}

Definition at line 59 of file wmadata.h.

Referenced by wma_decode_init().

const float ff_wma_lsp_codebook[NB_LSP_COEFS][16]

Initial value:

 {
 { 1.98732877, 1.97944528, 1.97179088, 1.96260549, 1.95038374, 1.93336114, 1.90719232, 1.86191415, },
 { 1.97260000, 1.96083160, 1.94982586, 1.93806164, 1.92516608, 1.91010199, 1.89232331, 1.87149812,
   1.84564818, 1.81358067, 1.77620070, 1.73265264, 1.67907855, 1.60959081, 1.50829650, 1.33120330, },
 { 1.90109110, 1.86482426, 1.83419671, 1.80168452, 1.76650116, 1.72816320, 1.68502700, 1.63738256,
   1.58501580, 1.51795181, 1.43679906, 1.33950585, 1.24176208, 1.12260729, 0.96749668, 0.74048265, },
 { 1.76943864, 1.67822463, 1.59946365, 1.53560582, 1.47470796, 1.41210167, 1.34509536, 1.27339507,
   1.19303814, 1.09765169, 0.98818722, 0.87239446, 0.74369172, 0.59768184, 0.43168630, 0.17977021, },
 { 1.43428349, 1.32038354, 1.21074086, 1.10577988, 1.00561746, 0.90335924, 0.80437489, 0.70709671,
   0.60427395, 0.49814048, 0.38509539, 0.27106800, 0.14407416, 0.00219910, -0.16725141, -0.36936085, },
 { 0.99895687, 0.84188166, 0.70753739, 0.57906595, 0.47055563, 0.36966965, 0.26826648, 0.17163380,
   0.07208392, -0.03062936, -1.40037388, -0.25128968, -0.37213937, -0.51075646, -0.64887512, -0.80308031, },
 { 0.26515280, 0.06313551, -0.08872080, -0.21103548, -0.31069678, -0.39680323, -0.47223474, -0.54167135,
   -0.61444740, -0.68943343, -0.76580211, -0.85170082, -0.95289061, -1.06514703, -1.20510707, -1.37617746, },
 { -0.53940301, -0.73770929, -0.88424876, -1.01117930, -1.13389091, -1.26830073, -1.42041987, -1.62033919,
   -1.10158808, -1.16512566, -1.23337128, -1.30414401, -1.37663312, -1.46853845, -1.57625798, -1.66893638, },
 { -0.38601997, -0.56009350, -0.66978483, -0.76028471, -0.83846064, -0.90868087, -0.97408881, -1.03694962, },
 { -1.56144989, -1.65944032, -1.72689685, -1.77857740, -1.82203011, -1.86220079, -1.90283983, -1.94820479, },
}

Definition at line 75 of file wmadata.h.

Referenced by decode_exp_lsp().

const uint16_t levels0[60] [static]

Initial value:

 {
317, 92, 62, 60, 19, 17, 10,  7,
  6,  5,  5,  3,  3,  3,  2,  2,
  2,  2,  2,  2,  2,  1,  2,  2,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,
}

Definition at line 1271 of file wmadata.h.

const uint16_t levels1[40] [static]

Initial value:

 {
311, 91, 61, 28, 10,  6,  5,  2,
  2,  2,  2,  2,  2,  2,  2,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
}

Definition at line 1282 of file wmadata.h.

const uint16_t levels2[340] [static]

Definition at line 1290 of file wmadata.h.

const uint16_t levels3[180] [static]

Initial value:

 {
351,122, 76, 61, 41, 42, 24, 30,
 22, 19, 11,  9, 10,  8,  5,  5,
  4,  5,  5,  3,  3,  3,  3,  3,
  3,  3,  2,  2,  3,  2,  2,  2,
  3,  3,  2,  2,  2,  3,  2,  2,
  2,  2,  2,  2,  2,  2,  2,  2,
  2,  2,  2,  2,  2,  2,  1,  1,
  2,  2,  1,  2,  1,  2,  2,  2,
  2,  2,  2,  1,  2,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  2,
  2,  1,  2,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,
}

Definition at line 1336 of file wmadata.h.

const uint16_t levels4[70] [static]

Initial value:

 {
113, 68, 49, 42, 40, 32, 27, 15,
 10,  5,  3,  3,  3,  3,  2,  2,
  2,  2,  2,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,
}

Definition at line 1362 of file wmadata.h.

const uint16_t levels5[40] [static]

Initial value:

 {
214, 72, 42, 40, 18,  4,  4,  2,
  2,  2,  2,  2,  1,  1,  2,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
  1,  1,  1,  1,  1,  1,  1,  1,
}

Definition at line 1374 of file wmadata.h.


Generated on Fri Oct 26 02:39:47 2012 for FFmpeg by  doxygen 1.5.8