Changeset 1086 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon
- Timestamp:
- 26 Mar 2015, 05:06:01 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1085 r1086 3564 3564 #endif 3565 3565 #if VPS_DPB_SIZE_TABLE 3566 Int TComVPS::getLayerIdc InOls( Int olsIdx, Int layerId )3566 Int TComVPS::getLayerIdcForOls( Int olsIdx, Int layerId ) 3567 3567 { 3568 3568 Int layerIdc = -1; 3569 3570 std::vector<Int>::iterator it = std::find( m_layerSetLayerIdList[olsIdx].begin(), m_layerSetLayerIdList[olsIdx].end(), layerId ); 3571 3572 if( it != m_layerSetLayerIdList[olsIdx].end() ) 3573 { 3574 layerIdc = (Int)std::distance( m_layerSetLayerIdList[olsIdx].begin(), it ); 3569 UInt lsIdx = m_outputLayerSetIdx[olsIdx]; 3570 3571 std::vector<Int>::iterator it = std::find( m_layerSetLayerIdList[lsIdx].begin(), m_layerSetLayerIdList[lsIdx].end(), layerId ); 3572 3573 if( it != m_layerSetLayerIdList[lsIdx].end() ) 3574 { 3575 layerIdc = (Int)std::distance( m_layerSetLayerIdList[lsIdx].begin(), it ); 3575 3576 } 3576 3577 -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1085 r1086 1412 1412 Int getMaxVpsDecPicBufferingMinus1(Int olsIdx, Int subDpbIdx, Int subLayerIdx) { assert(olsIdx != 0); return m_maxVpsDecPicBufferingMinus1[olsIdx][subDpbIdx][subLayerIdx]; } 1413 1413 Void setMaxVpsDecPicBufferingMinus1(Int olsIdx, Int subDpbIdx, Int subLayerIdx, Int x) { m_maxVpsDecPicBufferingMinus1[olsIdx][subDpbIdx][subLayerIdx] = x; } 1414 Int getLayerIdc InOls( Int olsIdx, Int layerId );1414 Int getLayerIdcForOls( Int olsIdx, Int layerId ); 1415 1415 1416 1416 #if RESOLUTION_BASED_DPB
Note: See TracChangeset for help on using the changeset viewer.