Changeset 1085 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
26 Mar 2015, 04:33:14 (10 years ago)
Author:
seregin
Message:

fix for getMaxTidIlRefPicsPlus1 and remove O0225_MAX_TID_FOR_REF_LAYERS

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1073 r1085  
    22512251     for( i = 0; i < vps->getMaxLayers() - 1; i++)
    22522252     {
    2253 #if O0225_MAX_TID_FOR_REF_LAYERS
    22542253       for( j = i+1; j <= vps->getMaxLayers() - 1; j++)
    22552254       {
     
    22592258         }
    22602259       }
    2261 #else
    2262        WRITE_CODE(vps->getMaxTidIlRefPicsPlus1(i), 3, "max_tid_il_ref_pics_plus1[i]" );
    2263 #endif
    22642260     }
    22652261   }
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r1084 r1085  
    13231323
    13241324        // Apply temporal layer restriction to inter-layer prediction
    1325 #if O0225_MAX_TID_FOR_REF_LAYERS
    1326         Int maxTidIlRefPicsPlus1 = m_pcEncTop->getVPS()->getMaxTidIlRefPicsPlus1(pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getLayerId(),m_layerId);
    1327 #else
    1328         Int maxTidIlRefPicsPlus1 = m_pcEncTop->getVPS()->getMaxTidIlRefPicsPlus1(pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getLayerId());
    1329 #endif
     1325        Int maxTidIlRefPicsPlus1 = m_pcEncTop->getVPS()->getMaxTidIlRefPicsPlus1(pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getLayerIdx(), pcSlice->getLayerIdx());
    13301326        if( ((Int)(pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getTLayer())<=maxTidIlRefPicsPlus1-1) || (maxTidIlRefPicsPlus1==0 && pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getRapPicFlag()) )
    13311327        {
Note: See TracChangeset for help on using the changeset viewer.