Changeset 610 in SHVCSoftware for branches/SHM-5.1-dev/source/Lib/TLibCommon


Ignore:
Timestamp:
7 Feb 2014, 23:30:56 (11 years ago)
Author:
qualcomm
Message:

Set MAX_TLAYER to 7 and infer values of DPB size syntax elements.

The value of MAX_TLAYER should be 7 and not 8, because there are at most 7 temporal layers (Related HM ticket 1239). The values of syntax elements of the DPB size table are inferred when they are not signaled.

From: Adarsh K. Ramasubramonian <aramasub@…>

Location:
branches/SHM-5.1-dev/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.1-dev/source/Lib/TLibCommon/CommonDef.h

    r600 r610  
    178178
    179179// Explicit temporal layer QP offset
    180 #define MAX_TLAYER                  8           ///< max number of temporal layer
     180#define MAX_TLAYER                  7           ///< max number of temporal layer
    181181#define HB_LAMBDA_FOR_LDC           1           ///< use of B-style lambda for non-key pictures in low-delay mode
    182182
  • branches/SHM-5.1-dev/source/Lib/TLibCommon/TComSlice.h

    r607 r610  
    231231{
    232232  ProfileTierLevel m_generalPTL;
    233   ProfileTierLevel m_subLayerPTL[6];      // max. value of max_sub_layers_minus1 is 6
    234   Bool m_subLayerProfilePresentFlag[6];
    235   Bool m_subLayerLevelPresentFlag[6];
     233  ProfileTierLevel m_subLayerPTL    [MAX_TLAYER-1];      // max. value of max_sub_layers_minus1 is MAX_TLAYER-1 ( = 6 )
     234  Bool m_subLayerProfilePresentFlag [MAX_TLAYER-1];
     235  Bool m_subLayerLevelPresentFlag   [MAX_TLAYER-1];
    236236
    237237public:
Note: See TracChangeset for help on using the changeset viewer.