Changeset 721 in 3DVCSoftware for branches/HTM-8.2-dev0-MediaTek


Ignore:
Timestamp:
28 Nov 2013, 11:36:23 (11 years ago)
Author:
mediatek-htm
Message:

fix some compiler warning for F0110

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-8.2-dev0-MediaTek/source/Lib/TLibCommon/TComDataCU.cpp

    r716 r721  
    84358435    // iLoopCan == 1 --> IvMCShift
    84368436
     8437#if !MTK_SPIVMP_F0110
    84378438    Int         iBaseCUAddr;
    84388439    Int         iBaseAbsPartIdx;
     8440#endif
    84398441
    84408442    Int offsetW = (iLoopCan == 0) ? 0 : ( ((iWidth /2)*4) + 4 );
    84418443    Int offsetH = (iLoopCan == 0) ? 0 : ( ((iHeight/2)*4) + 4 );
    84428444
     8445#if MTK_SPIVMP_F0110
     8446    iBasePosX   = Clip3( 0, pcBaseRec->getWidth () - 1, iCurrPosX + ( (cDv.getHor() + offsetW + 2 ) >> 2 ) );
     8447    iBasePosY   = Clip3( 0, pcBaseRec->getHeight() - 1, iCurrPosY + ( (cDv.getVer() + offsetH + 2 ) >> 2 ) );
     8448#else
    84438449    Int         iBasePosX   = Clip3( 0, pcBaseRec->getWidth () - 1, iCurrPosX + ( (cDv.getHor() + offsetW + 2 ) >> 2 ) );
    84448450    Int         iBasePosY   = Clip3( 0, pcBaseRec->getHeight() - 1, iCurrPosY + ( (cDv.getVer() + offsetH + 2 ) >> 2 ) );
     8451#endif
    84458452    pcBaseRec->getCUAddrAndPartIdx( iBasePosX , iBasePosY , iBaseCUAddr, iBaseAbsPartIdx );
    84468453
     8454#if MTK_SPIVMP_F0110
     8455    pcBaseCU    = pcBasePic->getCU( iBaseCUAddr );
     8456#else
    84478457    TComDataCU* pcBaseCU    = pcBasePic->getCU( iBaseCUAddr );
     8458#endif
    84488459    if(!( pcBaseCU->getPredictionMode( iBaseAbsPartIdx ) == MODE_INTRA ))
    84498460    {
Note: See TracChangeset for help on using the changeset viewer.