Changeset 506 in SHVCSoftware for branches/SHM-4.1-dev/source/Lib/TLibEncoder/TEncTop.cpp
- Timestamp:
- 22 Nov 2013, 00:13:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.1-dev/source/Lib/TLibEncoder/TEncTop.cpp
r494 r506 1072 1072 #if REPN_FORMAT_IN_VPS 1073 1073 Int lowestQP; 1074 #if O0096_REP_FORMAT_INDEX 1075 if( m_layerId == 0 ) 1076 { 1077 lowestQP = - m_cSPS.getQpBDOffsetY(); 1078 } 1079 else 1080 { 1081 lowestQP = - (m_cVPS.getVpsRepFormat( m_cVPS.getVpsRepFormatIdx( m_cSPS.getUpdateRepFormatFlag() ? m_cSPS.getUpdateRepFormatIndex() : m_layerId ) )->getBitDepthVpsLuma() - 8) * 6; 1082 } 1083 #else 1074 1084 if( m_layerId == 0 || m_cSPS.getUpdateRepFormatFlag() ) 1075 1085 { … … 1080 1090 lowestQP = - (m_cVPS.getVpsRepFormat( m_cVPS.getVpsRepFormatIdx( m_layerId ) )->getBitDepthVpsLuma() - 8) * 6; 1081 1091 } 1092 #endif 1082 1093 #else 1083 1094 Int lowestQP = - m_cSPS.getQpBDOffsetY(); … … 1607 1618 Void TEncTop::xInitILRP() 1608 1619 { 1620 #if O0096_REP_FORMAT_INDEX 1621 RepFormat *repFormat = m_cVPS.getVpsRepFormat( m_cVPS.getVpsRepFormatIdx( m_cSPS.getUpdateRepFormatFlag() ? m_cSPS.getUpdateRepFormatIndex() : m_layerId ) ); 1622 #else 1609 1623 RepFormat *repFormat = m_cVPS.getVpsRepFormat( m_cVPS.getVpsRepFormatIdx( m_layerId ) ); 1624 #endif 1610 1625 Int bitDepthY,bitDepthC,picWidth,picHeight; 1611 1626 1627 #if O0096_REP_FORMAT_INDEX 1628 bitDepthY = repFormat->getBitDepthVpsLuma(); 1629 bitDepthC = repFormat->getBitDepthVpsChroma(); 1630 picWidth = repFormat->getPicWidthVpsInLumaSamples(); 1631 picHeight = repFormat->getPicHeightVpsInLumaSamples(); 1632 #else 1612 1633 if( m_cSPS.getUpdateRepFormatFlag() ) 1613 1634 { … … 1624 1645 picHeight = repFormat->getPicHeightVpsInLumaSamples(); 1625 1646 } 1647 #endif 1626 1648 1627 1649 if(m_layerId > 0)
Note: See TracChangeset for help on using the changeset viewer.