Changeset 160 in SHVCSoftware for branches/SHM-2.0-dev/source/Lib/TLibCommon/TComSlice.cpp
- Timestamp:
- 8 May 2013, 04:00:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.0-dev/source/Lib/TLibCommon/TComSlice.cpp
r154 r160 1649 1649 ::memset(m_refLayerId, 0, sizeof(m_refLayerId )); 1650 1650 #endif 1651 #if DERIVE_LAYER_ID_LIST_VARIABLES 1652 ::memset(m_layerSetLayerIdList, 0, sizeof(m_layerSetLayerIdList)); 1653 ::memset(m_numLayerInIdList, 0, sizeof(m_numLayerInIdList )); 1654 #endif 1651 1655 } 1652 1656 … … 1657 1661 if( m_cprmsPresentFlag != NULL ) delete[] m_cprmsPresentFlag; 1658 1662 } 1659 1663 #if DERIVE_LAYER_ID_LIST_VARIABLES 1664 Void TComVPS::deriveLayerIdListVariables() 1665 { 1666 // For layer 0 1667 setNumLayersInIdList(0, 1); 1668 setLayerSetLayerIdList(0, 0, 0); 1669 1670 // For other layers 1671 Int i, m, n; 1672 for( i = 1; i <= getNumLayerSets() - 1; i++ ) 1673 { 1674 n = 0; 1675 for( m = 0; m <= this->getMaxLayerId(); m++) 1676 { 1677 if(this->getLayerIdIncludedFlag(i, m)) 1678 { 1679 setLayerSetLayerIdList(i, n, m); 1680 n++; 1681 } 1682 } 1683 setNumLayersInIdList(i, n); 1684 } 1685 } 1686 #endif 1660 1687 // ------------------------------------------------------------------------------------------------ 1661 1688 // Sequence parameter set (SPS)
Note: See TracChangeset for help on using the changeset viewer.