libavcodec/dcadata.h File Reference

#include <stdint.h>
#include "libavutil/mem.h"

Go to the source code of this file.

Variables

static const uint32_t dca_sample_rates [16]
static const uint32_t dca_bit_rates [32]
static const uint8_t dca_channels [16]
static const uint8_t dca_bits_per_sample [7]
static const int16_t adpcm_vb [4096][4]
static const uint32_t scale_factor_quant6 [64]
static const uint32_t scale_factor_quant7 [128]
static const uint32_t lossy_quant [32]
static const float lossy_quant_d [32]
static const uint32_t lossless_quant [32]
static const float lossless_quant_d [32]
static const int8_t high_freq_vq [1024][32]
static const float fir_32bands_perfect []
static const float fir_32bands_nonperfect []
static const float lfe_fir_64 []
static const float lfe_fir_128 []
static const float dca_downmix_coeffs [65]
static const uint8_t dca_default_coeffs [10][5][2]


Variable Documentation

const int16_t adpcm_vb[4096][4] [static]

Definition at line 61 of file dcadata.h.

Referenced by dca_subframe_header(), and dca_subsubframe().

const uint32_t dca_bit_rates[32] [static]

Initial value:

{
    32000, 56000, 64000, 96000, 112000, 128000,
    192000, 224000, 256000, 320000, 384000,
    448000, 512000, 576000, 640000, 768000,
    896000, 1024000, 1152000, 1280000, 1344000,
    1408000, 1411200, 1472000, 1536000, 1920000,
    2048000, 3072000, 3840000, 1, 2, 3
}

Definition at line 37 of file dcadata.h.

Referenced by dca_parse_frame_header().

const uint8_t dca_bits_per_sample[7] [static]

Initial value:

{
    16, 16, 20, 20, 0, 24, 24
}

Definition at line 52 of file dcadata.h.

Referenced by dca_parse_frame_header().

const uint8_t dca_channels[16] [static]

Initial value:

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

Definition at line 47 of file dcadata.h.

Referenced by dca_parse_frame_header().

const uint8_t dca_default_coeffs[10][5][2] [static]

Initial value:

 {
    { { 13, 13 },                                                 },
    { {  0, 64 }, { 64,  0 },                                     },
    { {  0, 64 }, { 64,  0 },                                     },
    { {  0, 64 }, { 64,  0 },                                     },
    { {  0, 64 }, { 64,  0 },                                     },
    { {  6,  6 }, {  0, 25 }, { 25,  0 },                         },
    { {  0, 25 }, { 25,  0 }, { 13, 13 },                         },
    { {  6,  6 }, {  0, 25 }, { 25,  0 }, { 13, 13 },             },
    { {  0, 25 }, { 25,  0 }, {  0, 13 }, { 13,  0 },             },
    { {  6,  6 }, {  0, 25 }, { 25,  0 }, {  0, 13 }, { 13,  0 }, },
}

Definition at line 7531 of file dcadata.h.

Referenced by dca_subframe_header().

const float dca_downmix_coeffs[65] [static]

Initial value:

 {
  1.000000000000000, 0.988553094656939, 0.971627951577106, 0.944060876285923, 0.917275935389780, 0.891250938133746,
  0.865964323360065, 0.841395141645195, 0.817523037943650, 0.794328234724281, 0.771791515585012, 0.749894209332456,
  0.728618174513228, 0.707945784384138, 0.687859912308808, 0.668343917568615, 0.649381631576211, 0.630957344480193,
  0.613055792149821, 0.595662143529010, 0.578761988349121, 0.562341325190349, 0.546386549881854, 0.530884444230988,
  0.515822165072306, 0.501187233627272, 0.446683592150963, 0.398107170553497, 0.354813389233575, 0.316227766016838,
  0.281838293126445, 0.251188643150958, 0.223872113856834, 0.199526231496888, 0.177827941003892, 0.158489319246111,
  0.141253754462275, 0.125892541179417, 0.112201845430196, 0.100000000000000, 0.089125093813374, 0.079432823472428,
  0.070794578438414, 0.063095734448019, 0.053088444423099, 0.044668359215096, 0.037583740428844, 0.031622776601684,
  0.026607250597988, 0.022387211385683, 0.018836490894898, 0.015848931924611, 0.013335214321633, 0.011220184543020,
  0.009440608762859, 0.007943282347243, 0.005623413251903, 0.003981071705535, 0.002818382931264, 0.001995262314969,
  0.001412537544623, 0.001000000000000, 0.000501187233627, 0.000251188643151, 0.000000000000000,
}

Definition at line 7517 of file dcadata.h.

Referenced by dca_downmix(), and dca_subframe_header().

const uint32_t dca_sample_rates[16] [static]

Initial value:

{
    0, 8000, 16000, 32000, 0, 0, 11025, 22050, 44100, 0, 0,
    12000, 24000, 48000, 96000, 192000
}

Definition at line 31 of file dcadata.h.

Referenced by dca_parse_frame_header(), encode_init(), and spdif_header_dts().

const float fir_32bands_nonperfect[] [static]

Definition at line 6798 of file dcadata.h.

