root/drivers/sound/ulaw.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 
   2 /*
   3  * This is a new ulaw.h made by Andy Fingerhut <jaf@dworkin.wustl.edu>
   4  */
   5 
   6 static unsigned char ulaw_dsp[] = {
   7     2,    6,   10,   14,   18,   22,   26,   30,
   8    34,   38,   42,   46,   50,   54,   58,   62,
   9    65,   67,   69,   71,   73,   75,   77,   79,
  10    81,   83,   85,   87,   89,   91,   93,   95,
  11    97,   98,   99,  100,  101,  102,  103,  104,
  12   105,  106,  107,  108,  109,  110,  111,  112,
  13   112,  113,  113,  114,  114,  115,  115,  116,
  14   116,  117,  117,  118,  118,  119,  119,  120,
  15   120,  120,  121,  121,  121,  121,  122,  122,
  16   122,  122,  123,  123,  123,  123,  124,  124,
  17   124,  124,  124,  124,  125,  125,  125,  125,
  18   125,  125,  125,  125,  126,  126,  126,  126,
  19   126,  126,  126,  126,  126,  126,  126,  126,
  20   127,  127,  127,  127,  127,  127,  127,  127,
  21   127,  127,  127,  127,  127,  127,  127,  127,
  22   127,  127,  127,  127,  127,  127,  127,  128,
  23   253,  249,  245,  241,  237,  233,  229,  225,
  24   221,  217,  213,  209,  205,  201,  197,  193,
  25   190,  188,  186,  184,  182,  180,  178,  176,
  26   174,  172,  170,  168,  166,  164,  162,  160,
  27   158,  157,  156,  155,  154,  153,  152,  151,
  28   150,  149,  148,  147,  146,  145,  144,  143,
  29   143,  142,  142,  141,  141,  140,  140,  139,
  30   139,  138,  138,  137,  137,  136,  136,  135,
  31   135,  135,  134,  134,  134,  134,  133,  133,
  32   133,  133,  132,  132,  132,  132,  131,  131,
  33   131,  131,  131,  131,  130,  130,  130,  130,
  34   130,  130,  130,  130,  129,  129,  129,  129,
  35   129,  129,  129,  129,  129,  129,  129,  129,
  36   128,  128,  128,  128,  128,  128,  128,  128,
  37   128,  128,  128,  128,  128,  128,  128,  128,
  38   128,  128,  128,  128,  128,  128,  128,  128
  39 };
  40 
  41 static unsigned char dsp_ulaw[] = {
  42     0,    0,    0,    0,    0,    1,    1,    1,
  43     1,    2,    2,    2,    2,    3,    3,    3,
  44     3,    4,    4,    4,    4,    5,    5,    5,
  45     5,    6,    6,    6,    6,    7,    7,    7,
  46     7,    8,    8,    8,    8,    9,    9,    9,
  47     9,   10,   10,   10,   10,   11,   11,   11,
  48    11,   12,   12,   12,   12,   13,   13,   13,
  49    13,   14,   14,   14,   14,   15,   15,   15,
  50    15,   16,   16,   17,   17,   18,   18,   19,
  51    19,   20,   20,   21,   21,   22,   22,   23,
  52    23,   24,   24,   25,   25,   26,   26,   27,
  53    27,   28,   28,   29,   29,   30,   30,   31,
  54    31,   32,   33,   34,   35,   36,   37,   38,
  55    39,   40,   41,   42,   43,   44,   45,   46,
  56    47,   48,   50,   52,   54,   56,   58,   60,
  57    62,   65,   69,   73,   77,   83,   91,  103,
  58   255,  231,  219,  211,  205,  201,  197,  193,
  59   190,  188,  186,  184,  182,  180,  178,  176,
  60   175,  174,  173,  172,  171,  170,  169,  168,
  61   167,  166,  165,  164,  163,  162,  161,  160,
  62   159,  159,  158,  158,  157,  157,  156,  156,
  63   155,  155,  154,  154,  153,  153,  152,  152,
  64   151,  151,  150,  150,  149,  149,  148,  148,
  65   147,  147,  146,  146,  145,  145,  144,  144,
  66   143,  143,  143,  143,  142,  142,  142,  142,
  67   141,  141,  141,  141,  140,  140,  140,  140,
  68   139,  139,  139,  139,  138,  138,  138,  138,
  69   137,  137,  137,  137,  136,  136,  136,  136,
  70   135,  135,  135,  135,  134,  134,  134,  134,
  71   133,  133,  133,  133,  132,  132,  132,  132,
  72   131,  131,  131,  131,  130,  130,  130,  130,
  73   129,  129,  129,  129,  128,  128,  128,  128
  74 };

/* [previous][next][first][last][top][bottom][index][help] */