Changeset 867 in 3DVCSoftware for branches/HTM-10.0-dev0/source/Lib/TLibCommon


Ignore:
Timestamp:
15 Mar 2014, 08:37:13 (11 years ago)
Author:
qualcomm
Message:

POC-related in slice header (Macro: H_MV_HLS_7_POC_P0041)

POC-related signaling in slice header tested and included. Decoding process and encoder assignment in a later patch.

From: Adarsh K. Ramasubramonian <aramasub@…>

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

Legend:

Unmodified
Added
Removed
  • branches/HTM-10.0-dev0/source/Lib/TLibCommon/TComSlice.cpp

    r866 r867  
    112112, m_interLayerPredEnabledFlag     (false)
    113113, m_numInterLayerRefPicsMinus1    (0)
     114#if H_MV_HLS_7_POC_P0041
     115, m_sliceSegmentHeaderExtensionLength (0)
     116, m_pocResetIdc                       (0)
     117, m_pocResetPeriodId                  (0)
     118, m_fullPocResetFlag                  (false)
     119, m_pocLsbVal                         (0)
     120, m_pocMsbValPresentFlag              (false)
     121, m_pocMsbVal                         (0)
     122, m_pocMsbValRequiredFlag         ( false )
     123#endif
    114124#if H_3D_IC
    115125, m_bApplyIC                      ( false )
  • branches/HTM-10.0-dev0/source/Lib/TLibCommon/TComSlice.h

    r866 r867  
    22402240  Int        m_interLayerPredLayerIdc       [MAX_NUM_LAYERS];
    22412241
    2242 #if H_MV_HLS7_GEN
     2242#if H_MV_HLS_7_POC_P0041
    22432243  Int        m_sliceSegmentHeaderExtensionLength;
    22442244  Int        m_pocResetIdc;
     
    22482248  Bool       m_pocMsbValPresentFlag;
    22492249  Int        m_pocMsbVal;
     2250  Bool       m_pocMsbValRequiredFlag;
    22502251#endif
    22512252
     
    25962597  Int  getInterLayerPredLayerIdc( Int i ) { return m_interLayerPredLayerIdc[i]; }
    25972598
    2598 #if H_MV_HLS7_GEN
     2599#if H_MV_HLS_7_POC_P0041
    25992600  Void setSliceSegmentHeaderExtensionLength( Int  val ) { m_sliceSegmentHeaderExtensionLength = val; }
    26002601  Int  getSliceSegmentHeaderExtensionLength(  ) { return m_sliceSegmentHeaderExtensionLength; }
     
    26182619  Int  getPocMsbVal(  ) { return m_pocMsbVal; }
    26192620
     2621  Bool getPocMsbValRequiredFlag() { return m_pocMsbValRequiredFlag; }
     2622  Void setPocMsbValRequiredFlag(Bool x) { m_pocMsbValRequiredFlag = x; }
     2623
     2624  UInt getPocLsbValLen() { return getSPS()->getBitsForPOC(); }; //log2_max_pic_order_cnt_lsb_minus4 + 4 
     2625
     2626  Bool TComSlice::getBlaPicFlag       ()
     2627  {
     2628    return  getNalUnitType() == NAL_UNIT_CODED_SLICE_BLA_N_LP
     2629    || getNalUnitType() == NAL_UNIT_CODED_SLICE_BLA_W_RADL
     2630    || getNalUnitType() == NAL_UNIT_CODED_SLICE_BLA_W_LP;
     2631  }
     2632  Bool TComSlice::getCraPicFlag       ()
     2633  {
     2634    return getNalUnitType() == NAL_UNIT_CODED_SLICE_CRA;
     2635  }
    26202636#endif
    26212637
     
    26382654  TComPic* getPicFromRefPicSetInterLayer( Int setIdc, Int layerId );
    26392655
    2640 #if H_MV_HLS7_GEN
    2641   Bool     getPocMsbValRequiredFlag( )        { return   };
    2642   UInt     getPocLsbValLen()                  { return getSPS->getBitsForPOC(); }; //log2_max_pic_order_cnt_lsb_minus4 + 4 
    2643 #endif
    26442656#endif
    26452657#if MTK_DDD_G0063
Note: See TracChangeset for help on using the changeset viewer.