libavcodec/wmaprodata.h File Reference

tables for wmapro decoding More...

#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Variables

static const uint16_t critical_freq []
 frequencies to divide the frequency spectrum into scale factor bands
static const float default_decorrelation_matrices []
 decorrelation matrix for multichannel streams
static const float *const default_decorrelation []
 default decorrelation matrix offsets

Huffman tables for DPCM-coded scale factors

#define HUFF_SCALE_SIZE   121
#define HUFF_SCALE_MAXBITS   19
static const uint16_t scale_huffcodes [HUFF_SCALE_SIZE]
static const uint8_t scale_huffbits [HUFF_SCALE_SIZE]

Huffman, run and level tables for runlevel-coded scale factors

#define HUFF_SCALE_RL_SIZE   120
#define HUFF_SCALE_RL_MAXBITS   21
static const uint32_t scale_rl_huffcodes [HUFF_SCALE_RL_SIZE]
static const uint8_t scale_rl_huffbits [HUFF_SCALE_RL_SIZE]
static const uint8_t scale_rl_run [HUFF_SCALE_RL_SIZE]
static const uint8_t scale_rl_level [HUFF_SCALE_RL_SIZE]

Huffman, run and level codes for runlevel-coded coefficients

#define HUFF_COEF0_SIZE   272
#define HUFF_COEF0_MAXBITS   21
#define HUFF_COEF1_SIZE   244
#define HUFF_COEF1_MAXBITS   22
static const uint32_t coef0_huffcodes [HUFF_COEF0_SIZE]
static const uint8_t coef0_huffbits [HUFF_COEF0_SIZE]
static const uint32_t coef1_huffcodes [HUFF_COEF1_SIZE]
static const uint8_t coef1_huffbits [HUFF_COEF1_SIZE]
static const uint16_t coef0_run [HUFF_COEF0_SIZE]
static const float coef0_level [HUFF_COEF0_SIZE]
static const uint16_t coef1_run [HUFF_COEF1_SIZE]
static const float coef1_level [HUFF_COEF1_SIZE]

Huffman and vector lookup tables for vector-coded coefficients

#define HUFF_VEC4_SIZE   127
#define HUFF_VEC4_MAXBITS   14
#define HUFF_VEC2_SIZE   137
#define HUFF_VEC2_MAXBITS   12
#define HUFF_VEC1_SIZE   101
#define HUFF_VEC1_MAXBITS   11
static const uint16_t vec4_huffcodes [HUFF_VEC4_SIZE]
static const uint8_t vec4_huffbits [HUFF_VEC4_SIZE]
static const uint16_t vec2_huffcodes [HUFF_VEC2_SIZE]
static const uint8_t vec2_huffbits [HUFF_VEC2_SIZE]
static const uint16_t vec1_huffcodes [HUFF_VEC1_SIZE]
static const uint8_t vec1_huffbits [HUFF_VEC1_SIZE]
static const uint16_t symbol_to_vec4 [HUFF_VEC4_SIZE]
static const uint8_t symbol_to_vec2 [HUFF_VEC2_SIZE]


Detailed Description

tables for wmapro decoding

Definition in file wmaprodata.h.


Define Documentation

#define HUFF_COEF0_MAXBITS   21

Definition at line 167 of file wmaprodata.h.

#define HUFF_COEF0_SIZE   272

Definition at line 166 of file wmaprodata.h.

Referenced by decode_init().

#define HUFF_COEF1_MAXBITS   22

Definition at line 254 of file wmaprodata.h.

#define HUFF_COEF1_SIZE   244

Definition at line 253 of file wmaprodata.h.

Referenced by decode_init().

#define HUFF_SCALE_MAXBITS   19

Definition at line 50 of file wmaprodata.h.

#define HUFF_SCALE_RL_MAXBITS   21

Definition at line 96 of file wmaprodata.h.

#define HUFF_SCALE_RL_SIZE   120

Definition at line 95 of file wmaprodata.h.

Referenced by decode_init().

#define HUFF_SCALE_SIZE   121

