Changeset 1244 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 13 Jul 2015, 22:58:16 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecSbac.cpp
r1235 r1244 655 655 { 656 656 Int preds[NUM_MOST_PROBABLE_MODES] = {-1, -1, -1}; 657 Int predNum =pcCU->getIntraDirPredictor(absPartIdx+partOffset*j, preds, COMPONENT_Y);657 pcCU->getIntraDirPredictor(absPartIdx+partOffset*j, preds, COMPONENT_Y); 658 658 if (mpmPred[j]) 659 659 { … … 672 672 673 673 //postponed sorting of MPMs (only in remaining branch) 674 assert(predNum>=3); // It is currently always 3!675 674 if (preds[0] > preds[1]) 676 675 { … … 685 684 std::swap(preds[1], preds[2]); 686 685 } 687 for ( Int i = 0; i < predNum; i++ )686 for ( UInt i = 0; i < NUM_MOST_PROBABLE_MODES; i++ ) 688 687 { 689 688 intraPredMode += ( intraPredMode >= preds[i] );
Note: See TracChangeset for help on using the changeset viewer.