Changeset 858 in 3DVCSoftware for branches/HTM-10.0-dev0/source


Ignore:
Timestamp:
1 Mar 2014, 00:45:51 (11 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@…>

Location:
branches/HTM-10.0-dev0/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-10.0-dev0/source/Lib/TLibCommon/TypeDef.h

    r857 r858  
    333333// #define H_MV_HLS_7_ED_FIX_P0130_34        0 // (ED.FIX/P0130/il ref pic set no reference pic) #34 For proposal 5, delegated to editors
    334334// #define H_MV_HLS_7_OTHER_P0187_1          0 // (OTHER/P0187/NoOutputOfPriorPicsFlag) #1 Inference of NoOutputOfPriorPicsFlag and proposes to take into account colour format and bit depth for the inference in addition to spatial resolution
    335 // #define H_MV_HLS_7_VPS_P0306_22           0 // (VPS/P0306/ue(v) coded syntax elements) #22 Several minor modifications to the VPS syntax, consistent with eliminating the previous intention to avoid ue(v) parsing in the VPS
     335#define H_MV_HLS_7_VPS_P0306_22           0 // (VPS/P0306/ue(v) coded syntax elements) #22 Several minor modifications to the VPS syntax, consistent with eliminating the previous intention to avoid ue(v) parsing in the VPS
    336336// #define H_MV_HLS_7_SEI_P0133_28           0 // (SEI/P0133/Recovery point SEI) #28 Decision: Adopt change to recover point semantics only (-v3)
    337337#define H_MV_HLS_7_VPS_P0125_24           1 // (VPS/P0125/VPS extension offset ) #24 Decision: Keep it as a reserved FFFF value.
  • 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    }
  • branches/HTM-10.0-dev0/source/Lib/TLibEncoder/TEncCavlc.cpp

    r857 r858  
    11331133#endif
    11341134
    1135 #if !H_MV_HLS7_GEN
     1135#if !H_MV_HLS_7_VPS_P0306_22
    11361136  WRITE_CODE( pcVPS->getVpsNumProfileTierLevelMinus1( ), 6,     "vps_num_profile_tier_level_minus1" );
    11371137#else
     
    12561256  if ( pcVPS->getRepFormatIdxPresentFlag() )
    12571257  {
    1258 #if H_MV_HLS7_GEN
     1258#if H_MV_HLS_7_VPS_P0306_22
    12591259    WRITE_UVLC( pcVPS->getVpsNumRepFormatsMinus1( ), "vps_num_rep_formats_minus1" );
    12601260#else
     
    12761276      if( pcVPS->getVpsNumRepFormatsMinus1() > 0 )
    12771277      {
     1278#if H_MV_HLS_7_VPS_P0306_22
     1279        Int numBits = 1;
     1280        while ((1 << numBits) < (pcVPS->getVpsNumRepFormatsMinus1() + 1))
     1281        {
     1282          numBits++;
     1283        }
     1284        WRITE_CODE( pcVPS->getVpsRepFormatIdx(i), numBits, "vps_rep_format_idx[i]" );
     1285#else
    12781286        WRITE_CODE( pcVPS->getVpsRepFormatIdx( i ), 8, "vps_rep_format_idx" );
     1287#endif
    12791288      }
    12801289    }
Note: See TracChangeset for help on using the changeset viewer.