Changeset 123 in 3DVCSoftware


Ignore:
Timestamp:
7 Sep 2012, 13:48:35 (12 years ago)
Author:
tech
Message:

Fixed new compiler warning in getRefQP

Location:
branches/HTM-4.0-Orange/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-4.0-Orange/source/Lib/TLibCommon/TComDataCU.cpp

    r117 r123  
    23072307#if H0204_QP_PREDICTION
    23082308  UInt        lPartIdx, aPartIdx;
     2309#if FIX_COMP_WARNING_INIT
     2310  lPartIdx = 0;
     2311  aPartIdx = 0;
     2312#endif
    23092313  TComDataCU* cULeft  = getQpMinCuLeft ( lPartIdx, m_uiAbsIdxInLCU + uiCurrAbsIdxInLCU );
    23102314  TComDataCU* cUAbove = getQpMinCuAbove( aPartIdx, m_uiAbsIdxInLCU + uiCurrAbsIdxInLCU );
  • branches/HTM-4.0-Orange/source/Lib/TLibCommon/TypeDef.h

    r117 r123  
    4747#define FIX_INIT_ROM                      1
    4848#define FIX_VIRT_DESTRUCTOR               1
     49#define FIX_COMP_WARNING_INIT             1
    4950
    5051
  • branches/HTM-4.0-Orange/source/Lib/TLibEncoder/TEncCu.cpp

    r122 r123  
    473473      pcTextureCU = pcTexture->getCU( rpcBestCU->getAddr() );
    474474      pcTexture->setPartInfo(pcTextureCU->readPartInfo());
    475       pcTexture->setTexPartIndex(0); //pcTextureCU->setTexPartIndex(0); //uiTexPartIndex = 0;
     475      pcTexture->setTexPartIndex(0);
    476476    }
    477477  }
     
    658658              break;
    659659            }
    660             pcTexture->incrementTexPartIndex(); //uiTexPartIndex+=2;
     660            pcTexture->incrementTexPartIndex();
    661661
    662662            if(pcTexture->accessPartInfo(1) == OL_END_CU)
Note: See TracChangeset for help on using the changeset viewer.