Skip to content
Snippets Groups Projects
Commit 3dc26db4 authored by LI JINGYA's avatar LI JINGYA
Browse files

Update EncLib.cpp

parent 90ea35cd
No related branches found
No related tags found
No related merge requests found
......@@ -1220,7 +1220,7 @@ void EncLib::xInitSPS( SPS& sps )
sps.setBitDepth (ChannelType(channelType), m_bitDepth[channelType] );
sps.setQpBDOffset (ChannelType(channelType), (6 * (m_bitDepth[channelType] - 8)));
#if JVET_R0045_TS_MIN_QP_CLEANUP
sps.setInteralMinusInputBitDepth(ChannelType(channelType), max(0, (m_bitDepth[channelType] - m_inputBitDepth[channelType])));
sps.setInternalMinusInputBitDepth(ChannelType(channelType), max(0, (m_bitDepth[channelType] - m_inputBitDepth[channelType])));
#else
sps.setMinQpPrimeTsMinus4(ChannelType(channelType), max(0, 6 * (m_bitDepth[channelType] - m_inputBitDepth[channelType])));
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment