Changeset 165 in SHVCSoftware for branches/SHM-2.0-dev/source/Lib/TLibCommon


Ignore:
Timestamp:
8 May 2013, 22:13:18 (12 years ago)
Author:
qualcomm
Message:

Profile and output-layer signalling in VPS (MACRO: VPS_PROFILE_OUTPUT_LAYERS)

M0268: Signaling of profile and output layers in VPS as in Section 3 of M0268v2.

From: Adarsh K. Ramasubramonian <aramasub@…>

Location:
branches/SHM-2.0-dev/source/Lib/TLibCommon
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.0-dev/source/Lib/TLibCommon/TComSlice.cpp

    r162 r165  
    14911491, m_numOutputLayerSets        (0) 
    14921492#endif
     1493#if VPS_PROFILE_OUTPUT_LAYERS
     1494, m_numProfileTierLevel       (0)
     1495, m_moreOutputLayerSetsThanDefaultFlag (false)
     1496, m_numAddOutputLayerSets     (0)
     1497, m_defaultOneTargetOutputLayerFlag    (false)
     1498#endif
    14931499{
    14941500  for( Int i = 0; i < MAX_TLAYER; i++)
     
    15321538  ::memset(m_layerSetLayerIdList,  0, sizeof(m_layerSetLayerIdList));
    15331539  ::memset(m_numLayerInIdList,     0, sizeof(m_numLayerInIdList   ));
     1540#endif
     1541#if VPS_PROFILE_OUTPUT_LAYERS
     1542  ::memset(m_profileLevelTierIdx,  0, sizeof(m_profileLevelTierIdx));
    15341543#endif
    15351544}
  • branches/SHM-2.0-dev/source/Lib/TLibCommon/TComSlice.h

    r162 r165  
    550550  UInt       m_refLayerId[MAX_VPS_LAYER_ID_PLUS1][MAX_VPS_LAYER_ID_PLUS1];
    551551#endif
    552 
     552#if VPS_PROFILE_OUTPUT_LAYERS
     553  UInt       m_numProfileTierLevel;
     554  Bool       m_moreOutputLayerSetsThanDefaultFlag;
     555  Int        m_numAddOutputLayerSets;
     556  Bool       m_defaultOneTargetOutputLayerFlag;
     557  Int        m_profileLevelTierIdx[64];     
     558#endif
    553559public:
    554560  TComVPS();
     
    682688  UInt   getRefLayerId(Int layerId, Int refLayerIdx)                            { return m_refLayerId[layerId][refLayerIdx];              }
    683689  Void   setRefLayerId(Int layerId, Int refLayerIdx, UInt refLayerId)           { m_refLayerId[layerId][refLayerIdx] = refLayerId;        }
     690#endif
     691#if VPS_PROFILE_OUTPUT_LAYERS
     692  UInt   getNumProfileTierLevel()                                { return m_numProfileTierLevel; }
     693  Void   setNumProfileTierLevel(Int x)                           { m_numProfileTierLevel = x;    }
     694
     695  Bool   getMoreOutputLayerSetsThanDefaultFlag()                 { return m_moreOutputLayerSetsThanDefaultFlag;}
     696  Void   setMoreOutputLayerSetsThanDefaultFlag(Bool x)           { m_moreOutputLayerSetsThanDefaultFlag = x   ;}
     697
     698  Int    getNumAddOutputLayerSets()                              { return m_numAddOutputLayerSets; }
     699  Void   setNumAddOutputLayerSets(Int x)                         { m_numAddOutputLayerSets = x   ; }
     700
     701  Bool   getDefaultOneTargetOutputLayerFlag()                 { return m_defaultOneTargetOutputLayerFlag;}
     702  Void   setDefaultOneTargetOutputLayerFlag(Bool x)           { m_defaultOneTargetOutputLayerFlag= x    ;}
     703
     704  Int    getProfileLevelTierIdx(Int i)                        { return m_profileLevelTierIdx[i]; }
     705  Void   setProfileLevelTierIdx(Int i, Int x)                 { m_profileLevelTierIdx[i] = x   ; }
    684706#endif
    685707};
  • branches/SHM-2.0-dev/source/Lib/TLibCommon/TypeDef.h

    r162 r165  
    5454#define VPS_EXTN_DIRECT_REF_LAYERS       1      ///< Include indication of direct dependency of layers in VPS extension
    5555#define VPS_EXTN_DIRECT_REF_LAYERS_CONTINUE   1
    56 #define VPS_OUTPUT_LAYER_SET_IDX         1      ///< Signal output_layer_set_idx[i] as output_layer_set_idx_minus1[i]
    57 #define VPS_MOVE_DIR_DEPENDENCY_FLAG     1      ///< Move the syntax element direct_dependency_flag to follow the syntax element dimension_id
     56#define VPS_OUTPUT_LAYER_SET_IDX         1      ///< M0268: Signal output_layer_set_idx[i] as output_layer_set_idx_minus1[i]
     57#define VPS_MOVE_DIR_DEPENDENCY_FLAG     1      ///< M0268: Move the syntax element direct_dependency_flag to follow the syntax element dimension_id
     58#define VPS_PROFILE_OUTPUT_LAYERS        1      ///< M0268: Signal profile information and output layer information as in Sec. 3 of M0268v2
    5859#endif
    5960
Note: See TracChangeset for help on using the changeset viewer.