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


Ignore:
Timestamp:
23 Jan 2014, 18:05:13 (11 years ago)
Author:
seregin
Message:

JCTVC-P0048: Remove profile_ref_minus1 from VPS extension with macro P0048_REMOVE_PROFILE_REF. Patch was provided by Tomoyuki Yamamoto <yamamoto.tomoyuki@…>

Changes

  • Remove profile_ref_minus1 from VPS extension
  • Infer Profile info to be the previous one when not present
  • Remove array m_profileLayerSetRef[MAX_VPS_LAYER_SETS_PLUS1]
  • Remove method get/setProfileLayerSetRef()
  • Remove macro O0109_PROF_REF_MINUS1
File:
1 edited

Legend:

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

    r551 r552  
    11941194    if( !vps->getProfilePresentFlag(idx) )
    11951195    {
     1196#if P0048_REMOVE_PROFILE_REF
     1197      // Copy profile information from previous one
     1198      vps->getPTLForExtn(idx)->copyProfileInfo( (idx==1) ? vps->getPTL() : vps->getPTLForExtn( idx - 1 ) );
     1199#else
    11961200      READ_CODE( 6, uiCode, "profile_ref_minus1[i]" ); vps->setProfileLayerSetRef(idx, uiCode + 1);
    11971201#if O0109_PROF_REF_MINUS1
     
    12021206      // Copy profile information as indicated
    12031207      vps->getPTLForExtn(idx)->copyProfileInfo( vps->getPTLForExtn( vps->getProfileLayerSetRef(idx) ) );
     1208#endif
    12041209    }
    12051210    parsePTL( vps->getPTLForExtn(idx), vps->getProfilePresentFlag(idx), vps->getMaxTLayers() - 1 );
Note: See TracChangeset for help on using the changeset viewer.