[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 |
---|
[56] | 4 | * granted under this license. |
---|
[5] | 5 | * |
---|
[56] | 6 | * Copyright (c) 2010-2012, ITU/ISO/IEC |
---|
[5] | 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. |
---|
[56] | 17 | * * Neither the name of the ITU/ISO/IEC nor the names of its contributors may |
---|
[5] | 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 | /** \file TComRom.h |
---|
| 35 | \brief global variables & functions (header) |
---|
| 36 | */ |
---|
| 37 | |
---|
| 38 | #ifndef __TCOMROM__ |
---|
| 39 | #define __TCOMROM__ |
---|
| 40 | |
---|
| 41 | #include "CommonDef.h" |
---|
| 42 | |
---|
| 43 | #include<stdio.h> |
---|
| 44 | #include<iostream> |
---|
| 45 | |
---|
[5] | 46 | #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX |
---|
[2] | 47 | #include "TComWedgelet.h" |
---|
| 48 | #endif |
---|
| 49 | |
---|
[56] | 50 | //! \ingroup TLibCommon |
---|
| 51 | //! \{ |
---|
| 52 | |
---|
[2] | 53 | // ==================================================================================================================== |
---|
| 54 | // Macros |
---|
| 55 | // ==================================================================================================================== |
---|
| 56 | |
---|
| 57 | #define MAX_CU_DEPTH 7 // log2(LCUSize) |
---|
| 58 | #define MAX_CU_SIZE (1<<(MAX_CU_DEPTH)) // maximum allowable size of CU |
---|
| 59 | #define MIN_PU_SIZE 4 |
---|
| 60 | #define MAX_NUM_SPU_W (MAX_CU_SIZE/MIN_PU_SIZE) // maximum number of SPU in horizontal line |
---|
| 61 | |
---|
| 62 | // ==================================================================================================================== |
---|
| 63 | // Initialize / destroy functions |
---|
| 64 | // ==================================================================================================================== |
---|
| 65 | |
---|
| 66 | Void initROM(); |
---|
| 67 | Void destroyROM(); |
---|
| 68 | Void initFrameScanXY( UInt* pBuff, UInt* pBuffX, UInt* pBuffY, Int iWidth, Int iHeight ); |
---|
[56] | 69 | Void initSigLastScan(UInt* pBuffZ, UInt* pBuffH, UInt* pBuffV, UInt* pBuffD, Int iWidth, Int iHeight, Int iDepth); |
---|
| 70 | Void initNonSquareSigLastScan(UInt* pBuffZ, UInt uiWidth, UInt uiHeight); |
---|
[2] | 71 | // ==================================================================================================================== |
---|
| 72 | // Data structure related table & variable |
---|
| 73 | // ==================================================================================================================== |
---|
| 74 | |
---|
| 75 | // flexible conversion from relative to absolute index |
---|
| 76 | extern UInt g_auiZscanToRaster[ MAX_NUM_SPU_W*MAX_NUM_SPU_W ]; |
---|
| 77 | extern UInt g_auiRasterToZscan[ MAX_NUM_SPU_W*MAX_NUM_SPU_W ]; |
---|
[56] | 78 | extern UInt g_motionRefer[ MAX_NUM_SPU_W*MAX_NUM_SPU_W ]; |
---|
[2] | 79 | |
---|
| 80 | Void initZscanToRaster ( Int iMaxDepth, Int iDepth, UInt uiStartVal, UInt*& rpuiCurrIdx ); |
---|
| 81 | Void initRasterToZscan ( UInt uiMaxCUWidth, UInt uiMaxCUHeight, UInt uiMaxDepth ); |
---|
| 82 | |
---|
[56] | 83 | Void initMotionReferIdx ( UInt uiMaxCUWidth, UInt uiMaxCUHeight, UInt uiMaxDepth ); |
---|
| 84 | |
---|
[2] | 85 | // conversion of partition index to picture pel position |
---|
| 86 | extern UInt g_auiRasterToPelX[ MAX_NUM_SPU_W*MAX_NUM_SPU_W ]; |
---|
| 87 | extern UInt g_auiRasterToPelY[ MAX_NUM_SPU_W*MAX_NUM_SPU_W ]; |
---|
| 88 | |
---|
| 89 | Void initRasterToPelXY ( UInt uiMaxCUWidth, UInt uiMaxCUHeight, UInt uiMaxDepth ); |
---|
| 90 | |
---|
| 91 | // global variable (LCU width/height, max. CU depth) |
---|
| 92 | extern UInt g_uiMaxCUWidth; |
---|
| 93 | extern UInt g_uiMaxCUHeight; |
---|
| 94 | extern UInt g_uiMaxCUDepth; |
---|
| 95 | extern UInt g_uiAddCUDepth; |
---|
| 96 | |
---|
[56] | 97 | extern UInt g_auiPUOffset[8]; |
---|
[2] | 98 | |
---|
| 99 | #define QUANT_IQUANT_SHIFT 20 // Q(QP%6) * IQ(QP%6) = 2^20 |
---|
| 100 | #define QUANT_SHIFT 14 // Q(4) = 2^14 |
---|
| 101 | #define SCALE_BITS 15 // Inherited from TMuC, pressumably for fractional bit estimates in RDOQ |
---|
| 102 | #define MAX_TR_DYNAMIC_RANGE 15 // Maximum transform dynamic range (excluding sign bit) |
---|
| 103 | |
---|
| 104 | #define SHIFT_INV_1ST 7 // Shift after first inverse transform stage |
---|
| 105 | #define SHIFT_INV_2ND 12 // Shift after second inverse transform stage |
---|
| 106 | |
---|
[56] | 107 | extern Int g_quantScales[6]; // Q(QP%6) |
---|
| 108 | extern Int g_invQuantScales[6]; // IQ(QP%6) |
---|
[2] | 109 | extern const short g_aiT4[4][4]; |
---|
| 110 | extern const short g_aiT8[8][8]; |
---|
| 111 | extern const short g_aiT16[16][16]; |
---|
| 112 | extern const short g_aiT32[32][32]; |
---|
| 113 | |
---|
| 114 | // ==================================================================================================================== |
---|
| 115 | // Luma QP to Chroma QP mapping |
---|
| 116 | // ==================================================================================================================== |
---|
| 117 | |
---|
| 118 | extern const UChar g_aucChromaScale [52]; |
---|
| 119 | |
---|
| 120 | // ==================================================================================================================== |
---|
| 121 | // Scanning order & context mapping table |
---|
| 122 | // ==================================================================================================================== |
---|
| 123 | |
---|
| 124 | extern UInt* g_auiFrameScanXY[ MAX_CU_DEPTH ]; // raster index from scanning index |
---|
| 125 | extern UInt* g_auiFrameScanX [ MAX_CU_DEPTH ]; // raster index (x) from scanning index |
---|
| 126 | extern UInt* g_auiFrameScanY [ MAX_CU_DEPTH ]; // raster index (y) from scanning index |
---|
[56] | 127 | extern UInt* g_auiSigLastScan[4][ MAX_CU_DEPTH ]; // raster index from scanning index (zigzag, hor, ver, diag) |
---|
| 128 | extern UInt *g_sigScanNSQT[ 4 ]; // scan for non-square partitions |
---|
| 129 | extern UInt g_sigCGScanNSQT[ 4 ][ 16 ]; // coarse-grain scan for non-square partitions |
---|
[2] | 130 | |
---|
[56] | 131 | extern UInt* g_auiNonSquareSigLastScan[ 4 ]; // raster index from scanning index (zigzag) |
---|
| 132 | |
---|
| 133 | extern const UInt g_uiGroupIdx[ 32 ]; |
---|
| 134 | extern const UInt g_uiMinInGroup[ 10 ]; |
---|
| 135 | extern const UInt g_uiLastCtx[ 28 ]; |
---|
| 136 | |
---|
| 137 | extern const UInt g_auiGoRiceRange[5]; //!< maximum value coded with Rice codes |
---|
| 138 | extern const UInt g_auiGoRicePrefixLen[5]; //!< prefix length for each maximum value |
---|
| 139 | extern const UInt g_aauiGoRiceUpdate[5][24]; //!< parameter update rules for Rice codes |
---|
| 140 | |
---|
| 141 | extern const UInt g_sigLastScan8x8[ 4 ][ 4 ]; //!< coefficient group scan order for 8x8 TUs |
---|
| 142 | extern UInt g_sigLastScanCG32x32[ 64 ]; |
---|
[2] | 143 | |
---|
| 144 | // ==================================================================================================================== |
---|
| 145 | // ADI table |
---|
| 146 | // ==================================================================================================================== |
---|
| 147 | |
---|
| 148 | extern const UChar g_aucIntraModeNumFast[7]; |
---|
| 149 | |
---|
| 150 | // ==================================================================================================================== |
---|
| 151 | // Angular Intra table |
---|
| 152 | // ==================================================================================================================== |
---|
| 153 | |
---|
| 154 | extern const UChar g_aucIntraModeNumAng[7]; |
---|
| 155 | extern const UChar g_aucIntraModeBitsAng[7]; |
---|
| 156 | extern const UChar g_aucAngIntraModeOrder[NUM_INTRA_MODE]; |
---|
| 157 | |
---|
| 158 | // ==================================================================================================================== |
---|
| 159 | // Bit-depth |
---|
| 160 | // ==================================================================================================================== |
---|
| 161 | |
---|
| 162 | extern UInt g_uiBitDepth; |
---|
| 163 | extern UInt g_uiBitIncrement; |
---|
| 164 | extern UInt g_uiIBDI_MAX; |
---|
| 165 | extern UInt g_uiBASE_MAX; |
---|
[56] | 166 | extern UInt g_uiPCMBitDepthLuma; |
---|
| 167 | extern UInt g_uiPCMBitDepthChroma; |
---|
[2] | 168 | |
---|
| 169 | // ==================================================================================================================== |
---|
| 170 | // Texture type to integer mapping |
---|
| 171 | // ==================================================================================================================== |
---|
| 172 | |
---|
| 173 | extern const UChar g_aucConvertTxtTypeToIdx[4]; |
---|
| 174 | |
---|
[56] | 175 | // ==================================================================================================================== |
---|
| 176 | // Depth model modes |
---|
| 177 | // ==================================================================================================================== |
---|
| 178 | #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX |
---|
| 179 | extern Int g_iDeltaDCsQuantOffset; |
---|
| 180 | extern const WedgeResolution g_aeWedgeResolutionList[5]; |
---|
| 181 | extern const UChar g_aucWedgeFullBitsListIdx[7]; |
---|
[296] | 182 | #if LGE_DMM3_SIMP_C0044 |
---|
| 183 | extern const UChar g_aucWedgeTexPredBitsListIdx[7]; |
---|
| 184 | #endif |
---|
[56] | 185 | extern const UChar g_aucIntraSizeIdxToWedgeSize[7]; |
---|
| 186 | |
---|
| 187 | extern std::vector< std::vector<TComWedgelet> > g_aacWedgeLists; |
---|
| 188 | extern std::vector< std::vector<TComWedgeRef> > g_aacWedgeRefLists; |
---|
| 189 | |
---|
[296] | 190 | #if HHI_DMM_PRED_TEX || HHI_DMM_WEDGE_INTRA |
---|
[189] | 191 | extern std::vector< std::vector< std::vector<UInt> > > g_aauiWdgLstM3; |
---|
| 192 | extern std::vector< std::vector<TComWedgeNode> > g_aacWedgeNodeLists; |
---|
| 193 | #endif |
---|
| 194 | |
---|
| 195 | #if RWTH_SDC_DLT_B0036 |
---|
[296] | 196 | #define RWTH_SDC_NUM_PRED_MODES 3 |
---|
[189] | 197 | extern UInt g_auiSDCPredModes[RWTH_SDC_NUM_PRED_MODES]; |
---|
| 198 | #endif |
---|
| 199 | |
---|
[56] | 200 | Void initWedgeLists(); |
---|
| 201 | Void createWedgeList( UInt uiWidth, UInt uiHeight, std::vector<TComWedgelet> &racWedgeList, std::vector<TComWedgeRef> &racWedgeRefList, WedgeResolution eWedgeRes ); |
---|
| 202 | Void addWedgeletToList( TComWedgelet cWedgelet, std::vector<TComWedgelet> &racWedgeList, std::vector<TComWedgeRef> &racWedgeRefList ); |
---|
| 203 | |
---|
| 204 | __inline Void mapDMMtoIntraMode( UInt& dirMode ) { dirMode = (dirMode >= NUM_INTRA_MODE) ? DC_IDX : dirMode; } |
---|
| 205 | __inline Void mapDMMtoIntraMode( Int& dirMode ) { dirMode = (dirMode >= NUM_INTRA_MODE) ? DC_IDX : dirMode; } |
---|
| 206 | #endif |
---|
| 207 | |
---|
[189] | 208 | #if LGE_EDGE_INTRA_A0070 |
---|
[100] | 209 | __inline Void mapEdgeIntratoDC( UChar& curDir ) { curDir = (curDir >= EDGE_INTRA_IDX) ? DC_IDX : curDir; } |
---|
| 210 | __inline Void mapEdgeIntratoDC( UInt& curDir ) { curDir = (curDir >= EDGE_INTRA_IDX) ? DC_IDX : curDir; } |
---|
| 211 | __inline Void mapEdgeIntratoDC( Int& curDir ) { curDir = (curDir >= EDGE_INTRA_IDX) ? DC_IDX : curDir; } |
---|
| 212 | #endif |
---|
| 213 | |
---|
[2] | 214 | // ========================================== |
---|
| 215 | // Mode-Dependent DST Matrices |
---|
| 216 | extern const short g_as_DST_MAT_4 [4][4]; |
---|
[56] | 217 | #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX |
---|
| 218 | extern const UChar g_aucDCTDSTMode_Vert[NUM_INTRA_MODE+NUM_DMM_MODE]; |
---|
| 219 | extern const UChar g_aucDCTDSTMode_Hor [NUM_INTRA_MODE+NUM_DMM_MODE]; |
---|
[5] | 220 | #else |
---|
[2] | 221 | extern const UChar g_aucDCTDSTMode_Vert[NUM_INTRA_MODE]; |
---|
| 222 | extern const UChar g_aucDCTDSTMode_Hor[NUM_INTRA_MODE]; |
---|
[5] | 223 | #endif |
---|
[2] | 224 | // ========================================== |
---|
| 225 | |
---|
| 226 | // ==================================================================================================================== |
---|
| 227 | // Misc. |
---|
| 228 | // ==================================================================================================================== |
---|
| 229 | |
---|
| 230 | extern Char g_aucConvertToBit [ MAX_CU_SIZE+1 ]; // from width to log2(width)-2 |
---|
| 231 | |
---|
| 232 | #define ENC_DEC_TRACE 0 |
---|
| 233 | |
---|
| 234 | |
---|
| 235 | #if ENC_DEC_TRACE |
---|
| 236 | extern FILE* g_hTrace; |
---|
| 237 | extern Bool g_bJustDoIt; |
---|
| 238 | extern const Bool g_bEncDecTraceEnable; |
---|
| 239 | extern const Bool g_bEncDecTraceDisable; |
---|
| 240 | extern UInt64 g_nSymbolCounter; |
---|
| 241 | |
---|
| 242 | #define COUNTER_START 1 |
---|
| 243 | #define COUNTER_END 0 //( UInt64(1) << 63 ) |
---|
| 244 | |
---|
| 245 | #define DTRACE_CABAC_F(x) if ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) fprintf( g_hTrace, "%f", x ); |
---|
| 246 | #define DTRACE_CABAC_V(x) if ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) fprintf( g_hTrace, "%d", x ); |
---|
[56] | 247 | #define DTRACE_CABAC_VL(x) if ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) fprintf( g_hTrace, "%lld", x ); |
---|
[2] | 248 | #define DTRACE_CABAC_T(x) if ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) fprintf( g_hTrace, "%s", x ); |
---|
| 249 | #define DTRACE_CABAC_X(x) if ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) fprintf( g_hTrace, "%x", x ); |
---|
| 250 | #define DTRACE_CABAC_R( x,y ) if ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) fprintf( g_hTrace, x, y ); |
---|
| 251 | #define DTRACE_CABAC_N if ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) fprintf( g_hTrace, "\n" ); |
---|
| 252 | |
---|
| 253 | #else |
---|
| 254 | |
---|
| 255 | #define DTRACE_CABAC_F(x) |
---|
| 256 | #define DTRACE_CABAC_V(x) |
---|
[56] | 257 | #define DTRACE_CABAC_VL(x) |
---|
[2] | 258 | #define DTRACE_CABAC_T(x) |
---|
| 259 | #define DTRACE_CABAC_X(x) |
---|
| 260 | #define DTRACE_CABAC_R( x,y ) |
---|
| 261 | #define DTRACE_CABAC_N |
---|
| 262 | |
---|
| 263 | #endif |
---|
| 264 | |
---|
| 265 | |
---|
[56] | 266 | #define SCALING_LIST_NUM 6 ///< list number for quantization matrix |
---|
| 267 | #define SCALING_LIST_NUM_32x32 2 ///< list number for quantization matrix 32x32 |
---|
| 268 | #define SCALING_LIST_REM_NUM 6 ///< remainder of QP/6 |
---|
| 269 | #define SCALING_LIST_START_VALUE 8 ///< start value for dpcm mode |
---|
| 270 | #define MAX_MATRIX_COEF_NUM 64 ///< max coefficient number for quantization matrix |
---|
| 271 | #define MAX_MATRIX_SIZE_NUM 8 ///< max size number for quantization matrix |
---|
| 272 | #define SCALING_LIST_DC 16 ///< default DC value |
---|
| 273 | enum ScalingListDIR |
---|
| 274 | { |
---|
| 275 | SCALING_LIST_SQT = 0, |
---|
| 276 | SCALING_LIST_VER, |
---|
| 277 | SCALING_LIST_HOR, |
---|
| 278 | SCALING_LIST_DIR_NUM |
---|
| 279 | }; |
---|
| 280 | enum ScalingListSize |
---|
| 281 | { |
---|
| 282 | SCALING_LIST_4x4 = 0, |
---|
| 283 | SCALING_LIST_8x8, |
---|
| 284 | SCALING_LIST_16x16, |
---|
| 285 | SCALING_LIST_32x32, |
---|
| 286 | SCALING_LIST_SIZE_NUM |
---|
| 287 | }; |
---|
| 288 | static const char MatrixType[4][6][20] = |
---|
| 289 | { |
---|
[2] | 290 | { |
---|
[56] | 291 | "INTRA4X4_LUMA", |
---|
| 292 | "INTRA4X4_CHROMAU", |
---|
| 293 | "INTRA4X4_CHROMAV", |
---|
| 294 | "INTER4X4_LUMA", |
---|
| 295 | "INTER4X4_CHROMAU", |
---|
| 296 | "INTER4X4_CHROMAV" |
---|
| 297 | }, |
---|
[2] | 298 | { |
---|
[56] | 299 | "INTRA8X8_LUMA", |
---|
| 300 | "INTRA8X8_CHROMAU", |
---|
| 301 | "INTRA8X8_CHROMAV", |
---|
| 302 | "INTER8X8_LUMA", |
---|
| 303 | "INTER8X8_CHROMAU", |
---|
| 304 | "INTER8X8_CHROMAV" |
---|
| 305 | }, |
---|
[2] | 306 | { |
---|
[56] | 307 | "INTRA16X16_LUMA", |
---|
| 308 | "INTRA16X16_CHROMAU", |
---|
| 309 | "INTRA16X16_CHROMAV", |
---|
| 310 | "INTER16X16_LUMA", |
---|
| 311 | "INTER16X16_CHROMAU", |
---|
| 312 | "INTER16X16_CHROMAV" |
---|
| 313 | }, |
---|
| 314 | { |
---|
| 315 | "INTRA32X32_LUMA", |
---|
| 316 | "INTER32X32_LUMA", |
---|
| 317 | }, |
---|
| 318 | }; |
---|
| 319 | static const char MatrixType_DC[4][12][22] = |
---|
| 320 | { |
---|
| 321 | { |
---|
| 322 | }, |
---|
| 323 | { |
---|
| 324 | }, |
---|
| 325 | { |
---|
| 326 | "INTRA16X16_LUMA_DC", |
---|
| 327 | "INTRA16X16_CHROMAU_DC", |
---|
| 328 | "INTRA16X16_CHROMAV_DC", |
---|
| 329 | "INTER16X16_LUMA_DC", |
---|
| 330 | "INTER16X16_CHROMAU_DC", |
---|
| 331 | "INTER16X16_CHROMAV_DC" |
---|
| 332 | }, |
---|
| 333 | { |
---|
| 334 | "INTRA32X32_LUMA_DC", |
---|
| 335 | "INTER32X32_LUMA_DC", |
---|
| 336 | }, |
---|
| 337 | }; |
---|
| 338 | extern Int g_quantIntraDefault4x4[16]; |
---|
| 339 | extern Int g_quantIntraDefault8x8[64]; |
---|
| 340 | extern Int g_quantIntraDefault16x16[256]; |
---|
| 341 | extern Int g_quantIntraDefault32x32[1024]; |
---|
| 342 | extern Int g_quantInterDefault4x4[16]; |
---|
| 343 | extern Int g_quantInterDefault8x8[64]; |
---|
| 344 | extern Int g_quantInterDefault16x16[256]; |
---|
| 345 | extern Int g_quantInterDefault32x32[1024]; |
---|
| 346 | extern UInt g_scalingListSize [SCALING_LIST_SIZE_NUM]; |
---|
| 347 | extern UInt g_scalingListSizeX[SCALING_LIST_SIZE_NUM]; |
---|
| 348 | extern UInt g_scalingListNum [SCALING_LIST_SIZE_NUM]; |
---|
| 349 | extern Int g_eTTable[4]; |
---|
| 350 | //! \} |
---|
[2] | 351 | |
---|
| 352 | #endif //__TCOMROM__ |
---|
| 353 | |
---|