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


Ignore:
Timestamp:
9 Jul 2015, 00:53:21 (10 years ago)
Author:
seregin
Message:

port rev 4180

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

Legend:

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

    r1185 r1230  
    444444  Int    m_exposureIndexIdc;
    445445  Int    m_exposureIndexValue;
    446   Int    m_exposureCompensationValueSignFlag;
     446  Bool   m_exposureCompensationValueSignFlag;
    447447  Int    m_exposureCompensationValueNumerator;
    448448  Int    m_exposureCompensationValueDenomIdc;
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp

    r1226 r1230  
    8888, m_pcTrQuant                     ( NULL )
    8989#endif
    90 , m_colFromL0Flag                 ( 1 )
     90, m_colFromL0Flag                 ( true )
    9191, m_noOutputPriorPicsFlag         ( false )
    9292, m_noRaslOutputFlag              ( false )
     
    200200    m_aiNumRefIdx[i]      = 0;
    201201  }
    202   m_colFromL0Flag = 1;
     202  m_colFromL0Flag = true;
    203203
    204204  m_colRefIdx = 0;
     
    22832283, m_numTileRowsMinus1                (0)
    22842284, m_numSubstreams                    (1)
    2285 , m_signHideFlag                     (0)
     2285, m_signHideFlag                     (false)
    22862286, m_cabacInitPresentFlag             (false)
    22872287, m_encCABACTableIdx                 (I_SLICE)
     
    25232523
    25242524TComRefPicListModification::TComRefPicListModification()
    2525 : m_bRefPicListModificationFlagL0 (false)
    2526 , m_bRefPicListModificationFlagL1 (false)
     2525: m_refPicListModificationFlagL0 (false)
     2526, m_refPicListModificationFlagL1 (false)
    25272527{
    25282528  ::memset( m_RefPicSetIdxL0, 0, sizeof(m_RefPicSetIdxL0) );
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h

    r1226 r1230  
    285285  UInt cpbSizeValue      [MAX_CPB_CNT][2];
    286286  UInt ducpbSizeValue    [MAX_CPB_CNT][2];
    287   UInt cbrFlag           [MAX_CPB_CNT][2];
     287  Bool cbrFlag           [MAX_CPB_CNT][2];
    288288  UInt duBitRateValue    [MAX_CPB_CNT][2];
    289289};
     
    388388  Void setDuBitRateValueMinus1     ( Int layer, Int cpbcnt, Int nalOrVcl, UInt value ) { m_HRD[layer].duBitRateValue[cpbcnt][nalOrVcl] = value;       }
    389389  UInt getDuBitRateValueMinus1     (Int layer, Int cpbcnt, Int nalOrVcl )              { return m_HRD[layer].duBitRateValue[cpbcnt][nalOrVcl];        }
    390   Void setCbrFlag                ( Int layer, Int cpbcnt, Int nalOrVcl, UInt value ) { m_HRD[layer].cbrFlag[cpbcnt][nalOrVcl] = value;            }
     390  Void setCbrFlag                ( Int layer, Int cpbcnt, Int nalOrVcl, Bool value ) { m_HRD[layer].cbrFlag[cpbcnt][nalOrVcl] = value;            }
    391391  Bool getCbrFlag                ( Int layer, Int cpbcnt, Int nalOrVcl             ) { return m_HRD[layer].cbrFlag[cpbcnt][nalOrVcl];             }
    392392
     
    15511551{
    15521552private:
    1553   UInt      m_bRefPicListModificationFlagL0;
    1554   UInt      m_bRefPicListModificationFlagL1;
     1553  Bool      m_refPicListModificationFlagL0;
     1554  Bool      m_refPicListModificationFlagL1;
    15551555  UInt      m_RefPicSetIdxL0[REF_PIC_LIST_NUM_IDX];
    15561556  UInt      m_RefPicSetIdxL1[REF_PIC_LIST_NUM_IDX];
     
    15631563  Void  destroy                   ();
    15641564
    1565   Bool       getRefPicListModificationFlagL0() { return m_bRefPicListModificationFlagL0; }
    1566   Void       setRefPicListModificationFlagL0(Bool flag) { m_bRefPicListModificationFlagL0 = flag; }
    1567   Bool       getRefPicListModificationFlagL1() { return m_bRefPicListModificationFlagL1; }
    1568   Void       setRefPicListModificationFlagL1(Bool flag) { m_bRefPicListModificationFlagL1 = flag; }
     1565  Bool       getRefPicListModificationFlagL0() { return m_refPicListModificationFlagL0; }
     1566  Void       setRefPicListModificationFlagL0(Bool flag) { m_refPicListModificationFlagL0 = flag; }
     1567  Bool       getRefPicListModificationFlagL1() { return m_refPicListModificationFlagL1; }
     1568  Void       setRefPicListModificationFlagL1(Bool flag) { m_refPicListModificationFlagL1 = flag; }
    15691569  Void       setRefPicSetIdxL0(UInt idx, UInt refPicSetIdx) { assert(idx<REF_PIC_LIST_NUM_IDX); m_RefPicSetIdxL0[idx] = refPicSetIdx; }
    15701570  UInt       getRefPicSetIdxL0(UInt idx) { assert(idx<REF_PIC_LIST_NUM_IDX); return m_RefPicSetIdxL0[idx]; }
     
    16221622  Int      m_numSubstreams;
    16231623
    1624   Int      m_signHideFlag;
     1624  Bool     m_signHideFlag;
    16251625
    16261626  Bool     m_cabacInitPresentFlag;
     
    17551755  Int      getNumSubstreams    ()                                      { return m_numSubstreams; }
    17561756
    1757   Void      setSignHideFlag( Int signHideFlag ) { m_signHideFlag = signHideFlag; }
    1758   Int       getSignHideFlag()                    { return m_signHideFlag; }
     1757  Void      setSignHideFlag( Bool signHideFlag ) { m_signHideFlag = signHideFlag; }
     1758  Bool      getSignHideFlag()                    { return m_signHideFlag; }
    17591759
    17601760  Void     setCabacInitPresentFlag( Bool flag )     { m_cabacInitPresentFlag = flag;    }
     
    19191919  TComTrQuant* m_pcTrQuant;
    19201920#endif
    1921   UInt        m_colFromL0Flag;  // collocated picture from List0 flag
     1921  Bool        m_colFromL0Flag;  // collocated picture from List0 flag
    19221922
    19231923  Bool        m_noOutputPriorPicsFlag;
     
    20632063  Int       getRefPOC           ( RefPicList e, Int iRefIdx)    { return  m_aiRefPOCList[e][iRefIdx];   }
    20642064  Int       getDepth            ()                              { return  m_iDepth;                     }
    2065   UInt      getColFromL0Flag    ()                              { return  m_colFromL0Flag;              }
     2065  Bool      getColFromL0Flag    ()                              { return  m_colFromL0Flag;              }
    20662066  UInt      getColRefIdx        ()                              { return  m_colRefIdx;                  }
    20672067  Void      checkColRefIdx      (UInt curSliceIdx, TComPic* pic);
     
    21212121#endif
    21222122  Void      setRefPOCList       ();
    2123   Void      setColFromL0Flag    ( UInt colFromL0 ) { m_colFromL0Flag = colFromL0; }
     2123  Void      setColFromL0Flag    ( Bool colFromL0 ) { m_colFromL0Flag = colFromL0; }
    21242124  Void      setColRefIdx        ( UInt refIdx) { m_colRefIdx = refIdx; }
    21252125  Void      setCheckLDC         ( Bool b )                      { m_bCheckLDC = b; }
Note: See TracChangeset for help on using the changeset viewer.