Changeset 1230 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon
- Timestamp:
- 9 Jul 2015, 00:53:21 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/SEI.h
r1185 r1230 444 444 Int m_exposureIndexIdc; 445 445 Int m_exposureIndexValue; 446 Intm_exposureCompensationValueSignFlag;446 Bool m_exposureCompensationValueSignFlag; 447 447 Int m_exposureCompensationValueNumerator; 448 448 Int m_exposureCompensationValueDenomIdc; -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1226 r1230 88 88 , m_pcTrQuant ( NULL ) 89 89 #endif 90 , m_colFromL0Flag ( 1)90 , m_colFromL0Flag ( true ) 91 91 , m_noOutputPriorPicsFlag ( false ) 92 92 , m_noRaslOutputFlag ( false ) … … 200 200 m_aiNumRefIdx[i] = 0; 201 201 } 202 m_colFromL0Flag = 1;202 m_colFromL0Flag = true; 203 203 204 204 m_colRefIdx = 0; … … 2283 2283 , m_numTileRowsMinus1 (0) 2284 2284 , m_numSubstreams (1) 2285 , m_signHideFlag ( 0)2285 , m_signHideFlag (false) 2286 2286 , m_cabacInitPresentFlag (false) 2287 2287 , m_encCABACTableIdx (I_SLICE) … … 2523 2523 2524 2524 TComRefPicListModification::TComRefPicListModification() 2525 : m_ bRefPicListModificationFlagL0 (false)2526 , m_ bRefPicListModificationFlagL1 (false)2525 : m_refPicListModificationFlagL0 (false) 2526 , m_refPicListModificationFlagL1 (false) 2527 2527 { 2528 2528 ::memset( m_RefPicSetIdxL0, 0, sizeof(m_RefPicSetIdxL0) ); -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1226 r1230 285 285 UInt cpbSizeValue [MAX_CPB_CNT][2]; 286 286 UInt ducpbSizeValue [MAX_CPB_CNT][2]; 287 UIntcbrFlag [MAX_CPB_CNT][2];287 Bool cbrFlag [MAX_CPB_CNT][2]; 288 288 UInt duBitRateValue [MAX_CPB_CNT][2]; 289 289 }; … … 388 388 Void setDuBitRateValueMinus1 ( Int layer, Int cpbcnt, Int nalOrVcl, UInt value ) { m_HRD[layer].duBitRateValue[cpbcnt][nalOrVcl] = value; } 389 389 UInt getDuBitRateValueMinus1 (Int layer, Int cpbcnt, Int nalOrVcl ) { return m_HRD[layer].duBitRateValue[cpbcnt][nalOrVcl]; } 390 Void setCbrFlag ( Int layer, Int cpbcnt, Int nalOrVcl, UIntvalue ) { 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; } 391 391 Bool getCbrFlag ( Int layer, Int cpbcnt, Int nalOrVcl ) { return m_HRD[layer].cbrFlag[cpbcnt][nalOrVcl]; } 392 392 … … 1551 1551 { 1552 1552 private: 1553 UInt m_bRefPicListModificationFlagL0;1554 UInt m_bRefPicListModificationFlagL1;1553 Bool m_refPicListModificationFlagL0; 1554 Bool m_refPicListModificationFlagL1; 1555 1555 UInt m_RefPicSetIdxL0[REF_PIC_LIST_NUM_IDX]; 1556 1556 UInt m_RefPicSetIdxL1[REF_PIC_LIST_NUM_IDX]; … … 1563 1563 Void destroy (); 1564 1564 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; } 1569 1569 Void setRefPicSetIdxL0(UInt idx, UInt refPicSetIdx) { assert(idx<REF_PIC_LIST_NUM_IDX); m_RefPicSetIdxL0[idx] = refPicSetIdx; } 1570 1570 UInt getRefPicSetIdxL0(UInt idx) { assert(idx<REF_PIC_LIST_NUM_IDX); return m_RefPicSetIdxL0[idx]; } … … 1622 1622 Int m_numSubstreams; 1623 1623 1624 Intm_signHideFlag;1624 Bool m_signHideFlag; 1625 1625 1626 1626 Bool m_cabacInitPresentFlag; … … 1755 1755 Int getNumSubstreams () { return m_numSubstreams; } 1756 1756 1757 Void setSignHideFlag( IntsignHideFlag ) { m_signHideFlag = signHideFlag; }1758 IntgetSignHideFlag() { return m_signHideFlag; }1757 Void setSignHideFlag( Bool signHideFlag ) { m_signHideFlag = signHideFlag; } 1758 Bool getSignHideFlag() { return m_signHideFlag; } 1759 1759 1760 1760 Void setCabacInitPresentFlag( Bool flag ) { m_cabacInitPresentFlag = flag; } … … 1919 1919 TComTrQuant* m_pcTrQuant; 1920 1920 #endif 1921 UIntm_colFromL0Flag; // collocated picture from List0 flag1921 Bool m_colFromL0Flag; // collocated picture from List0 flag 1922 1922 1923 1923 Bool m_noOutputPriorPicsFlag; … … 2063 2063 Int getRefPOC ( RefPicList e, Int iRefIdx) { return m_aiRefPOCList[e][iRefIdx]; } 2064 2064 Int getDepth () { return m_iDepth; } 2065 UIntgetColFromL0Flag () { return m_colFromL0Flag; }2065 Bool getColFromL0Flag () { return m_colFromL0Flag; } 2066 2066 UInt getColRefIdx () { return m_colRefIdx; } 2067 2067 Void checkColRefIdx (UInt curSliceIdx, TComPic* pic); … … 2121 2121 #endif 2122 2122 Void setRefPOCList (); 2123 Void setColFromL0Flag ( UIntcolFromL0 ) { m_colFromL0Flag = colFromL0; }2123 Void setColFromL0Flag ( Bool colFromL0 ) { m_colFromL0Flag = colFromL0; } 2124 2124 Void setColRefIdx ( UInt refIdx) { m_colRefIdx = refIdx; } 2125 2125 Void setCheckLDC ( Bool b ) { m_bCheckLDC = b; }
Note: See TracChangeset for help on using the changeset viewer.