Referenced by qmf_32_subbands().

const float fir_32bands_perfect[] [static]

Definition at line 6282 of file dcadata.h.

Referenced by qmf_32_subbands().

const int8_t high_freq_vq[1024][32] [static]

Definition at line 4227 of file dcadata.h.

Referenced by dca_subsubframe().

const float lfe_fir_128[] [static]

Definition at line 7446 of file dcadata.h.

Referenced by lfe_interpolation_fir().

const float lfe_fir_64[] [static]

Definition at line 7314 of file dcadata.h.

Referenced by init_lfe_fir(), and lfe_interpolation_fir().

const uint32_t lossless_quant[32] [static]

Initial value:

 {
        0, 4194304, 2097152, 1384120, 1048576,  696254,  524288,  348127,
   262144,  131072,   65431,   33026,   16450,    8208,    4100,    2049,
     1024,     512,     256,     128,      64,      32,      16,       8,
        4,       2,       1,       0,       0,       0,       0,       0
}

Definition at line 4209 of file dcadata.h.

const float lossless_quant_d[32] [static]

Initial value:

 {
    0,             1.0,      0.5,     0.33,     0.25,    0.166,    0.125,
    0.083,      0.0625,  0.03125,   0.0156, 7.874E-3, 3.922E-3, 1.957E-3,
    9.775E-4, 4.885E-4, 2.442E-4, 1.221E-4, 6.104E-5, 3.052E-5, 1.526E-5,
    7.629E-6, 3.815E-6, 1.907E-6, 9.537E-7, 4.768E-7, 2.384E-7,        0,
           0,        0,        0,        0
}

Definition at line 4216 of file dcadata.h.

Referenced by dca_subsubframe().

const uint32_t lossy_quant[32] [static]

Initial value:

 {
        0, 6710886, 4194304, 3355443, 2474639, 2097152, 1761608, 1426063,
   796918,  461373,  251658,  146801,   79692,   46137,   27263,   16777,
    10486,    5872,    3355,    1887,    1258,     713,     336,     168,
       84,      42,      21,       0,       0,       0,       0,       0
}

Definition at line 4194 of file dcadata.h.

Referenced by find_scale_factor7(), and put_sample7().

const float lossy_quant_d[32] [static]

Initial value:

 {
          0,     1.6,      1.0,     0.8,    0.59,    0.50,    0.42,    0.34,
       0.19,    0.11,     0.06,   0.035,   0.019,   0.011,  0.0065,  0.0040,
     0.0025,  0.0014,   0.0008, 0.00045, 0.00030, 0.00017, 0.00008, 0.00004,
    0.00002, 0.00001, 0.000005,       0,       0,       0,       0,       0
}

Definition at line 4201 of file dcadata.h.

Referenced by dca_subsubframe().

const uint32_t scale_factor_quant6[64] [static]

Initial value:

 {
        1,       2,       2,       3,       3,       4,       6,       7,
       10,      12,      16,      20,      26,      34,      44,      56,
       72,      93,     120,     155,     200,     257,     331,     427,
      550,     708,     912,    1175,    1514,    1950,    2512,    3236,
     4169,    5370,    6918,    8913,   11482,   14791,   19055,   24547,
    31623,   40738,   52481,   67608,   87096,  112202,  144544,  186209,
   239883,  309030,  398107,  512861,  660693,  851138, 1096478, 1412538,
  1819701, 2344229, 3019952, 3890451, 5011872, 6456542, 8317638,       0
}

Definition at line 4163 of file dcadata.h.

Referenced by dca_subframe_header().

const uint32_t scale_factor_quant7[128] [static]

Initial value:

 {
        1,       1,       2,       2,       2,       2,       3,       3,
        3,       4,       4,       5,       6,       7,       7,       8,
       10,      11,      12,      14,      16,      18,      20,      23,
       26,      30,      34,      38,      44,      50,      56,      64,
       72,      82,      93,     106,     120,     136,     155,     176,
      200,     226,     257,     292,     331,     376,     427,     484,
      550,     624,     708,     804,     912,    1035,    1175,    1334,
     1514,    1718,    1950,    2213,    2512,    2851,    3236,    3673,
     4169,    4732,    5370,    6095,    6918,    7852,    8913,   10116,
    11482,   13032,   14791,   16788,   19055,   21627,   24547,   27861,
    31623,   35892,   40738,   46238,   52481,   59566,   67608,   76736,
    87096,   98855,  112202,  127350,  144544,  164059,  186209,  211349,
   239883,  272270,  309030,  350752,  398107,  451856,  512861,  582103,
   660693,  749894,  851138,  966051, 1096478, 1244515, 1412538, 1603245,
  1819701, 2065380, 2344229, 2660725, 3019952, 3427678, 3890451, 4415704,
  5011872, 5688529, 6456542, 7328245, 8317638,       0,       0,       0
}

Definition at line 4174 of file dcadata.h.

Referenced by dca_subframe_header(), find_scale_factor7(), and put_sample7().


Generated on Fri Oct 26 02:46:07 2012 for FFmpeg by  doxygen 1.5.8