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


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

port rev 4236

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecSbac.cpp

    r1235 r1244  
    655655  {
    656656    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);
    658658    if (mpmPred[j])
    659659    {
     
    672672
    673673      //postponed sorting of MPMs (only in remaining branch)
    674       assert(predNum>=3); // It is currently always 3!
    675674      if (preds[0] > preds[1])
    676675      {
     
    685684        std::swap(preds[1], preds[2]);
    686685      }
    687       for ( Int i = 0; i < predNum; i++ )
     686      for ( UInt i = 0; i < NUM_MOST_PROBABLE_MODES; i++ )
    688687      {
    689688        intraPredMode += ( intraPredMode >= preds[i] );
Note: See TracChangeset for help on using the changeset viewer.