Commit b6e0728a authored by Xiang Li's avatar Xiang Li

Merge branch 'wrap_params' into 'master'

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

See merge request !395
parents 7148477c 0174663d
Pipeline #1153 passed with stage
......@@ -1991,7 +1991,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