Definition at line 49 of file wmaprodata.h.

Referenced by decode_init().

#define HUFF_VEC1_MAXBITS   11

Definition at line 506 of file wmaprodata.h.

#define HUFF_VEC1_SIZE   101

Definition at line 505 of file wmaprodata.h.

Referenced by decode_coeffs(), and decode_init().

#define HUFF_VEC2_MAXBITS   12

Definition at line 461 of file wmaprodata.h.

#define HUFF_VEC2_SIZE   137

Definition at line 460 of file wmaprodata.h.

Referenced by decode_coeffs(), and decode_init().

#define HUFF_VEC4_MAXBITS   14

Definition at line 420 of file wmaprodata.h.

#define HUFF_VEC4_SIZE   127

Definition at line 419 of file wmaprodata.h.

Referenced by decode_coeffs(), and decode_init().


Variable Documentation

const uint8_t coef0_huffbits[HUFF_COEF0_SIZE] [static]

Definition at line 210 of file wmaprodata.h.

const uint32_t coef0_huffcodes[HUFF_COEF0_SIZE] [static]

Definition at line 168 of file wmaprodata.h.

const float coef0_level[HUFF_COEF0_SIZE] [static]

Initial value:

 {
      0,   0,   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,   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,   2,   2,
      2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,
      2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,
      2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   3,   3,   3,   3,
      3,   3,   3,   3,   3,   3,   3,   3,   3,   3,   3,   3,   3,   3,
      3,   3,   4,   4,   4,   4,   4,   4,   4,   4,   4,   4,   5,   5,
      5,   5,   5,   6,   6,   7,   7,   8,   8,   9,   9,  10,  10,  11,
     11,  12,  12,  13,  13,  14,  14,  15,  15,  16,  16,  17,  17,  18,
     18,  19,  19,  20,  20,  21,  21,  22,  22,  23,  23,  24,  24,  25,
     25,  26,  26,  27,  27,  28,
}

Definition at line 355 of file wmaprodata.h.

Referenced by decode_coeffs().

const uint16_t coef0_run[HUFF_COEF0_SIZE] [static]

Initial value:

 {
      0,   0,   0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,
     12,  13,  14,  15,  16,  17,  18,  19,  20,  21,  22,  23,  24,  25,
     26,  27,  28,  29,  30,  31,  32,  33,  34,  35,  36,  37,  38,  39,
     40,  41,  42,  43,  44,  45,  46,  47,  48,  49,  50,  51,  52,  53,
     54,  55,  56,  57,  58,  59,  60,  61,  62,  63,  64,  65,  66,  67,
     68,  69,  70,  71,  72,  73,  74,  75,  76,  77,  78,  79,  80,  81,
     82,  83,  84,  85,  86,  87,  88,  89,  90,  91,  92,  93,  94,  95,
     96,  97,  98,  99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
    110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123,
    124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137,
    138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149,   0,   1,
      2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,  14,  15,
     16,  17,  18,  19,  20,  21,  22,  23,  24,  25,  26,  27,  28,  29,
     30,  31,  32,  33,  34,  35,  36,  37,  38,  39,   0,   1,   2,   3,
      4,   5,   6,   7,   8,   9,  10,  11,  12,  13,  14,  15,  16,  17,
     18,  19,   0,   1,   2,   3,   4,   5,   6,   7,   8,   9,   0,   1,
      2,   3,   4,   0,   1,   0,   1,   0,   1,   0,   1,   0,   1,   0,
      1,   0,   1,   0,   1,   0,   1,   0,   1,   0,   1,   0,   1,   0,
      1,   0,   1,   0,   1,   0,   1,   0,   1,   0,   1,   0,   1,   0,
      1,   0,   1,   0,   1,   0,
}

Definition at line 332 of file wmaprodata.h.

Referenced by decode_coeffs().

const uint8_t coef1_huffbits[HUFF_COEF1_SIZE] [static]

Definition at line 293 of file wmaprodata.h.

