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


Ignore:
Timestamp:
16 Jul 2015, 00:29:30 (10 years ago)
Author:
seregin
Message:

update trace strings and parameter set pointers

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

Legend:

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

    r1265 r1275  
    11401140    }
    11411141    parseVPSExtension(pcVPS);
    1142     READ_FLAG( uiCode, "vps_entension2_flag" );
     1142    READ_FLAG( uiCode, "vps_extension2_flag" );
    11431143    if(uiCode)
    11441144    {
     
    22302230  }
    22312231  else
    2232   {
     2232  { 
     2233#if SVC_EXTENSION
     2234    READ_FLAG(    uiCode, PTL_TRACE_TEXT("inbld_flag"                      ));
     2235#else
    22332236    READ_FLAG(    uiCode, PTL_TRACE_TEXT("reserved_zero_bit"               ));
     2237#endif
    22342238  }
    22352239#undef PTL_TRACE_TEXT
     
    30423046  READ_UVLC( uiCode,           "direct_dep_type_len_minus2"); vps->setDirectDepTypeLen(uiCode+2);
    30433047
    3044   READ_FLAG(uiCode, "default_direct_dependency_type_flag");
     3048  READ_FLAG(uiCode, "direct_dependency_all_layers_flag");
    30453049  vps->setDefaultDirectDependecyTypeFlag(uiCode == 1? true : false);
    30463050
    30473051  if( vps->getDefaultDirectDependencyTypeFlag() )
    30483052  {
    3049     READ_CODE( vps->getDirectDepTypeLen(), uiCode, "default_direct_dependency_type" );
     3053    READ_CODE( vps->getDirectDepTypeLen(), uiCode, "direct_dependency_all_layers_type" );
    30503054    vps->setDefaultDirectDependecyType(uiCode);
    30513055  }
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1270 r1275  
    958958      resetPocRestrictionCheckParameters();
    959959
    960       markAllPicsAsNoCurrAu(m_apcSlicePilot->getVPS());
     960      markAllPicsAsNoCurrAu(vps);
    961961
    962962      for( UInt i = 0; i < MAX_LAYERS; i++ )
    963963      {
    964         m_ppcTDecTop[m_apcSlicePilot->getVPS()->getLayerIdInNuh(i)]->m_pocDecrementedInDPBFlag = false;
     964        m_ppcTDecTop[vps->getLayerIdInNuh(i)]->m_pocDecrementedInDPBFlag = false;
    965965      }
    966966    }
     
    10561056
    10571057    //Do the reset stuff here
    1058     Int maxPocLsb = 1 << m_apcSlicePilot->getSPS()->getBitsForPOC();
     1058    Int maxPocLsb = 1 << sps->getBitsForPOC();
    10591059    Int pocLsbVal;
    10601060    if( m_apcSlicePilot->getPocResetIdc() == 3 )
     
    11431143    iPOCLastDisplay -= deltaPocVal;
    11441144  }
    1145   Int maxPocLsb = 1 << m_apcSlicePilot->getSPS()->getBitsForPOC();
     1145  Int maxPocLsb = 1 << sps->getBitsForPOC();
    11461146  Int slicePicOrderCntLsb = m_apcSlicePilot->getPicOrderCntLsb();
    11471147
Note: See TracChangeset for help on using the changeset viewer.