source: 3DVCSoftware/trunk/source/Lib/TLibCommon/TComCABACTables.cpp @ 16

Last change on this file since 16 was 5, checked in by hhi, 13 years ago

Clean version with cfg-files

  • Property svn:eol-style set to native
File size: 3.5 KB
RevLine 
[5]1/* The copyright in this software is being made available under the BSD
2 * License, included below. This software may be subject to other third party
3 * and contributor rights, including patent rights, and no such rights are
4 * granted under this license.
5 *
6 * Copyright (c) 2010-2011, ISO/IEC
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions are met:
11 *
12 *  * Redistributions of source code must retain the above copyright notice,
13 *    this list of conditions and the following disclaimer.
14 *  * Redistributions in binary form must reproduce the above copyright notice,
15 *    this list of conditions and the following disclaimer in the documentation
16 *    and/or other materials provided with the distribution.
17 *  * Neither the name of the ISO/IEC nor the names of its contributors may
18 *    be used to endorse or promote products derived from this software without
19 *    specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
25 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
31 * THE POSSIBILITY OF SUCH DAMAGE.
32 */
[2]33
34
[5]35
[2]36/** \file     TComCABACTables.cpp
37 *  \brief    static class for CABAC tables
38 */
39
40#include "TComCABACTables.h"
41
42const UChar TComCABACTables::sm_aucLPSTable[64][4] =
43{
44  { 128, 176, 208, 240},
45  { 128, 167, 197, 227},
46  { 128, 158, 187, 216},
47  { 123, 150, 178, 205},
48  { 116, 142, 169, 195},
49  { 111, 135, 160, 185},
50  { 105, 128, 152, 175},
51  { 100, 122, 144, 166},
52  {  95, 116, 137, 158},
53  {  90, 110, 130, 150},
54  {  85, 104, 123, 142},
55  {  81,  99, 117, 135},
56  {  77,  94, 111, 128},
57  {  73,  89, 105, 122},
58  {  69,  85, 100, 116},
59  {  66,  80,  95, 110},
60  {  62,  76,  90, 104},
61  {  59,  72,  86,  99},
62  {  56,  69,  81,  94},
63  {  53,  65,  77,  89},
64  {  51,  62,  73,  85},
65  {  48,  59,  69,  80},
66  {  46,  56,  66,  76},
67  {  43,  53,  63,  72},
68  {  41,  50,  59,  69},
69  {  39,  48,  56,  65},
70  {  37,  45,  54,  62},
71  {  35,  43,  51,  59},
72  {  33,  41,  48,  56},
73  {  32,  39,  46,  53},
74  {  30,  37,  43,  50},
75  {  29,  35,  41,  48},
76  {  27,  33,  39,  45},
77  {  26,  31,  37,  43},
78  {  24,  30,  35,  41},
79  {  23,  28,  33,  39},
80  {  22,  27,  32,  37},
81  {  21,  26,  30,  35},
82  {  20,  24,  29,  33},
83  {  19,  23,  27,  31},
84  {  18,  22,  26,  30},
85  {  17,  21,  25,  28},
86  {  16,  20,  23,  27},
87  {  15,  19,  22,  25},
88  {  14,  18,  21,  24},
89  {  14,  17,  20,  23},
90  {  13,  16,  19,  22},
91  {  12,  15,  18,  21},
92  {  12,  14,  17,  20},
93  {  11,  14,  16,  19},
94  {  11,  13,  15,  18},
95  {  10,  12,  15,  17},
96  {  10,  12,  14,  16},
97  {   9,  11,  13,  15},
98  {   9,  11,  12,  14},
99  {   8,  10,  12,  14},
100  {   8,   9,  11,  13},
101  {   7,   9,  11,  12},
102  {   7,   9,  10,  12},
103  {   7,   8,  10,  11},
104  {   6,   8,   9,  11},
105  {   6,   7,   9,  10},
106  {   6,   7,   8,   9},
107  {   2,   2,   2,   2}
108};
109
Note: See TracBrowser for help on using the repository browser.