Changeset 1244 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon


Ignore:
Timestamp:
13 Jul 2015, 22:58:16 (10 years ago)
Author:
seregin
Message:

port rev 4236

Location:
branches/SHM-dev/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TComDataCU.cpp

    r1236 r1244  
    14341434*\returns Number of MPM
    14351435*/
    1436 Int TComDataCU::getIntraDirPredictor( UInt uiAbsPartIdx, Int uiIntraDirPred[NUM_MOST_PROBABLE_MODES], const ComponentID compID, Int* piMode  )
     1436Void TComDataCU::getIntraDirPredictor( UInt uiAbsPartIdx, Int uiIntraDirPred[NUM_MOST_PROBABLE_MODES], const ComponentID compID, Int* piMode  )
    14371437{
    14381438  TComDataCU* pcCULeft, *pcCUAbove;
     
    14401440  UInt        AbovePartIdx = MAX_UINT;
    14411441  Int         iLeftIntraDir, iAboveIntraDir;
    1442   Int         uiPredNum = 0;
    14431442
    14441443  const ChannelType chType = toChannelType(compID);
     
    14631462
    14641463  assert (2<NUM_MOST_PROBABLE_MODES);
    1465   uiPredNum = NUM_MOST_PROBABLE_MODES;
    14661464  if(iLeftIntraDir == iAboveIntraDir)
    14671465  {
     
    15021500    }
    15031501  }
    1504   for (Int i=0; i<uiPredNum; i++)
     1502  for (UInt i=0; i<NUM_MOST_PROBABLE_MODES; i++)
    15051503    assert(uiIntraDirPred[i] < 35);
    1506 
    1507   return uiPredNum;
    15081504}
    15091505
  • branches/SHM-dev/source/Lib/TLibCommon/TComDataCU.h

    r1236 r1244  
    459459
    460460  Void          getAllowedChromaDir             ( UInt uiAbsPartIdx, UInt* uiModeList );
    461   Int           getIntraDirPredictor            ( UInt uiAbsPartIdx, Int uiIntraDirPred[NUM_MOST_PROBABLE_MODES], const ComponentID compID, Int* piMode = NULL );
     461  Void          getIntraDirPredictor            ( UInt uiAbsPartIdx, Int uiIntraDirPred[NUM_MOST_PROBABLE_MODES], const ComponentID compID, Int* piMode = NULL );
    462462
    463463  // -------------------------------------------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.