Changeset 1244 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon
- Timestamp:
- 13 Jul 2015, 22:58:16 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComDataCU.cpp
r1236 r1244 1434 1434 *\returns Number of MPM 1435 1435 */ 1436 IntTComDataCU::getIntraDirPredictor( UInt uiAbsPartIdx, Int uiIntraDirPred[NUM_MOST_PROBABLE_MODES], const ComponentID compID, Int* piMode )1436 Void TComDataCU::getIntraDirPredictor( UInt uiAbsPartIdx, Int uiIntraDirPred[NUM_MOST_PROBABLE_MODES], const ComponentID compID, Int* piMode ) 1437 1437 { 1438 1438 TComDataCU* pcCULeft, *pcCUAbove; … … 1440 1440 UInt AbovePartIdx = MAX_UINT; 1441 1441 Int iLeftIntraDir, iAboveIntraDir; 1442 Int uiPredNum = 0;1443 1442 1444 1443 const ChannelType chType = toChannelType(compID); … … 1463 1462 1464 1463 assert (2<NUM_MOST_PROBABLE_MODES); 1465 uiPredNum = NUM_MOST_PROBABLE_MODES;1466 1464 if(iLeftIntraDir == iAboveIntraDir) 1467 1465 { … … 1502 1500 } 1503 1501 } 1504 for ( Int i=0; i<uiPredNum; i++)1502 for (UInt i=0; i<NUM_MOST_PROBABLE_MODES; i++) 1505 1503 assert(uiIntraDirPred[i] < 35); 1506 1507 return uiPredNum;1508 1504 } 1509 1505 -
branches/SHM-dev/source/Lib/TLibCommon/TComDataCU.h
r1236 r1244 459 459 460 460 Void getAllowedChromaDir ( UInt uiAbsPartIdx, UInt* uiModeList ); 461 IntgetIntraDirPredictor ( 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 ); 462 462 463 463 // -------------------------------------------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.