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


Ignore:
Timestamp:
8 Jul 2015, 00:28:51 (10 years ago)
Author:
seregin
Message:

macro cleanup: PER_LAYER_PTL

File:
1 edited

Legend:

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

    r1152 r1153  
    21252125#else
    21262126  WRITE_UVLC( vps->getNumProfileTierLevel() - 1, "vps_num_profile_tier_level_minus1");
    2127 #if PER_LAYER_PTL
    21282127  Int const numBitsForPtlIdx = vps->calculateLenOfSyntaxElement( vps->getNumProfileTierLevel() );
    2129 #endif
    21302128#endif
    21312129#if LIST_OF_PTL
     
    22212219      }
    22222220    }
    2223 #if PER_LAYER_PTL
    2224     for(j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet) ; j++)
     2221
     2222    for( j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet); j++ )
    22252223    {
    22262224      if( vps->getNecessaryLayerFlag(i, j) && (vps->getNumProfileTierLevel() - 1) > 0 )
     
    22292227      }
    22302228    }
    2231 #else
    2232     Int numBits = 1;
    2233     while ((1 << numBits) < (vps->getNumProfileTierLevel()))
    2234     {
    2235       numBits++;
    2236     }
    2237     WRITE_CODE( vps->getProfileLevelTierIdx(i), numBits, "profile_level_tier_idx[i]" );     
    2238 #endif
    22392229
    22402230    NumOutputLayersInOutputLayerSet[i] = 0;
Note: See TracChangeset for help on using the changeset viewer.