Changeset 521 in SHVCSoftware for branches/SHM-4.1-dev/source/Lib/TLibCommon


Ignore:
Timestamp:
19 Dec 2013, 03:10:48 (12 years ago)
Author:
qualcomm
Message:

JCTVC-O0217: Output layer set index at the decoder (MACRO: OUTPUT_LAYER_SET_INDEX)

Patch includes output layer set index inference at the decoder.

From: Adarsh K. Ramasubramonian <aramasub@…>

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

Legend:

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

    r499 r521  
    4040
    4141#include <algorithm>
    42 
     42#include <vector>
    4343#if _MSC_VER > 1000
    4444// disable "signed and unsigned mismatch"
     
    280280};
    281281
     282#if OUTPUT_LAYER_SET_INDEX
     283class CommonDecoderParams
     284{
     285  Int m_targetLayerId;
     286  Int m_outputLayerSetIdx;
     287  std::vector<Int> *m_targetDecLayerIdSet;
     288  Bool m_valueCheckedFlag;
     289public:
     290  CommonDecoderParams():
     291    m_targetLayerId(0)
     292    , m_outputLayerSetIdx(-1)
     293    , m_targetDecLayerIdSet(NULL)
     294    , m_valueCheckedFlag(false)
     295 {}
     296
     297  Void setTargetLayerId(const Int x) { m_targetLayerId = x;   }
     298  Int  getTargetLayerId()            { return m_targetLayerId;}
     299 
     300  Void setOutputLayerSetIdx(const Int x) { m_outputLayerSetIdx = x;   }
     301  Int  getOutputLayerSetIdx()            { return m_outputLayerSetIdx;}
     302
     303  Void               setTargetDecLayerIdSet(std::vector<Int> *x) { m_targetDecLayerIdSet = x;   }
     304  std::vector<Int>*  getTargetDecLayerIdSet()                    { return m_targetDecLayerIdSet;}
     305 
     306  Void setValueCheckedFlag(const Bool x) { m_valueCheckedFlag = x;   }
     307  Bool getValueCheckedFlag()            { return m_valueCheckedFlag;}
     308 
     309};
     310#endif
    282311//! \}
    283312
  • branches/SHM-4.1-dev/source/Lib/TLibCommon/TypeDef.h

    r520 r521  
    193193
    194194#define VPS_DPB_SIZE_TABLE               1      ///< JCTVC-O0217: DPB operations: signaling DPB-related parameters
     195#if VPS_DPB_SIZE_TABLE
     196#define OUTPUT_LAYER_SET_INDEX           1      ///< JCTVC-O0217: DPB operations: Inference/input of output layer set index
     197#endif
    195198#else
    196199#define SYNTAX_OUTPUT                    0
Note: See TracChangeset for help on using the changeset viewer.