const uint32_t coef1_huffcodes[HUFF_COEF1_SIZE] [static]

Definition at line 255 of file wmaprodata.h.

const float coef1_level[HUFF_COEF1_SIZE] [static]

Initial value:

 {
     0,  0,  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,  1,  1,  1,  2,  2,  2,  2,  2,  2,
     2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,
     2,  2,  2,  2,  2,  2,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  4,  4,
     4,  4,  4,  4,  5,  5,  5,  6,  6,  6,  7,  7,  7,  8,  8,  9,  9, 10,
    10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19,
    19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28,
    28, 29, 29, 30, 30, 31, 31, 32, 32, 33, 33, 34, 34, 35, 35, 36, 36, 37,
    37, 38, 38, 39, 39, 40, 40, 41, 41, 42, 42, 43, 43, 44, 44, 45, 45, 46,
    46, 47, 47, 48, 48, 49, 49, 50, 51, 52,
}

Definition at line 396 of file wmaprodata.h.

Referenced by decode_coeffs().

const uint16_t coef1_run[HUFF_COEF1_SIZE] [static]

Initial value:

 {
     0,  0,  0,  1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15,
    16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
    34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
    52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
    70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87,
    88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,  0,  1,  2,  3,  4,  5,
     6,  7,  8,  9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
    24, 25, 26, 27, 28, 29,  0,  1,  2,  3,  4,  5,  6,  7,  8,  9,  0,  1,
     2,  3,  4,  5,  0,  1,  2,  0,  1,  2,  0,  1,  2,  0,  1,  0,  1,  0,
     1,  0,  1,  0,  1,  0,  1,  0,  1,  0,  1,  0,  1,  0,  1,  0,  1,  0,
     1,  0,  1,  0,  1,  0,  1,  0,  1,  0,  1,  0,  1,  0,  1,  0,  1,  0,
     1,  0,  1,  0,  1,  0,  1,  0,  1,  0,  1,  0,  1,  0,  1,  0,  1,  0,
     1,  0,  1,  0,  1,  0,  1,  0,  1,  0,  1,  0,  1,  0,  1,  0,  1,  0,
     1,  0,  1,  0,  1,  0,  1,  0,  0,  0,
}

Definition at line 379 of file wmaprodata.h.

Referenced by decode_coeffs().

const uint16_t critical_freq[] [static]

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,  20675,  28575,  41375,  63875,
}
frequencies to divide the frequency spectrum into scale factor bands

Definition at line 37 of file wmaprodata.h.

Referenced by decode_init().

const float* const default_decorrelation[] [static]

Initial value:

 {
    NULL,
    &default_decorrelation_matrices[0],
    &default_decorrelation_matrices[1],
    &default_decorrelation_matrices[5],
    &default_decorrelation_matrices[14],
    &default_decorrelation_matrices[30],
    &default_decorrelation_matrices[55]
}
default decorrelation matrix offsets

Definition at line 594 of file wmaprodata.h.

Referenced by decode_channel_transform().

const float default_decorrelation_matrices[] [static]

Initial value:

 {
    1.000000,  0.707031, -0.707031,  0.707031,  0.707031,  0.578125,  0.707031,
    0.410156,  0.578125, -0.707031,  0.410156,  0.578125,  0.000000, -0.816406,
    0.500000,  0.652344,  0.500000,  0.269531,  0.500000,  0.269531, -0.500000,
   -0.652344,  0.500000, -0.269531, -0.500000,  0.652344,  0.500000, -0.652344,
    0.500000, -0.269531,  0.445312,  0.601562,  0.511719,  0.371094,  0.195312,
    0.445312,  0.371094, -0.195312, -0.601562, -0.511719,  0.445312,  0.000000,
   -0.632812,  0.000000,  0.632812,  0.445312, -0.371094, -0.195312,  0.601562,
   -0.511719,  0.445312, -0.601562,  0.511719, -0.371094,  0.195312,  0.410156,
    0.558594,  0.500000,  0.410156,  0.289062,  0.148438,  0.410156,  0.410156,
    0.000000, -0.410156, -0.578125, -0.410156,  0.410156,  0.148438, -0.500000,
   -0.410156,  0.289062,  0.558594,  0.410156, -0.148438, -0.500000,  0.410156,
    0.289062, -0.558594,  0.410156, -0.410156,  0.000000,  0.410156, -0.578125,
    0.410156,  0.410156, -0.558594,  0.500000, -0.410156,  0.289062, -0.148438,
}
decorrelation matrix for multichannel streams

