﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
424	Encoder may produce uncompliant sps_log2_diff_max_bt_min_qt_inter_slice	fbarbier		"Depending on value of CtbLog2SizeY, the reference encoder may violate the upper boundary of sps_log2_diff_max_bt_min_qt_inter_slice. Accordingly to spec:
{{{
The value of sps_log2_diff_max_bt_min_qt_inter_slice shall be in the range of 0 to CtbLog2SizeY − MinQtLog2SizeInterY, inclusive
}}}

To reproduce the issue, we can use the merge request :
https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM/merge_requests/624

Let's reproduce with the following command lines:
{{{
git fetch https://vcgit.hhi.fraunhofer.de/fbarbier/VVCSoftware_VTM.git compliance_checks
git checkout -b fbarbier/VVCSoftware_VTM-compliance_checks FETCH_HEAD

cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug
make -j 8
cd ..

./bin/EncoderAppStaticd --SourceWidth=16 --SourceHeight=88 --InputChromaFormat=420 --InputBitDepth=10 --Profile=next --FrameRate=60 --FramesToBeEncoded=5 --GOPSize=4 '--Frame1=B 1 5 -6.5 0.2590 0 0 1.0 0 0 0 4 4 1 5 9 13 0 0' '--Frame2=B 2 4 -6.5 0.2590 0 0 1.0 0 0 0 4 4 1 2 6 10 0 0' '--Frame3=B 3 5 -6.5 0.2590 0 0 1.0 0 0 0 4 4 1 3 7 11 0 0' '--Frame4=B 4 1  0.0 0.0    0 0 1.0 0 0 0 4 4 1 4 8 12 0 0' --FastSearch=2 --MaxCUWidth=16 --MaxCUHeight=12 --CTUSize=64 --MaxPartitionDepth=5 --PCMEnabledFlag=0 --SAO=1 --LoopFilterDisable=0 --ALF=0 --DisableIntraInInter=0 --DepQuant=1 --TransformSkip=0 --MaxDeltaQP=0 --MTS=2 --IBC=1 --Triangle=1 --MIP=1 --SMVD=1 --SBT=1 -i source.yuv -b encoded.vvc
./bin/DecoderAppStaticd -b encoded.vvc -o /dev/null
}}}

VVCSoftware: VTM Decoder Version 5.2 [Linux][GCC 8.2.0][64 bit] [SIMD=AVX] 
terminate called after throwing an instance of 'Exception'
  what():  
ERROR: In function ""parseSPS"" in /home/fredb/projects/vtm/source/Lib/DecoderLib/VLCReader.cpp:1221: Invalid code
"	defect	closed	minor	VTM-6.0	VTM	VTM-5.2	fixed		ksuehring XiangLi fbossen jvet@…
