Changeset 1000 in SHVCSoftware for branches/SHM-upgrade/source/Lib/TLibEncoder
- Timestamp:
- 22 Jan 2015, 07:22:02 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-upgrade/source/Lib/TLibEncoder/TEncTop.cpp
r989 r1000 928 928 { 929 929 #if REPN_FORMAT_IN_VPS 930 m_cSPS.setBitDepth (ChannelType(channelType), m_cVPS.getVpsRepFormat( m_cVPS.getVpsRepFormatIdx( m_ layerId) )->getBitDepthVps(ChannelType(channelType)) );931 m_cSPS.setQpBDOffset (ChannelType(channelType), (6 * (m_cVPS.getVpsRepFormat( m_cVPS.getVpsRepFormatIdx( m_ layerId) )->getBitDepthVps(ChannelType(channelType)) - 8)));930 m_cSPS.setBitDepth (ChannelType(channelType), m_cVPS.getVpsRepFormat( m_cVPS.getVpsRepFormatIdx( m_cVPS.getLayerIdInVps( m_layerId ) ) )->getBitDepthVps(ChannelType(channelType)) ); 931 m_cSPS.setQpBDOffset (ChannelType(channelType), (6 * (m_cVPS.getVpsRepFormat( m_cVPS.getVpsRepFormatIdx( m_cVPS.getLayerIdInVps( m_layerId ) ) )->getBitDepthVps(ChannelType(channelType)) - 8))); 932 932 #else 933 933 m_cSPS.setBitDepth (ChannelType(channelType), g_bitDepth[channelType] ); … … 1578 1578 { 1579 1579 #if O0096_REP_FORMAT_INDEX 1580 RepFormat *repFormat = m_cVPS.getVpsRepFormat( m_c VPS.getVpsRepFormatIdx( m_cSPS.getUpdateRepFormatFlag() ? m_cSPS.getUpdateRepFormatIndex() : m_layerId) );1581 #else 1582 RepFormat *repFormat = m_cVPS.getVpsRepFormat( m_cVPS.getVpsRepFormatIdx( m_ layerId) );1580 RepFormat *repFormat = m_cVPS.getVpsRepFormat( m_cSPS.getUpdateRepFormatFlag() ? m_cSPS.getUpdateRepFormatIndex() : m_cVPS.getVpsRepFormatIdx( m_cVPS.getLayerIdInVps(m_layerId) ) ); 1581 #else 1582 RepFormat *repFormat = m_cVPS.getVpsRepFormat( m_cVPS.getVpsRepFormatIdx( m_cVPS.getLayerIdInVps(m_layerId) ) ); 1583 1583 #endif 1584 1584 Int bitDepthY,bitDepthC,picWidth,picHeight;
Note: See TracChangeset for help on using the changeset viewer.