Definition at line 575 of file wmaprodata.h.

const uint8_t scale_huffbits[HUFF_SCALE_SIZE] [static]

Initial value:

 {
    19, 19, 19, 19, 19, 19, 19, 19,
    19, 19, 19, 19, 19, 19, 19, 19,
    19, 19, 18, 19, 19, 19, 19, 19,
    19, 19, 19, 19, 19, 19, 19, 19,
    19, 19, 19, 19, 19, 19, 19, 19,
    19, 19, 19, 19, 19, 19, 19, 19,
    19, 19, 19, 19, 19, 16, 15, 13,
    11,  8,  5,  2,  1,  3,  5,  6,
     6,  7,  7,  7,  9, 10, 13, 19,
    19, 19, 19, 19, 19, 19, 19, 19,
    19, 19, 19, 19, 19, 19, 19, 19,
    19, 19, 19, 19, 19, 19, 19, 19,
    19, 19, 19, 19, 19, 19, 19, 19,
    19, 19, 19, 19, 19, 19, 19, 19,
    19, 19, 19, 19, 19, 19, 19, 19,
    19,
}

Definition at line 70 of file wmaprodata.h.

Referenced by decode_init().

const uint16_t scale_huffcodes[HUFF_SCALE_SIZE] [static]

Initial value:

 {
    0xE639, 0xE6C2, 0xE6C1, 0xE6C0, 0xE63F, 0xE63E, 0xE63D, 0xE63C,
    0xE63B, 0xE63A, 0xE638, 0xE637, 0xE636, 0xE635, 0xE634, 0xE632,
    0xE633, 0xE620, 0x737B, 0xE610, 0xE611, 0xE612, 0xE613, 0xE614,
    0xE615, 0xE616, 0xE617, 0xE618, 0xE619, 0xE61A, 0xE61B, 0xE61C,
    0xE61D, 0xE61E, 0xE61F, 0xE6C3, 0xE621, 0xE622, 0xE623, 0xE624,
    0xE625, 0xE626, 0xE627, 0xE628, 0xE629, 0xE62A, 0xE62B, 0xE62C,
    0xE62D, 0xE62E, 0xE62F, 0xE630, 0xE631, 0x1CDF, 0x0E60, 0x0399,
    0x00E7, 0x001D, 0x0000, 0x0001, 0x0001, 0x0001, 0x0002, 0x0006,
    0x0002, 0x0007, 0x0006, 0x000F, 0x0038, 0x0072, 0x039A, 0xE6C4,
    0xE6C5, 0xE6C6, 0xE6C7, 0xE6C8, 0xE6C9, 0xE6CA, 0xE6CB, 0xE6CC,
    0xE6CD, 0xE6CE, 0xE6CF, 0xE6D0, 0xE6D1, 0xE6D2, 0xE6D3, 0xE6D4,
    0xE6D5, 0xE6D6, 0xE6D7, 0xE6D8, 0xE6D9, 0xE6DA, 0xE6DB, 0xE6DC,
    0xE6DD, 0xE6DE, 0xE6DF, 0xE6E0, 0xE6E1, 0xE6E2, 0xE6E3, 0xE6E4,
    0xE6E5, 0xE6E6, 0xE6E7, 0xE6E8, 0xE6E9, 0xE6EA, 0xE6EB, 0xE6EC,
    0xE6ED, 0xE6EE, 0xE6EF, 0xE6F0, 0xE6F1, 0xE6F2, 0xE6F3, 0xE6F4,
    0xE6F5,
}

Definition at line 51 of file wmaprodata.h.

Referenced by decode_init().

const uint8_t scale_rl_huffbits[HUFF_SCALE_RL_SIZE] [static]

Initial value:

 {
     9,  2, 21,  2,  4,  5,  5,
     6,  6,  7,  7,  7,  7,  6,
     7,  8,  8,  9, 10, 10, 11,
    12, 11, 12, 12, 12, 12, 11,
     4,  5,  7,  8,  9,  9,  9,
     9,  9,  9,  8,  8,  9,  9,
    12, 11, 12, 15, 15, 13, 15,
    14, 13, 14, 21,  5,  6,  9,
    10, 10, 11, 10, 11,  9,  9,
     6,  8,  9,  7, 12, 10, 12,
    16, 15, 12, 15, 14, 15, 10,
    21,  6,  7, 11, 12, 14, 14,
    15, 15, 14, 12, 11, 15, 12,
    11, 14, 13, 14, 21, 21, 12,
    16, 18, 15, 17, 20,  7,  8,
    12, 12, 14, 15, 15, 16, 21,
    13, 11,  7,  9,  9, 10, 11,
    10,
}

Definition at line 118 of file wmaprodata.h.

Referenced by decode_init().

const uint32_t scale_rl_huffcodes[HUFF_SCALE_RL_SIZE] [static]

Initial value:

 {
    0x00010C, 0x000001, 0x10FE2A, 0x000003, 0x000003, 0x000001, 0x000013,
    0x000020, 0x000029, 0x000014, 0x000016, 0x000045, 0x000049, 0x00002F,
    0x000042, 0x00008E, 0x00008F, 0x000129, 0x000009, 0x00000D, 0x0004AC,
    0x00002C, 0x000561, 0x0002E6, 0x00087C, 0x0002E2, 0x00095C, 0x000018,
    0x000001, 0x000016, 0x000044, 0x00002A, 0x000007, 0x000159, 0x000143,
    0x000128, 0x00015A, 0x00012D, 0x00002B, 0x0000A0, 0x000142, 0x00012A,
    0x0002EF, 0x0004AF, 0x00087D, 0x004AE9, 0x0043F9, 0x000067, 0x000199,
    0x002B05, 0x001583, 0x0021FE, 0x10FE2C, 0x000004, 0x00002E, 0x00010D,
    0x00000A, 0x000244, 0x000017, 0x000245, 0x000011, 0x00010E, 0x00012C,
    0x00002A, 0x00002F, 0x000121, 0x000046, 0x00087E, 0x0000BA, 0x000032,
    0x0087F0, 0x0056DC, 0x0002EC, 0x0043FA, 0x002B6F, 0x004AE8, 0x0002B7,
    0x10FE2B, 0x000001, 0x000051, 0x000010, 0x0002EE, 0x000B9C, 0x002576,
    0x000198, 0x0056DD, 0x0000CD, 0x000AC0, 0x000170, 0x004AEF, 0x00002D,
    0x0004AD, 0x0021FF, 0x0005CF, 0x002B04, 0x10FE29, 0x10FE28, 0x0002ED,
    0x002E74, 0x021FC4, 0x004AEE, 0x010FE3, 0x087F17, 0x000000, 0x000097,
    0x0002E3, 0x000ADA, 0x002575, 0x00173B, 0x0043FB, 0x002E75, 0x10FE2D,
    0x0015B6, 0x00056C, 0x000057, 0x000123, 0x000120, 0x00021E, 0x000172,
    0x0002B1,
}

Definition at line 97 of file wmaprodata.h.

Referenced by decode_init().

const uint8_t scale_rl_level[HUFF_SCALE_RL_SIZE] [static]

Initial value:

 {
     0,  0,  1,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,
     2,  2,  2,  2,  2,  2,  2,  2,  2,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,
     3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  4,  4,  4,  4,
     4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,
     4,  4,  5,  5,  5,  5,  5,  5,  5,  5,  5,  5,  5,  5,  5,  5,  5,  5,  5,
     5,  5,  5,  5,  5,  5,  5,  5,  6,  6,  6,  6,  6,  6,  6,  6,  6,  6,  6,
     7,  7,  8,  8,  9,  9,
}

