Ignore:
Timestamp:
1 Mar 2014, 00:45:51 (10 years ago)
Author:
qualcomm
Message:

JCTVC-P0306: Coding some fixed-length coded elements in VPS extn as ue(v) and other minor modifications (Macro: H_MV_HLS_7_VPS_P0306_22)

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-10.0-dev0/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r857 r858  
    13291329#endif
    13301330
    1331 #if !H_MV_HLS7_GEN
     1331#if !H_MV_HLS_7_VPS_P0306_22
    13321332  READ_CODE( 6,  uiCode, "vps_num_profile_tier_level_minus1" );  pcVPS->setVpsNumProfileTierLevelMinus1( uiCode );
    13331333#else
     
    14571457  if ( pcVPS->getRepFormatIdxPresentFlag() )
    14581458  {
    1459 #if H_MV_HLS7_GEN
    1460     READ_UVLC( 4, uiCode, "vps_num_rep_formats_minus1" ); pcVPS->setVpsNumRepFormatsMinus1( uiCode );
     1459#if H_MV_HLS_7_VPS_P0306_22
     1460    READ_UVLC( uiCode, "vps_num_rep_formats_minus1" ); pcVPS->setVpsNumRepFormatsMinus1( uiCode );
    14611461#else
    14621462    READ_CODE( 4, uiCode, "vps_num_rep_formats_minus1" ); pcVPS->setVpsNumRepFormatsMinus1( uiCode );
     
    14791479      if( pcVPS->getVpsNumRepFormatsMinus1() > 0 )
    14801480      {
     1481#if H_MV_HLS_7_VPS_P0306_22
     1482        Int numBits = 1;
     1483        while ((1 << numBits) < (pcVPS->getVpsNumRepFormatsMinus1() + 1))
     1484        {
     1485          numBits++;
     1486        }
     1487        READ_CODE( numBits, uiCode, "vps_rep_format_idx[i]" ); pcVPS->setVpsRepFormatIdx( i, uiCode );
     1488#else
    14811489        READ_CODE( 8, uiCode, "vps_rep_format_idx" ); pcVPS->setVpsRepFormatIdx( i, uiCode );
     1490#endif
    14821491      }
    14831492    }
Note: See TracChangeset for help on using the changeset viewer.