Skip to content
Snippets Groups Projects
Commit 24f10ebb authored by Karsten Suehring's avatar Karsten Suehring
Browse files

Fix segment coding mismatch for HDR (delta qp)

m_bEncodeDQP was not reset at the beginning of a new CTU. This could lead to wrong cost calculation
in following CTUs. Especially it caused a mismatch in segment based coding.
parent 2d46bce2
No related branches found
No related tags found
No related merge requests found
......@@ -233,6 +233,7 @@ Void TEncCu::compressCtu( TComDataCU* pCtu )
// initialize CU data
m_ppcBestCU[0]->initCtu( pCtu->getPic(), pCtu->getCtuRsAddr() );
m_ppcTempCU[0]->initCtu( pCtu->getPic(), pCtu->getCtuRsAddr() );
m_bEncodeDQP = false;
// analysis of CU
DEBUG_STRING_NEW(sDebug)
......
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