Definition at line 150 of file wmaprodata.h.

Referenced by decode_scale_factors().

const uint8_t scale_rl_run[HUFF_SCALE_RL_SIZE] [static]

Initial value:

 {
     0,  0,  0,  0,  1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15,
    16, 17, 18, 19, 20, 21, 22, 23, 24,  0,  1,  2,  3,  4,  5,  6,  7,  8,  9,
    10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,  0,  1,  2,  3,
     4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
    23, 24,  0,  1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15, 16,
    17, 18, 19, 20, 21, 22, 23, 24,  0,  1,  2,  3,  4,  5,  6,  7,  8,  9, 10,
     0,  1,  0,  1,  0,  1,
}

Definition at line 140 of file wmaprodata.h.

Referenced by decode_scale_factors().

const uint8_t symbol_to_vec2[HUFF_VEC2_SIZE] [static]

Initial value:

 {
      0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,  14,
     15,  16,  17,  18,  19,  20,  21,  22,  23,  24,  25,  26,  27,  28,  29,
     30,  32,  33,  34,  35,  36,  37,  38,  39,  40,  41,  42,  43,  44,  45,
     48,  49,  50,  51,  52,  53,  54,  55,  56,  57,  58,  59,  60,  64,  65,
     66,  67,  68,  69,  70,  71,  72,  73,  74,  75,  80,  81,  82,  83,  84,
     85,  86,  87,  88,  89,  90,  96,  97,  98,  99, 100, 101, 102, 103, 104,
    105, 112, 113, 114, 115, 116, 117, 118, 119, 120, 128, 129, 130, 131, 132,
    133, 134, 135, 144, 145, 146, 147, 148, 149, 150, 160, 161, 162, 163, 164,
    165, 176, 177, 178, 179, 180, 192, 193, 194, 195, 208, 209, 210, 224, 225,
    240,   0,
}

Definition at line 557 of file wmaprodata.h.

Referenced by decode_coeffs().

const uint16_t symbol_to_vec4[HUFF_VEC4_SIZE] [static]

Initial value:

 {
        0,    1,      2,     3,     4,     5,    16,    17,    18,    19,
       20,   32,     33,    34,    35,    48,    49,    50,    64,    65,
       80,   256,   257,   258,   259,   260,   272,   273,   274,   275,
      288,   289,   290,   304,   305,   320,   512,   513,   514,   515,
      528,   529,   530,   544,   545,   560,   768,   769,   770,   784,
      785,   800,  1024,  1025,  1040,  1280,  4096,  4097,  4098,  4099,
     4100,  4112,  4113,  4114,  4115,  4128,  4129,  4130,  4144,  4145,
     4160,  4352,  4353,  4354,  4355,  4368,  4369,  4370,  4384,  4385,
     4400,  4608,  4609,  4610,  4624,  4625,  4640,  4864,  4865,  4880,
     5120,  8192,  8193,  8194,  8195,  8208,  8209,  8210,  8224,  8225,
     8240,  8448,  8449,  8450,  8464,  8465,  8480,  8704,  8705,  8720,
     8960, 12288, 12289, 12290, 12304, 12305, 12320, 12544, 12545, 12560,
    12800, 16384, 16385, 16400, 16640, 20480,     0,
}

Definition at line 540 of file wmaprodata.h.

Referenced by decode_coeffs().

const uint8_t vec1_huffbits[HUFF_VEC1_SIZE] [static]

Initial value:

 {
     7,  6,  5,  5,  5,  5,  5,  5,
     4,  4,  4,  4,  4,  5,  5,  5,
     5,  5,  5,  6,  6,  6,  6,  6,
     6,  7,  7,  7,  7,  7,  7,  7,
     8,  8,  8,  8,  8,  8,  8,  8,
     8,  8,  8,  8,  8,  9,  9,  9,
     9,  9,  9,  9,  9,  9,  9,  9,
     9,  9,  9, 10, 10, 10, 10, 10,
    10, 10, 10, 10, 10, 10, 10, 10,
    10, 10, 10, 10, 10, 10, 10, 10,
    10, 10, 11, 11, 11, 11, 11, 11,
    11, 11, 11, 11, 11, 11, 11, 11,
    11, 11, 11, 11,  5,
}

