Changeset 1275 in SHVCSoftware


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

update trace strings and parameter set pointers

Location:
branches/SHM-dev/source/Lib
Files:
3 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
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1266 r1275  
    21002100      if( vps->getNecessaryLayerFlag(i, j) && (vps->getNumProfileTierLevel() - 1) > 0 )
    21012101      {
    2102         WRITE_CODE( vps->getProfileLevelTierIdx(i, j), numBitsForPtlIdx, "profile_level_tier_idx[i]" );
     2102        WRITE_CODE( vps->getProfileLevelTierIdx(i, j), numBitsForPtlIdx, "profile_tier_level_idx[i]" );
    21032103      }
    21042104    }
     
    21722172  WRITE_UVLC( vps->getDirectDepTypeLen()-2,                           "direct_dep_type_len_minus2");
    21732173
    2174   WRITE_FLAG(vps->getDefaultDirectDependencyTypeFlag(), "default_direct_dependency_flag");
     2174  WRITE_FLAG(vps->getDefaultDirectDependencyTypeFlag(), "direct_dependency_all_layers_flag");
    21752175
    21762176  if( vps->getDefaultDirectDependencyTypeFlag() )
    21772177  {
    2178     WRITE_CODE( vps->getDefaultDirectDependencyType(), vps->getDirectDepTypeLen(), "default_direct_dependency_type" );
     2178    WRITE_CODE( vps->getDefaultDirectDependencyType(), vps->getDirectDepTypeLen(), "direct_dependency_all_layers_type" );
    21792179  }
    21802180  else
Note: See TracChangeset for help on using the changeset viewer.