Commit 2985342b authored by Xiang Li's avatar Xiang Li
Browse files

Merge branch 'o0428-improvement' into 'master'

fix #381: align software with spec for O0428

See merge request jvet/VVCSoftware_VTM!730
parents 5fbb5377 5f854f68
......@@ -255,7 +255,7 @@ int Reshape::getPWLIdxInv(int lumaVal)
if (lumaVal < m_reshapePivot[idxS + 1]) break;
return idxS;
return std::min(idxS, PIC_CODE_CW_BINS-1);
if (lumaVal < m_reshapePivot[m_sliceReshapeInfo.reshaperModelMinBinIdx + 1])
return m_sliceReshapeInfo.reshaperModelMinBinIdx;
Supports Markdown
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