Definition at line 523 of file wmaprodata.h.

Referenced by decode_init().

const uint16_t vec1_huffcodes[HUFF_VEC1_SIZE] [static]

Initial value:

 {
    0x01A, 0x003, 0x017, 0x010, 0x00C, 0x009, 0x005, 0x000,
    0x00D, 0x00A, 0x009, 0x00C, 0x00F, 0x002, 0x004, 0x007,
    0x00B, 0x00F, 0x01C, 0x006, 0x010, 0x015, 0x01C, 0x022,
    0x03B, 0x00E, 0x019, 0x023, 0x034, 0x036, 0x03A, 0x047,
    0x008, 0x00A, 0x01E, 0x031, 0x037, 0x050, 0x053, 0x06B,
    0x06F, 0x08C, 0x0E8, 0x0EA, 0x0EB, 0x016, 0x03E, 0x03F,
    0x06C, 0x089, 0x08A, 0x0A3, 0x0A4, 0x0D4, 0x0DD, 0x0EC,
    0x0EE, 0x11A, 0x1D2, 0x024, 0x025, 0x02E, 0x027, 0x0C2,
    0x0C0, 0x0DA, 0x0DB, 0x111, 0x144, 0x116, 0x14A, 0x145,
    0x1B8, 0x1AB, 0x1DA, 0x1DE, 0x1DB, 0x1DF, 0x236, 0x237,
    0x3A6, 0x3A7, 0x04D, 0x04C, 0x05E, 0x05F, 0x183, 0x182,
    0x186, 0x221, 0x187, 0x220, 0x22E, 0x22F, 0x296, 0x354,
    0x297, 0x355, 0x372, 0x373, 0x016,
}

Definition at line 507 of file wmaprodata.h.

Referenced by decode_init().

const uint8_t vec2_huffbits[HUFF_VEC2_SIZE] [static]

Initial value:

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

Definition at line 483 of file wmaprodata.h.

Referenced by decode_init().

const uint16_t vec2_huffcodes[HUFF_VEC2_SIZE] [static]

Initial value:

 {
    0x055, 0x01C, 0x01A, 0x02B, 0x028, 0x067, 0x08B, 0x039,
    0x170, 0x10D, 0x2A5, 0x047, 0x464, 0x697, 0x523, 0x8CB,
    0x01B, 0x00E, 0x000, 0x010, 0x012, 0x036, 0x048, 0x04C,
    0x0C2, 0x09B, 0x171, 0x03B, 0x224, 0x34A, 0x2D6, 0x019,
    0x00F, 0x002, 0x014, 0x017, 0x006, 0x05D, 0x054, 0x0C7,
    0x0B4, 0x192, 0x10E, 0x233, 0x043, 0x02C, 0x00F, 0x013,
    0x006, 0x02F, 0x02C, 0x068, 0x077, 0x0DF, 0x111, 0x1A4,
    0x16A, 0x2A4, 0x027, 0x011, 0x018, 0x02D, 0x00F, 0x04A,
    0x040, 0x097, 0x01F, 0x11B, 0x022, 0x16D, 0x066, 0x035,
    0x005, 0x02B, 0x049, 0x009, 0x075, 0x0CB, 0x0AA, 0x187,
    0x106, 0x08A, 0x047, 0x060, 0x06E, 0x01D, 0x074, 0x0C4,
    0x01E, 0x118, 0x1A7, 0x038, 0x042, 0x053, 0x076, 0x0A8,
    0x0CA, 0x082, 0x110, 0x18D, 0x12D, 0x0B9, 0x0C8, 0x0DE,
    0x01C, 0x0AB, 0x113, 0x18C, 0x10F, 0x09A, 0x0A5, 0x0B7,
    0x11A, 0x186, 0x1A6, 0x259, 0x153, 0x18A, 0x193, 0x020,
    0x10C, 0x046, 0x03A, 0x107, 0x149, 0x16C, 0x2D7, 0x225,
    0x258, 0x316, 0x696, 0x317, 0x042, 0x522, 0x290, 0x8CA,
    0x001,
}

