Mercurial > mplayer.hg
changeset 10288:f1c07629350a
1000l
author | rfelker |
---|---|
date | Fri, 13 Jun 2003 19:29:21 +0000 |
parents | e75a65153f18 |
children | bc8737744524 |
files | libmpcodecs/native/tables144.h libmpcodecs/native/tables288.h |
diffstat | 2 files changed, 14 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/native/tables144.h Fri Jun 13 01:40:39 2003 +0000 +++ b/libmpcodecs/native/tables144.h Fri Jun 13 19:29:21 2003 +0000 @@ -2,7 +2,7 @@ #define TABLES144_H /* 14.4 data tables */ -const unsigned short sqrt_table[4096]={ +static const unsigned short sqrt_table[4096]={ 0x0000,0x0400,0x05a8,0x06ed,0x0800,0x08f1,0x09cc,0x0a95, 0x0b50,0x0c00,0x0ca6,0x0d44,0x0ddb,0x0e6c,0x0ef7,0x0f7d, 0x1000,0x107e,0x10f8,0x116f,0x11e3,0x1254,0x12c2,0x132e, @@ -516,7 +516,7 @@ 0xff7f,0xff87,0xff8f,0xff97,0xff9f,0xffa7,0xffaf,0xffb7, 0xffbf,0xffc7,0xffcf,0xffd7,0xffdf,0xffe7,0xffef,0xfff7}; -const signed short wavtable1[2304]={ +static const signed short wavtable1[2304]={ 0x021d,0x03bc,0x0300,0xfc0d,0xfcd5,0xfd33,0xfdc5,0xfc83, 0xfdc0,0x036d,0x0245,0x0238,0xfc1b,0xfc31,0xfd7a,0xfd10, 0xfd6b,0xfd88,0x02a3,0x0313,0x027b,0xfdf9,0xfcba,0xfc2f, @@ -806,7 +806,7 @@ 0x025b,0xfda6,0xfce0,0xfde8,0xfc7d,0xfcd9,0xfd38,0x032e, 0x02e8,0x021f,0xfdb0,0xfc9f,0xfcea,0xfd78,0xfde3,0xfdbf}; -const unsigned short wavtable2[2304]={ +static const unsigned short wavtable2[2304]={ 0x0e,0x0e,0x0e,0x14,0x14,0x13,0x15,0x14,0x14,0x0e,0x0e,0x0e, 0x14,0x14,0x14,0x14,0x15,0x15,0x0e,0x0d,0x0e,0x12,0x14,0x13, 0x15,0x12,0x15,0x0d,0x0d,0x0e,0x12,0x13,0x13,0x13,0x12,0x15, @@ -1000,7 +1000,7 @@ 0x0b,0x0b,0x0e,0x09,0x10,0x0f,0x08,0x0b,0x0a,0x0a,0x0a,0x0c, 0x09,0x0e,0x0d,0x08,0x0b,0x0a,0x0a,0x0a,0x0d,0x08,0x0e,0x0d}; -const signed short etable1[5120]={ +static const signed short etable1[5120]={ 0x0026,0xfffc,0x000f,0xfffc,0x000e,0xfff3,0x000c,0xfff5, 0xfffe,0xfffa,0xfffa,0xfff5,0xffd3,0xfff0,0xfff5,0xfff3, 0xfff9,0x0006,0xfff4,0x0004,0xffec,0x0003,0xfff0,0x000c, @@ -1642,7 +1642,7 @@ 0x0001,0xfff4,0xffd2,0xffe8,0x0000,0xffdf,0x0003,0xfff7, 0x000c,0x000c,0x0008,0x0007,0xffef,0x0006,0x0000,0x0002}; -const signed short etable2[5120]={ +static const signed short etable2[5120]={ 0x0049,0xffe0,0xffc4,0xfff1,0xffe6,0x003b,0x0002,0xffdf, 0x001e,0xfff6,0xfffd,0xffef,0x0008,0x001e,0xffff,0xffe6, 0xfffc,0xffea,0x000a,0x0010,0xffdc,0xfffb,0xfff5,0x0038, @@ -2284,7 +2284,7 @@ 0xffdb,0xfffa,0x000a,0x0005,0x000d,0x0003,0xfffa,0x0005, 0xfff5,0xfffc,0x0013,0x0005,0x0010,0xffd7,0xffe8,0xfff3}; -const unsigned long ftable1[128]={ +static const unsigned long ftable1[128]={ 0x4cc9f,0x482af,0x47bd8,0x44700,0x5238b,0x47377,0x4898a,0x411fd, 0x4f8b7,0x4a7d5,0x4bd1b,0x47feb,0x5554b,0x49414,0x4c9d4,0x4403c, 0x4fa57,0x550c5,0x4ea1c,0x54c6e,0x51f27,0x4ff8f,0x4cab5,0x4bbb6, @@ -2302,7 +2302,7 @@ 0x4403c,0x4c9d4,0x49414,0x5554b,0x47feb,0x4bd1b,0x4a7d5,0x4f8b7, 0x411fd,0x4898a,0x47377,0x5238b,0x44700,0x47bd8,0x482af,0x4cc9f}; -const unsigned long ftable2[128]={ +static const unsigned long ftable2[128]={ 0x2f8e9,0x3444d,0x3637b,0x3608d,0x3372e,0x33ab9,0x33946,0x2f157, 0x307a1,0x36a4d,0x380c9,0x39279,0x332c0,0x34673,0x33a8a,0x2fec4, 0x2ecea,0x36011,0x34bb0,0x37829,0x36353,0x39c4a,0x35f32,0x33352, @@ -2399,7 +2399,7 @@ static const short decodetable11[7]={ 0xfd97,0xff2b,0x00be,0x01f0,0x0322,0x0476,0x05cb}; -const short *decodetable[11]={ +static const short *decodetable[11]={ decodetable1,decodetable2,decodetable3,decodetable4,decodetable5, decodetable6,decodetable7,decodetable8,decodetable9,decodetable10, decodetable11};
--- a/libmpcodecs/native/tables288.h Fri Jun 13 01:40:39 2003 +0000 +++ b/libmpcodecs/native/tables288.h Fri Jun 13 19:29:21 2003 +0000 @@ -1,10 +1,10 @@ #ifndef TABLES288_H #define TABLES288_H -const float amptable[8]={ 0.515625, 0.90234375, 1.57910156, 2.76342773, +static const float amptable[8]={ 0.515625, 0.90234375, 1.57910156, 2.76342773, -0.515625,-0.90234375,-1.57910156,-2.76342773 }; -const float codetable[640]={ +static const float codetable[640]={ 0.326171875, -1.4404296875, -0.6123046875, -0.8740234375, -1.24658203125, -2.45703125, -2.23486328125, -0.51025390625, 1.419921875, 1.6201171875, -1.37646484375, -1.30712890625, -0.462890625, -1.37939453125, -2.1728515625, @@ -135,7 +135,7 @@ 0.2958984375, 0.9853515625, -0.642578125, 1.984375, 0.1943359375 }; -const float table1[111]={ +static const float table1[111]={ 0.576690972, 0.580838025, 0.585013986, 0.589219987, 0.59345597, 0.597723007, 0.602020264, 0.606384277, 0.610748291, 0.615142822, 0.619598389, 0.624084473, 0.628570557, 0.633117676, 0.637695313, 0.642272949, 0.646911621, 0.651580811, @@ -157,7 +157,7 @@ 0.142852783, 0.0954284668, 0.0477600098 }; -const float table2[38]={ +static const float table2[38]={ 0.505699992, 0.524200022, 0.54339999, 0.563300014, 0.583953857, 0.60534668, 0.627502441, 0.650482178, 0.674316406, 0.699005127, 0.724578857, 0.75112915, 0.778625488, 0.807128906, 0.836669922, 0.86730957, 0.899078369, 0.932006836, @@ -167,7 +167,7 @@ 0.183868408, 0.0923461914 }; -const float table1a[36]={ +static const float table1a[36]={ 0.98828125, 0.976699829, 0.965254128, 0.953942537, 0.942763507, 0.931715488, 0.920796931, 0.910006344, 0.899342179, 0.888803005, 0.878387332, 0.868093729, 0.857920766, 0.847867012, 0.837931097, 0.828111589, 0.818407178, 0.808816493, @@ -176,7 +176,7 @@ 0.693900526, 0.685768902, 0.677732527, 0.669790328, 0.66194123, 0.654184103 }; -const float table2a[10]={ +static const float table2a[10]={ 0.90625, 0.821289063, 0.74432373, 0.674499512, 0.61126709, 0.553955078, 0.50201416, 0.454956055, 0.41229248, 0.373657227 };