Logo Search packages:      
Sourcecode: schroedinger version File versions

schrotables.c

#include <schroedinger/schrotables.h>

uint32_t schro_table_offset_3_8[61] = {
        1,       2,       2,       3,
        3,       4,       4,       5,
        6,       7,       9,      10,
       12,      14,      17,      20,
       24,      29,      34,      41,
       48,      57,      68,      81,
       96,     114,     136,     162,
      192,     228,     272,     323,
      384,     457,     543,     646,
      768,     913,    1086,    1292,
     1536,    1827,    2172,    2583,
     3072,    3653,    4344,    5166,
     6144,    7307,    8689,   10333,
    12288,   14613,   17378,   20666,
    24576,   29226,   34756,   41332,
    49152
};

uint32_t schro_table_offset_1_2[61] = {
        1,       2,       3,       4,
        4,       5,       6,       7,
        8,      10,      12,      14,
       16,      19,      23,      27,
       32,      38,      46,      54,
       64,      76,      91,     108,
      128,     152,     181,     216,
      256,     305,     362,     431,
      512,     609,     724,     861,
     1024,    1218,    1448,    1722,
     2048,    2436,    2897,    3445,
     4096,    4871,    5793,    6889,
     8192,    9742,   11585,   13777,
    16384,   19484,   23171,   27555,
    32768,   38968,   46341,   55109,
    65536
};

uint32_t schro_table_quant[61] = {
        4,       5,       6,       7,
        8,      10,      11,      13,
       16,      19,      23,      27,
       32,      38,      45,      54,
       64,      76,      91,     108,
      128,     152,     181,     215,
      256,     304,     362,     431,
      512,     609,     724,     861,
     1024,    1218,    1448,    1722,
     2048,    2435,    2896,    3444,
     4096,    4871,    5793,    6889,
     8192,    9742,   11585,   13777,
    16384,   19484,   23170,   27554,
    32768,   38968,   46341,   55109,
    65536,   77936,   92682,  110218,
   131072
};

uint32_t schro_table_inverse_quant[61] = {
  1073741824u,  858993459u,  715827882u,  613566756u,
   536870912u,  429496729u,  390451572u,  330382099u,
   268435456u,  226050910u,  186737708u,  159072862u,
   134217728u,  113025455u,   95443717u,   79536431u,
    67108864u,   56512727u,   47197442u,   39768215u,
    33554432u,   28256363u,   23729101u,   19976592u,
    16777216u,   14128181u,   11864550u,    9965121u,
     8388608u,    7052491u,    5932275u,    4988347u,
     4194304u,    3526245u,    2966137u,    2494173u,
     2097152u,    1763846u,    1483068u,    1247086u,
     1048576u,     881742u,     741406u,     623452u,
      524288u,     440871u,     370735u,     311749u,
      262144u,     220435u,     185367u,     155874u,
      131072u,     110217u,      92681u,      77935u,
       65536u,      55108u,      46340u,      38967u,
       32768u
};

uint16_t schro_table_division_factor[257] = {
      0,     0, 32768, 21845,
  16384, 13107, 10923,  9362,
   8192,  7282,  6554,  5958,
   5461,  5041,  4681,  4369,
   4096,  3855,  3641,  3449,
   3277,  3121,  2979,  2849,
   2731,  2621,  2521,  2427,
   2341,  2260,  2185,  2114,
   2048,  1986,  1928,  1872,
   1820,  1771,  1725,  1680,
   1638,  1598,  1560,  1524,
   1489,  1456,  1425,  1394,
   1365,  1337,  1311,  1285,
   1260,  1237,  1214,  1192,
   1170,  1150,  1130,  1111,
   1092,  1074,  1057,  1040,
   1024,  1008,   993,   978,
    964,   950,   936,   923,
    910,   898,   886,   874,
    862,   851,   840,   830,
    819,   809,   799,   790,
    780,   771,   762,   753,
    745,   736,   728,   720,
    712,   705,   697,   690,
    683,   676,   669,   662,
    655,   649,   643,   636,
    630,   624,   618,   612,
    607,   601,   596,   590,
    585,   580,   575,   570,
    565,   560,   555,   551,
    546,   542,   537,   533,
    529,   524,   520,   516,
    512,   508,   504,   500,
    496,   493,   489,   485,
    482,   478,   475,   471,
    468,   465,   462,   458,
    455,   452,   449,   446,
    443,   440,   437,   434,
    431,   428,   426,   423,
    420,   417,   415,   412,
    410,   407,   405,   402,
    400,   397,   395,   392,
    390,   388,   386,   383,
    381,   379,   377,   374,
    372,   370,   368,   366,
    364,   362,   360,   358,
    356,   354,   352,   350,
    349,   347,   345,   343,
    341,   340,   338,   336,
    334,   333,   331,   329,
    328,   326,   324,   323,
    321,   320,   318,   317,
    315,   314,   312,   311,
    309,   308,   306,   305,
    303,   302,   301,   299,
    298,   297,   295,   294,
    293,   291,   290,   289,
    287,   286,   285,   284,
    282,   281,   280,   279,
    278,   277,   275,   274,
    273,   272,   271,   270,
    269,   267,   266,   265,
    264,   263,   262,   261,
    260,   259,   258,   257,
    256
};

Generated by  Doxygen 1.6.0   Back to index