Definition at line 462 of file wmaprodata.h.

Referenced by decode_init().

const uint8_t vec4_huffbits[HUFF_VEC4_SIZE] [static]

Initial value:

 {
     5,  6,  8, 10, 12, 13,  6,  6,
     8, 10, 11,  9,  8,  9, 10, 11,
    10, 11, 12, 12, 14,  6,  6,  8,
    10, 11,  6,  6,  8,  9,  8,  8,
     8, 10,  9, 12,  9,  8, 10, 11,
     8,  8,  9,  9,  9, 11, 11, 10,
    11, 10,  9, 11, 12, 12, 12, 14,
     6,  6,  8, 10, 11,  6,  6,  7,
     9,  8,  8,  9, 10, 10, 12,  6,
     6,  8,  9,  6,  6,  7,  8,  7,
     9,  8,  8,  9,  8,  7,  9, 10,
     9,  9, 12,  8,  8, 10, 11,  8,
     8,  9, 10,  9, 11,  8,  7,  9,
     7,  7,  9,  9,  9,  8, 11, 10,
    10, 11, 10,  9, 11, 10,  9,  9,
    10, 12, 11, 11, 11, 12,  1,
}

Definition at line 440 of file wmaprodata.h.

Referenced by decode_init().

const uint16_t vec4_huffcodes[HUFF_VEC4_SIZE] [static]

Initial value:

 {
    0x0019, 0x0027, 0x00F2, 0x03BA, 0x0930, 0x1267, 0x0031, 0x0030,
    0x0097, 0x0221, 0x058B, 0x0124, 0x00EB, 0x01D4, 0x03D8, 0x0584,
    0x0364, 0x045F, 0x0F66, 0x0931, 0x24CD, 0x002F, 0x0039, 0x00E8,
    0x02C3, 0x078A, 0x0037, 0x0029, 0x0084, 0x01B1, 0x00ED, 0x0086,
    0x00F9, 0x03AB, 0x01EB, 0x08BC, 0x011E, 0x00F3, 0x0220, 0x058A,
    0x00EC, 0x008E, 0x012B, 0x01EA, 0x0119, 0x04B0, 0x04B1, 0x03B8,
    0x0691, 0x0365, 0x01ED, 0x049A, 0x0EA9, 0x0EA8, 0x08BD, 0x24CC,
    0x0026, 0x0035, 0x00DB, 0x02C4, 0x07B2, 0x0038, 0x002B, 0x007F,
    0x01B3, 0x00F4, 0x0091, 0x0116, 0x03BB, 0x0215, 0x0932, 0x002D,
    0x002A, 0x008A, 0x01DE, 0x0028, 0x0020, 0x005C, 0x0090, 0x0068,
    0x01EE, 0x00E9, 0x008D, 0x012A, 0x0087, 0x005D, 0x0118, 0x0349,
    0x01EF, 0x01E3, 0x08B9, 0x00F0, 0x00D3, 0x0214, 0x049B, 0x00DA,
    0x0089, 0x0125, 0x0217, 0x012D, 0x0690, 0x0094, 0x007D, 0x011F,
    0x007E, 0x0059, 0x0127, 0x01A5, 0x0111, 0x00F8, 0x045D, 0x03B9,
    0x0259, 0x0580, 0x02C1, 0x01DF, 0x0585, 0x0216, 0x0163, 0x01B0,
    0x03C4, 0x08B8, 0x078B, 0x0755, 0x0581, 0x0F67, 0x0000,
}

Definition at line 421 of file wmaprodata.h.

Referenced by decode_init().


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