diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-04-09 18:12:59 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-04-09 18:12:59 +0400 |
commit | efbc9d9043ff8ff92716ddd00a5f61412d535593 (patch) | |
tree | 8f3e621f756cf1f5b4d64d97964c7e7abd8aaf08 /src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/intrax8huf.h | |
parent | df6b139a6d9027156f614b68687e039e3a5854db (diff) |
revert r1783
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1785 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/intrax8huf.h')
-rw-r--r-- | src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/intrax8huf.h | 140 |
1 files changed, 62 insertions, 78 deletions
diff --git a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/intrax8huf.h b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/intrax8huf.h index 3832848b7..375906bab 100644 --- a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/intrax8huf.h +++ b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/intrax8huf.h @@ -22,36 +22,32 @@ #include <inttypes.h> -static const uint16_t x8_orient_lowquant_table[4][12][2] = -{ - { - //0 +static const uint16_t x8_orient_lowquant_table[4][12][2]={ + {//0 {0x0000, 1}, {0x0004, 3}, {0x0005, 3}, {0x000C, 4}, {0x000D, 4}, {0x0038, 6}, {0x001D, 5}, {0x0039, 6}, {0x003C, 6}, {0x003D, 6}, {0x003E, 6}, {0x003F, 6}, - }, { //1 + },{//1 {0x0000, 5}, {0x0001, 5}, {0x0002, 5}, {0x0001, 2}, {0x0002, 2}, {0x0002, 4}, {0x0003, 5}, {0x0006, 3}, {0x0003, 4}, {0x000E, 4}, {0x001E, 5}, {0x001F, 5}, - }, { //2 + },{//2 {0x0000, 2}, {0x0001, 2}, {0x0004, 3}, {0x0005, 3}, {0x0006, 3}, {0x0038, 6}, {0x0039, 6}, {0x001D, 5}, {0x003C, 6}, {0x003D, 6}, {0x003E, 6}, {0x003F, 6}, - }, { //3 + },{//3 {0x0000, 3}, {0x0002, 4}, {0x0003, 4}, {0x0001, 2}, {0x0002, 2}, {0x0018, 5}, {0x0019, 5}, {0x000D, 4}, {0x001C, 5}, {0x001D, 5}, {0x001E, 5}, {0x001F, 5}, } }; -static const uint16_t x8_orient_highquant_table[2][12][2] = -{ - { - //0 +static const uint16_t x8_orient_highquant_table[2][12][2]={ + {//0 {0x0000, 2}, {0x0001, 2}, {0x0004, 3}, {0x0005, 3}, {0x0006, 3}, {0x0038, 6}, {0x001D, 5}, {0x0039, 6}, {0x003C, 6}, {0x003D, 6}, {0x003E, 6}, {0x003F, 6}, - }, { //1 + },{//1 {0x0000, 1}, {0x0002, 2}, {0x0006, 3}, {0x001C, 5}, {0x001D, 5}, {0x0078, 7}, {0x003D, 6}, {0x0079, 7}, {0x007C, 7}, {0x007D, 7}, {0x007E, 7}, {0x007F, 7}, @@ -60,10 +56,8 @@ static const uint16_t x8_orient_highquant_table[2][12][2] = #define MAX_OR_VLC_BITS 7 -static const uint16_t x8_dc_lowquant_table[8][34][2] = -{ - { - //0 +static const uint16_t x8_dc_lowquant_table[8][34][2]={ + {//0 {0x0000, 5}, {0x0001, 4}, {0x0001, 5}, {0x0004, 5}, {0x0005, 5}, {0x0006, 5}, {0x000E, 6}, {0x000F, 6}, {0x0040, 8}, {0x0041, 8}, {0x0840, 13}, {0x0841, 13}, @@ -73,7 +67,7 @@ static const uint16_t x8_dc_lowquant_table[8][34][2] = {0x0085, 9}, {0x0847, 13}, {0x0848, 13}, {0x0849, 13}, {0x084A, 13}, {0x084B, 13}, {0x084C, 13}, {0x084D, 13}, {0x084E, 13}, {0x084F, 13}, - }, { //1 + },{//1 {0x0000, 4}, {0x0001, 3}, {0x0002, 3}, {0x0001, 4}, {0x0006, 4}, {0x0004, 3}, {0x0007, 4}, {0x0005, 3}, {0x000C, 4}, {0x000D, 4}, {0x001C, 5}, {0x003A, 6}, @@ -83,7 +77,7 @@ static const uint16_t x8_dc_lowquant_table[8][34][2] = {0x01FE, 9}, {0x1DA3, 13}, {0x1DA4, 13}, {0x1DA5, 13}, {0x0ED3, 12}, {0x0ED4, 12}, {0x01FF, 9}, {0x0ED5, 12}, {0x0ED6, 12}, {0x0ED7, 12}, - }, { //2 + },{//2 {0x0000, 4}, {0x0001, 3}, {0x0002, 3}, {0x0001, 4}, {0x0006, 4}, {0x0007, 4}, {0x0008, 4}, {0x0009, 4}, {0x0028, 6}, {0x0029, 6}, {0x0054, 7}, {0x0055, 7}, @@ -93,7 +87,7 @@ static const uint16_t x8_dc_lowquant_table[8][34][2] = {0x00AD, 8}, {0x0AC5, 12}, {0x0AC6, 12}, {0x0AC7, 12}, {0x0AC8, 12}, {0x0AC9, 12}, {0x0ACA, 12}, {0x0ACB, 12}, {0x0566, 11}, {0x0567, 11}, - }, { //3 + },{//3 {0x0000, 4}, {0x0001, 2}, {0x0001, 3}, {0x0004, 3}, {0x0005, 3}, {0x0006, 3}, {0x0001, 4}, {0x000E, 4}, {0x003C, 6}, {0x003D, 6}, {0x007C, 7}, {0x00FA, 8}, @@ -103,7 +97,7 @@ static const uint16_t x8_dc_lowquant_table[8][34][2] = {0x1F66, 13}, {0x1F67, 13}, {0x1F68, 13}, {0x1F69, 13}, {0x1F6A, 13}, {0x1F6B, 13}, {0x1F6C, 13}, {0x1F6D, 13}, {0x1F6E, 13}, {0x1F6F, 13}, - }, { //4 + },{//4 {0x0000, 7}, {0x0001, 7}, {0x0002, 7}, {0x0003, 7}, {0x0004, 7}, {0x0005, 7}, {0x0006, 7}, {0x0007, 7}, {0x0008, 7}, {0x0009, 7}, {0x000A, 7}, {0x000B, 7}, @@ -113,7 +107,7 @@ static const uint16_t x8_dc_lowquant_table[8][34][2] = {0x0016, 7}, {0x0017, 7}, {0x0018, 7}, {0x0019, 7}, {0x001A, 7}, {0x001B, 7}, {0x001C, 7}, {0x001D, 7}, {0x001E, 7}, {0x001F, 7}, - }, { //5 + },{//5 {0x0000, 5}, {0x0001, 4}, {0x0001, 5}, {0x0008, 6}, {0x0009, 6}, {0x000A, 6}, {0x0016, 7}, {0x000C, 6}, {0x0017, 7}, {0x000D, 6}, {0x0038, 8}, {0x001D, 7}, @@ -123,7 +117,7 @@ static const uint16_t x8_dc_lowquant_table[8][34][2] = {0x0785, 13}, {0x0786, 13}, {0x0787, 13}, {0x0788, 13}, {0x0789, 13}, {0x078A, 13}, {0x078B, 13}, {0x078C, 13}, {0x078D, 13}, {0x03C7, 12}, - }, { //6 + },{//6 {0x0000, 4}, {0x0001, 2}, {0x0001, 3}, {0x0004, 3}, {0x0001, 4}, {0x000A, 4}, {0x0016, 5}, {0x002E, 6}, {0x005E, 7}, {0x005F, 7}, {0x00C0, 8}, {0x3040, 14}, @@ -133,7 +127,7 @@ static const uint16_t x8_dc_lowquant_table[8][34][2] = {0x3045, 14}, {0x3046, 14}, {0x3047, 14}, {0x3048, 14}, {0x3049, 14}, {0x304A, 14}, {0x304B, 14}, {0x304C, 14}, {0x304D, 14}, {0x1827, 13}, - }, { //7 + },{//7 {0x0000, 6}, {0x0001, 6}, {0x0002, 6}, {0x0006, 7}, {0x0007, 7}, {0x0004, 6}, {0x0005, 6}, {0x0006, 6}, {0x000E, 7}, {0x001E, 8}, {0x001F, 8}, {0x0040, 9}, @@ -146,10 +140,8 @@ static const uint16_t x8_dc_lowquant_table[8][34][2] = } }; -static const uint16_t x8_dc_highquant_table[8][34][2] = -{ - { - //0 +static const uint16_t x8_dc_highquant_table[8][34][2]={ + {//0 {0x0000, 5}, {0x0001, 4}, {0x0002, 4}, {0x0001, 5}, {0x0006, 5}, {0x0004, 4}, {0x0007, 5}, {0x000A, 5}, {0x002C, 7}, {0x002D, 7}, {0x05C0, 12}, {0x05C1, 12}, @@ -159,7 +151,7 @@ static const uint16_t x8_dc_highquant_table[8][34][2] = {0x005D, 8}, {0x05C7, 12}, {0x05C8, 12}, {0x05C9, 12}, {0x05CA, 12}, {0x05CB, 12}, {0x05CC, 12}, {0x05CD, 12}, {0x05CE, 12}, {0x05CF, 12}, - }, { //1 + },{//1 {0x0000, 3}, {0x0001, 3}, {0x0002, 3}, {0x0006, 4}, {0x0007, 4}, {0x0004, 3}, {0x000A, 4}, {0x000B, 4}, {0x0030, 6}, {0x0062, 7}, {0x0063, 7}, {0x0640, 11}, @@ -169,7 +161,7 @@ static const uint16_t x8_dc_highquant_table[8][34][2] = {0x007A, 7}, {0x0646, 11}, {0x007B, 7}, {0x0647, 11}, {0x0648, 11}, {0x0649, 11}, {0x064A, 11}, {0x064B, 11}, {0x0326, 10}, {0x0327, 10}, - }, { //2 + },{//2 {0x0000, 7}, {0x0001, 7}, {0x0001, 6}, {0x0004, 7}, {0x0003, 6}, {0x0005, 7}, {0x0010, 8}, {0x0011, 8}, {0x0240, 13}, {0x0241, 13}, {0x0242, 13}, {0x0243, 13}, @@ -179,7 +171,7 @@ static const uint16_t x8_dc_highquant_table[8][34][2] = {0x0126, 12}, {0x0127, 12}, {0x0128, 12}, {0x0129, 12}, {0x012A, 12}, {0x012B, 12}, {0x012C, 12}, {0x012D, 12}, {0x012E, 12}, {0x012F, 12}, - }, { //3 + },{//3 {0x0000, 4}, {0x0001, 3}, {0x0002, 3}, {0x0001, 4}, {0x0006, 4}, {0x0004, 3}, {0x0005, 3}, {0x0006, 3}, {0x000E, 5}, {0x000F, 5}, {0x0070, 7}, {0x0710, 11}, @@ -189,7 +181,7 @@ static const uint16_t x8_dc_highquant_table[8][34][2] = {0x007E, 7}, {0x0716, 11}, {0x0717, 11}, {0x0718, 11}, {0x007F, 7}, {0x0719, 11}, {0x071A, 11}, {0x071B, 11}, {0x038E, 10}, {0x038F, 10}, - }, { //4 + },{//4 {0x0000, 8}, {0x0001, 7}, {0x0002, 7}, {0x0003, 7}, {0x0002, 9}, {0x0008, 8}, {0x0003, 9}, {0x0240, 14}, {0x0241, 14}, {0x0242, 14}, {0x0243, 14}, {0x0244, 14}, @@ -199,7 +191,7 @@ static const uint16_t x8_dc_highquant_table[8][34][2] = {0x0126, 13}, {0x0127, 13}, {0x0128, 13}, {0x0129, 13}, {0x012A, 13}, {0x012B, 13}, {0x012C, 13}, {0x012D, 13}, {0x012E, 13}, {0x012F, 13}, - }, { //5 + },{//5 {0x0000, 7}, {0x0001, 7}, {0x0001, 6}, {0x0002, 6}, {0x0003, 6}, {0x0004, 6}, {0x0005, 6}, {0x0006, 6}, {0x0007, 6}, {0x0008, 6}, {0x0009, 6}, {0x000A, 6}, @@ -209,7 +201,7 @@ static const uint16_t x8_dc_highquant_table[8][34][2] = {0x0017, 6}, {0x0018, 6}, {0x0019, 6}, {0x0001, 1}, {0x001A, 6}, {0x001B, 6}, {0x001C, 6}, {0x001D, 6}, {0x001E, 6}, {0x001F, 6}, - }, { //6 + },{//6 {0x0000, 5}, {0x0001, 4}, {0x0001, 5}, {0x0004, 5}, {0x000A, 6}, {0x0006, 5}, {0x000B, 6}, {0x000E, 6}, {0x003C, 8}, {0x003D, 8}, {0x07C0, 13}, {0x07C1, 13}, @@ -219,7 +211,7 @@ static const uint16_t x8_dc_highquant_table[8][34][2] = {0x007D, 9}, {0x07C7, 13}, {0x07C8, 13}, {0x07C9, 13}, {0x07CA, 13}, {0x07CB, 13}, {0x07CC, 13}, {0x07CD, 13}, {0x07CE, 13}, {0x07CF, 13}, - }, { //7 + },{//7 {0x0000, 7}, {0x0001, 7}, {0x0002, 7}, {0x0003, 7}, {0x0004, 7}, {0x0005, 7}, {0x0006, 7}, {0x0007, 7}, {0x0008, 7}, {0x0009, 7}, {0x000A, 7}, {0x000B, 7}, @@ -234,10 +226,8 @@ static const uint16_t x8_dc_highquant_table[8][34][2] = #define MAX_DC_VLC_BITS 14 -static const uint16_t x8_ac0_lowquant_table[8][77][2] = -{ - { - //0 +static const uint16_t x8_ac0_lowquant_table[8][77][2]={ + {//0 {0x0000, 2}, {0x0002, 3}, {0x0006, 4}, {0x000E, 5}, {0x001E, 6}, {0x003E, 7}, {0x003F, 7}, {0x0040, 7}, {0x0104, 9}, {0x0083, 8}, {0x0084, 8}, {0x0085, 8}, @@ -258,7 +248,7 @@ static const uint16_t x8_ac0_lowquant_table[8][77][2] = {0x3ED2, 14}, {0x3ED3, 14}, {0x3ED4, 14}, {0x3ED5, 14}, {0x1F6B, 13}, {0x1F6C, 13}, {0x1F6D, 13}, {0x1F6E, 13}, {0x1F6F, 13}, - }, { //1 + },{//1 {0x0000, 3}, {0x0004, 5}, {0x0014, 7}, {0x000B, 6}, {0x000C, 6}, {0x002A, 8}, {0x002B, 8}, {0x0034, 8}, {0x0D40, 14}, {0x0D41, 14}, {0x001B, 7}, {0x0D42, 14}, @@ -279,7 +269,7 @@ static const uint16_t x8_ac0_lowquant_table[8][77][2] = {0x06B7, 13}, {0x06B8, 13}, {0x06B9, 13}, {0x06BA, 13}, {0x06BB, 13}, {0x06BC, 13}, {0x06BD, 13}, {0x06BE, 13}, {0x06BF, 13}, - }, { //2 + },{//2 {0x0000, 2}, {0x0002, 3}, {0x0003, 3}, {0x0008, 4}, {0x0012, 5}, {0x0013, 5}, {0x0028, 6}, {0x0029, 6}, {0x0054, 7}, {0x0055, 7}, {0x0056, 7}, {0x00AE, 8}, @@ -300,7 +290,7 @@ static const uint16_t x8_ac0_lowquant_table[8][77][2] = {0x7CB8, 15}, {0x7CB9, 15}, {0x7CBA, 15}, {0x7CBB, 15}, {0x7CBC, 15}, {0x01F7, 9}, {0x7CBD, 15}, {0x7CBE, 15}, {0x7CBF, 15}, - }, { //3 + },{//3 {0x0000, 2}, {0x0002, 3}, {0x0006, 4}, {0x000E, 5}, {0x000F, 5}, {0x0020, 6}, {0x0021, 6}, {0x0044, 7}, {0x0045, 7}, {0x008C, 8}, {0x008D, 8}, {0x011C, 9}, @@ -321,7 +311,7 @@ static const uint16_t x8_ac0_lowquant_table[8][77][2] = {0x75F9, 15}, {0x75FA, 15}, {0x75FB, 15}, {0x75FC, 15}, {0x75FD, 15}, {0x007F, 7}, {0x3AFF, 14}, {0x0F9E, 12}, {0x0F9F, 12}, - }, { //4 + },{//4 {0x0000, 3}, {0x0002, 4}, {0x0003, 4}, {0x0008, 5}, {0x0012, 6}, {0x0013, 6}, {0x0014, 6}, {0x002A, 7}, {0x0016, 6}, {0x002B, 7}, {0x005C, 8}, {0x005D, 8}, @@ -342,7 +332,7 @@ static const uint16_t x8_ac0_lowquant_table[8][77][2] = {0x03DD, 10}, {0x6715, 15}, {0x338B, 14}, {0x338C, 14}, {0x338D, 14}, {0x001F, 5}, {0x01EF, 9}, {0x338E, 14}, {0x338F, 14}, - }, { //5 + },{//5 {0x0000, 2}, {0x0004, 4}, {0x000A, 5}, {0x000B, 5}, {0x0018, 6}, {0x0019, 6}, {0x0034, 7}, {0x006A, 8}, {0x006B, 8}, {0x006C, 8}, {0x00DA, 9}, {0x036C, 11}, @@ -363,7 +353,7 @@ static const uint16_t x8_ac0_lowquant_table[8][77][2] = {0x3787, 15}, {0x1BC4, 14}, {0x1BC5, 14}, {0x1BC6, 14}, {0x1BC7, 14}, {0x001F, 5}, {0x03DD, 10}, {0x07B3, 11}, {0x01EF, 9}, - }, { //6 + },{//6 {0x0000, 2}, {0x0004, 4}, {0x000A, 5}, {0x0016, 6}, {0x0017, 6}, {0x0060, 8}, {0x00C2, 9}, {0x0186, 10}, {0x0187, 10}, {0x00C4, 9}, {0x3140, 15}, {0x3141, 15}, @@ -384,7 +374,7 @@ static const uint16_t x8_ac0_lowquant_table[8][77][2] = {0x3155, 15}, {0x3156, 15}, {0x3157, 15}, {0x3158, 15}, {0x3159, 15}, {0x00FF, 8}, {0x18AD, 14}, {0x18AE, 14}, {0x18AF, 14}, - }, { //7 + },{//7 {0x0000, 4}, {0x0080, 11}, {0x0081, 11}, {0x0082, 11}, {0x0083, 11}, {0x0084, 11}, {0x0085, 11}, {0x0086, 11}, {0x0087, 11}, {0x0088, 11}, {0x0089, 11}, {0x008A, 11}, @@ -408,10 +398,8 @@ static const uint16_t x8_ac0_lowquant_table[8][77][2] = } }; -static const uint16_t x8_ac0_highquant_table[8][77][2] = -{ - { - //0 +static const uint16_t x8_ac0_highquant_table[8][77][2]={ + {//0 {0x0000, 3}, {0x0002, 4}, {0x000C, 6}, {0x000D, 6}, {0x001C, 7}, {0x000F, 6}, {0x1D00, 15}, {0x003B, 8}, {0x1D01, 15}, {0x0075, 9}, {0x1D02, 15}, {0x0080, 9}, @@ -432,7 +420,7 @@ static const uint16_t x8_ac0_highquant_table[8][77][2] = {0x01FE, 9}, {0x0E99, 14}, {0x0E9A, 14}, {0x0E9B, 14}, {0x0E9C, 14}, {0x01FF, 9}, {0x0E9D, 14}, {0x0E9E, 14}, {0x0E9F, 14}, - }, { //1 + },{//1 {0x0000, 3}, {0x0002, 4}, {0x0003, 4}, {0x0008, 5}, {0x0012, 6}, {0x0013, 6}, {0x0014, 6}, {0x0015, 6}, {0x002C, 7}, {0x005A, 8}, {0x005B, 8}, {0x005C, 8}, @@ -453,7 +441,7 @@ static const uint16_t x8_ac0_highquant_table[8][77][2] = {0x178B, 14}, {0x178C, 14}, {0x178D, 14}, {0x01EC, 9}, {0x178E, 14}, {0x001F, 5}, {0x00F7, 8}, {0x01ED, 9}, {0x178F, 14}, - }, { //2 + },{//2 {0x0000, 4}, {0x0002, 5}, {0x0180, 12}, {0x0181, 12}, {0x0182, 12}, {0x0183, 12}, {0x0184, 12}, {0x0185, 12}, {0x0186, 12}, {0x0187, 12}, {0x0188, 12}, {0x0189, 12}, @@ -474,7 +462,7 @@ static const uint16_t x8_ac0_highquant_table[8][77][2] = {0x00F7, 11}, {0x00F8, 11}, {0x00F9, 11}, {0x00FA, 11}, {0x00FB, 11}, {0x00FC, 11}, {0x00FD, 11}, {0x00FE, 11}, {0x00FF, 11}, - }, { //3 + },{//3 {0x0000, 8}, {0x0001, 8}, {0x0002, 8}, {0x0003, 8}, {0x0004, 8}, {0x0005, 8}, {0x0006, 8}, {0x0007, 8}, {0x0008, 8}, {0x0009, 8}, {0x000A, 8}, {0x000B, 8}, @@ -495,7 +483,7 @@ static const uint16_t x8_ac0_highquant_table[8][77][2] = {0x0037, 7}, {0x0038, 7}, {0x0039, 7}, {0x003A, 7}, {0x003B, 7}, {0x003C, 7}, {0x003D, 7}, {0x003E, 7}, {0x003F, 7}, - }, { //4 + },{//4 {0x0000, 9}, {0x0001, 9}, {0x0002, 9}, {0x0003, 9}, {0x0004, 9}, {0x0005, 9}, {0x0006, 9}, {0x0007, 9}, {0x0008, 9}, {0x0009, 9}, {0x000A, 9}, {0x000B, 9}, @@ -516,7 +504,7 @@ static const uint16_t x8_ac0_highquant_table[8][77][2] = {0x0037, 8}, {0x0038, 8}, {0x0039, 8}, {0x003A, 8}, {0x003B, 8}, {0x003C, 8}, {0x003D, 8}, {0x003E, 8}, {0x003F, 8}, - }, { //5 + },{//5 {0x0000, 10}, {0x0001, 10}, {0x0002, 10}, {0x0003, 10}, {0x0004, 10}, {0x0005, 10}, {0x0006, 10}, {0x0007, 10}, {0x0008, 10}, {0x0009, 10}, {0x000A, 10}, {0x000B, 10}, @@ -537,7 +525,7 @@ static const uint16_t x8_ac0_highquant_table[8][77][2] = {0x0037, 9}, {0x0038, 9}, {0x0039, 9}, {0x003A, 9}, {0x003B, 9}, {0x003C, 9}, {0x003D, 9}, {0x003E, 9}, {0x003F, 9}, - }, { //6 + },{//6 {0x0000, 2}, {0x0004, 4}, {0x000A, 5}, {0x000B, 5}, {0x0018, 6}, {0x0019, 6}, {0x0034, 7}, {0x006A, 8}, {0x006B, 8}, {0x006C, 8}, {0x00DA, 9}, {0x00DB, 9}, @@ -558,7 +546,7 @@ static const uint16_t x8_ac0_highquant_table[8][77][2] = {0x1BC9, 14}, {0x1BCA, 14}, {0x1BCB, 14}, {0x1BCC, 14}, {0x1BCD, 14}, {0x001F, 5}, {0x036B, 10}, {0x1BCE, 14}, {0x1BCF, 14}, - }, { //7 + },{//7 {0x0000, 3}, {0x0002, 4}, {0x0006, 5}, {0x0007, 5}, {0x0010, 6}, {0x0044, 8}, {0x0023, 7}, {0x0012, 6}, {0x0026, 7}, {0x08A0, 13}, {0x004E, 8}, {0x004F, 8}, @@ -582,10 +570,8 @@ static const uint16_t x8_ac0_highquant_table[8][77][2] = } }; -static const uint16_t x8_ac1_lowquant_table[8][77][2] = -{ - { - //0 +static const uint16_t x8_ac1_lowquant_table[8][77][2]={ + {//0 {0x0000, 3}, {0x0002, 4}, {0x0003, 4}, {0x0008, 5}, {0x0012, 6}, {0x0026, 7}, {0x0014, 6}, {0x004E, 8}, {0x004F, 8}, {0x00A8, 9}, {0x0152, 10}, {0x00AA, 9}, @@ -606,7 +592,7 @@ static const uint16_t x8_ac1_lowquant_table[8][77][2] = {0x3E82, 14}, {0x3E83, 14}, {0x3E84, 14}, {0x3E85, 14}, {0x3E86, 14}, {0x003F, 6}, {0x01F5, 9}, {0x07D1, 11}, {0x3E87, 14}, - }, { //1 + },{//1 {0x0000, 2}, {0x0002, 3}, {0x0006, 4}, {0x000E, 5}, {0x001E, 6}, {0x001F, 6}, {0x0040, 7}, {0x0082, 8}, {0x0083, 8}, {0x0084, 8}, {0x010A, 9}, {0x010B, 9}, @@ -627,7 +613,7 @@ static const uint16_t x8_ac1_lowquant_table[8][77][2] = {0x3DDB, 14}, {0x3DDC, 14}, {0x3DDD, 14}, {0x3DDE, 14}, {0x3DDF, 14}, {0x003F, 6}, {0x07BC, 11}, {0x07BD, 11}, {0x03DF, 10}, - }, { //2 + },{//2 {0x0000, 3}, {0x0002, 4}, {0x0006, 5}, {0x000E, 6}, {0x001E, 7}, {0x003E, 8}, {0x003F, 8}, {0x0040, 8}, {0x0104, 10}, {0x0083, 9}, {0x0105, 10}, {0x0108, 10}, @@ -648,7 +634,7 @@ static const uint16_t x8_ac1_lowquant_table[8][77][2] = {0x212B, 15}, {0x212C, 15}, {0x212D, 15}, {0x212E, 15}, {0x212F, 15}, {0x001F, 5}, {0x0597, 11}, {0x00BE, 8}, {0x00BF, 8}, - }, { //3 + },{//3 {0x0000, 2}, {0x0002, 3}, {0x0006, 4}, {0x0007, 4}, {0x0010, 5}, {0x0011, 5}, {0x0024, 6}, {0x0025, 6}, {0x0026, 6}, {0x0027, 6}, {0x0050, 7}, {0x0051, 7}, @@ -669,7 +655,7 @@ static const uint16_t x8_ac1_lowquant_table[8][77][2] = {0x7882, 15}, {0x7883, 15}, {0x3C42, 14}, {0x3C43, 14}, {0x3C44, 14}, {0x00FD, 8}, {0x3C45, 14}, {0x3C46, 14}, {0x3C47, 14}, - }, { //4 + },{//4 {0x0000, 2}, {0x0004, 4}, {0x000A, 5}, {0x0016, 6}, {0x0017, 6}, {0x0030, 7}, {0x0031, 7}, {0x0064, 8}, {0x0065, 8}, {0x0066, 8}, {0x00CE, 9}, {0x00CF, 9}, @@ -690,7 +676,7 @@ static const uint16_t x8_ac1_lowquant_table[8][77][2] = {0x07D4, 11}, {0x1A21, 14}, {0x1A22, 14}, {0x07D5, 11}, {0x1A23, 14}, {0x003F, 6}, {0x01F6, 9}, {0x01F7, 9}, {0x03EB, 10}, - }, { //5 + },{//5 {0x0000, 2}, {0x0002, 3}, {0x0006, 4}, {0x000E, 5}, {0x000F, 5}, {0x0020, 6}, {0x0021, 6}, {0x0044, 7}, {0x0045, 7}, {0x0046, 7}, {0x008E, 8}, {0x008F, 8}, @@ -711,7 +697,7 @@ static const uint16_t x8_ac1_lowquant_table[8][77][2] = {0x7E59, 15}, {0x7E5A, 15}, {0x7E5B, 15}, {0x7E5C, 15}, {0x7E5D, 15}, {0x007F, 7}, {0x3F2F, 14}, {0x07E6, 11}, {0x07E7, 11}, - }, { //6 + },{//6 {0x0000, 3}, {0x0002, 4}, {0x0003, 4}, {0x0008, 5}, {0x0009, 5}, {0x0014, 6}, {0x0015, 6}, {0x002C, 7}, {0x005A, 8}, {0x005B, 8}, {0x005C, 8}, {0x00BA, 9}, @@ -732,7 +718,7 @@ static const uint16_t x8_ac1_lowquant_table[8][77][2] = {0x6E96, 15}, {0x6E97, 15}, {0x374C, 14}, {0x374D, 14}, {0x374E, 14}, {0x001F, 5}, {0x03D7, 10}, {0x01EF, 9}, {0x374F, 14}, - }, { //7 + },{//7 {0x0000, 2}, {0x0004, 4}, {0x000A, 5}, {0x0016, 6}, {0x002E, 7}, {0x002F, 7}, {0x0060, 8}, {0x0061, 8}, {0x00C4, 9}, {0x00C5, 9}, {0x00C6, 9}, {0x018E, 10}, @@ -756,10 +742,8 @@ static const uint16_t x8_ac1_lowquant_table[8][77][2] = } }; -static const uint16_t x8_ac1_highquant_table[8][77][2] = -{ - { - //0 +static const uint16_t x8_ac1_highquant_table[8][77][2]={ + {//0 {0x0000, 3}, {0x0002, 4}, {0x0006, 5}, {0x0007, 5}, {0x0008, 5}, {0x0009, 5}, {0x0014, 6}, {0x002A, 7}, {0x0016, 6}, {0x002B, 7}, {0x005C, 8}, {0x002F, 7}, @@ -780,7 +764,7 @@ static const uint16_t x8_ac1_highquant_table[8][77][2] = {0x03E8, 10}, {0x368C, 14}, {0x368D, 14}, {0x03E9, 10}, {0x368E, 14}, {0x003F, 6}, {0x01F5, 9}, {0x00FB, 8}, {0x368F, 14}, - }, { //1 + },{//1 {0x0000, 2}, {0x0004, 4}, {0x000A, 5}, {0x000B, 5}, {0x0018, 6}, {0x0032, 7}, {0x0033, 7}, {0x0034, 7}, {0x006A, 8}, {0x00D6, 9}, {0x00D7, 9}, {0x00D8, 9}, @@ -801,7 +785,7 @@ static const uint16_t x8_ac1_highquant_table[8][77][2] = {0x37C8, 14}, {0x37C9, 14}, {0x37CA, 14}, {0x37CB, 14}, {0x37CC, 14}, {0x001F, 5}, {0x37CD, 14}, {0x37CE, 14}, {0x37CF, 14}, - }, { //2 + },{//2 {0x0000, 3}, {0x0002, 4}, {0x0003, 4}, {0x0008, 5}, {0x0012, 6}, {0x0026, 7}, {0x0014, 6}, {0x0027, 7}, {0x00A8, 9}, {0x00A9, 9}, {0x0055, 8}, {0x2B00, 15}, @@ -822,7 +806,7 @@ static const uint16_t x8_ac1_highquant_table[8][77][2] = {0x03E3, 10}, {0x158C, 14}, {0x158D, 14}, {0x01F4, 9}, {0x158E, 14}, {0x003F, 6}, {0x00FB, 8}, {0x01F5, 9}, {0x158F, 14}, - }, { //3 + },{//3 {0x0000, 3}, {0x0002, 4}, {0x0006, 5}, {0x0007, 5}, {0x0010, 6}, {0x0011, 6}, {0x0024, 7}, {0x0025, 7}, {0x0013, 6}, {0x0014, 6}, {0x002A, 7}, {0x002B, 7}, @@ -843,7 +827,7 @@ static const uint16_t x8_ac1_highquant_table[8][77][2] = {0x1C49, 13}, {0x1C4A, 13}, {0x1C4B, 13}, {0x1C4C, 13}, {0x1C4D, 13}, {0x00F5, 8}, {0x1C4E, 13}, {0x01E9, 9}, {0x1C4F, 13}, - }, { //4 + },{//4 {0x0000, 2}, {0x0004, 4}, {0x000A, 5}, {0x000B, 5}, {0x0018, 6}, {0x0019, 6}, {0x0034, 7}, {0x0035, 7}, {0x0036, 7}, {0x006E, 8}, {0x00DE, 9}, {0x00DF, 9}, @@ -864,7 +848,7 @@ static const uint16_t x8_ac1_highquant_table[8][77][2] = {0x0FA4, 12}, {0x7D09, 15}, {0x7D0A, 15}, {0x7D0B, 15}, {0x3E86, 14}, {0x003F, 6}, {0x0FA5, 12}, {0x07D3, 11}, {0x3E87, 14}, - }, { //5 + },{//5 {0x0000, 3}, {0x0002, 4}, {0x0003, 4}, {0x0008, 5}, {0x0009, 5}, {0x0014, 6}, {0x002A, 7}, {0x0056, 8}, {0x02B8, 11}, {0x00AF, 9}, {0x02B9, 11}, {0x015D, 10}, @@ -885,7 +869,7 @@ static const uint16_t x8_ac1_highquant_table[8][77][2] = {0x3D52, 14}, {0x3D53, 14}, {0x3D54, 14}, {0x01FA, 9}, {0x3D55, 14}, {0x007F, 7}, {0x01FB, 9}, {0x3D56, 14}, {0x3D57, 14}, - }, { //6 + },{//6 {0x0000, 3}, {0x0002, 4}, {0x0003, 4}, {0x0008, 5}, {0x0009, 5}, {0x000A, 5}, {0x000B, 5}, {0x0018, 6}, {0x0032, 7}, {0x000D, 5}, {0x0033, 7}, {0x0E00, 13}, @@ -906,7 +890,7 @@ static const uint16_t x8_ac1_highquant_table[8][77][2] = {0x0719, 12}, {0x071A, 12}, {0x071B, 12}, {0x071C, 12}, {0x071D, 12}, {0x001F, 5}, {0x071E, 12}, {0x0071, 7}, {0x071F, 12}, - }, { //7 + },{//7 {0x0000, 3}, {0x0002, 4}, {0x0006, 5}, {0x000E, 6}, {0x000F, 6}, {0x0040, 8}, {0x0041, 8}, {0x0042, 8}, {0x0218, 11}, {0x2190, 15}, {0x2191, 15}, {0x2192, 15}, |