Commit 0174663d authored by Karsten Suehring's avatar Karsten Suehring

add encoder config constraint for WrapAroundOffset to be a multiple of the minimum CU size

parent ecdbee9d
......@@ -2067,7 +2067,8 @@ bool EncAppCfg::xCheckParameter()
{
xConfirmPara( m_wrapAroundOffset == 0, "Wrap-around offset must be greater than 0" );
xConfirmPara( m_wrapAroundOffset > m_iSourceWidth, "Wrap-around offset must not be greater than the source picture width" );
xConfirmPara( m_wrapAroundOffset % SPS::getWinUnitX(m_chromaFormatIDC) != 0, "Wrap-around offset must be an integer multiple of the specified chroma subsampling" );
int minCUSize = m_uiCTUSize >> m_uiLog2DiffMaxMinCodingBlockSize;
xConfirmPara( m_wrapAroundOffset % minCUSize != 0, "Wrap-around offset must be an integer multiple of the specified minimum CU size" );
}
#if ENABLE_SPLIT_PARALLELISM
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment