ECM 16.0 encoding crash with AHG7 group4 off
The crash (check failure) may be reproduced by the following command line:
./EncoderAppStatic -c ../cfg/encoder_intra_ecm.cfg -c ../cfg/per-sequence/RaceHorses.cfg -c ../cfg/groupoff/offgroup4.cfg -i ../../../sequences/RaceHorses_416x240_30.yuv -ip 1 -q 37 -f 1
The crash happens at the first frame. The encoding log is as below. The check failure happens under the macro JVET_AK0059_MDIP.
`VVCSoftware: ECM Encoder Version 16.0 (VTM-10.0) [Windows][VS 1936][64 bit] [SIMD=AVX2]
GPM-TM mode is forcefully disabled since GPM is disabled. CIIP-TM mode is forcefully disabled since CIIP is disabled. CIIP-TIMD mode is forcefully disabled since CIIP is disabled. TOOL CFG: IBD:1 HAD:1 RDQ:1 RDQTS:1 RDpenalty:0 LQP:0 SQP:0 ASR:0 MinSearchWindow:8 RestrictMESampling:0 FEN:1 ECU:0 FDM:1 CFM:0 ESD:0 TransformSkip:1 TransformSkipFast:1 TransformSkipLog2MaxSize:5 ChromaTS:1 BDPCM:0 Tiles: 1x1 Slices: 1 MCTS:0 SAO:1 ALF:1 CCALF:1 WPP:0 WPB:0 PME:2 WaveFrontSynchro:0 WaveFrontSubstreams:1 ScalingList:0 TMVPMode:1 SignBitHidingFlag:0 RecalQP:0 TOOL CFG: GOP:1 IntraLFNSTISlice:1 IntraLFNSTPBSlice:1 InterLFNST:1 InterMTSS:1 SbtLFNST:1 NSPT:1 LFNSTExt:1 MMVD:1 Affine:1 AffineType:1 PROF:0 SbTMVP:1 DualITree:1 InterSliceSeparateTree:0 IMV:1 BIO:0 LMChroma:1 HorCollocatedChroma:1 VerCollocatedChroma:0 MTS: 1(intra) 0(inter) MTSExt: 1 IntraMTSMaxSize: 128 SBT:1 ISP:1 SMVD:0 CompositeLTReference:0 Bcw:0 BcwFast:0 LADF:0 CIIP:0 CIIPTIMD:0 CIIPAffine:1 Geo:0 GeoShapeAdapt:0 GeoInterIbc:0 GeoBlendIntra:0 AllowDisFracMMVD:1 AffineAmvr:0 AffineAmvrEncOpt:0 AffineAmvp:1 AffineTM:1 DMVR:0 AffineParameterRefinement:1 MmvdDisNum:6 JointCbCr:1 ACT:0 PLT:0 IBC:1 IBCMBVD:1 IBCMBVDAdaptive:0 IBCFrac:1 RRIBC:0 IBCMerge:1 IBCCIIP:0 IBCGPM:0 IBCLIC:1 IBCFilter:0 IBCBiPred:1 IBCNonAdjCand:0 TmpLicExtension:0 TmpLicMode:0 IntraToolControlMode:1 HashME:0 WrapAround:0 VirtualBoundariesEnabledFlag:0 VirtualBoundariesPresentInSPSFlag:1 vertical virtual boundaries:[ ] horizontal virtual boundaries:[ ] Reshape:1 (Signal:SDR Opt:0 CSoffset:2) MRL:1 MIP:1 EncDbOpt:0 FAST TOOL CFG: LCTUFast:1 FastMrg:1 PBIntraFast:1 IMV4PelFast:1 MTSMaxCand: 4(intra) 4(inter) ISPFast:1 FastLFNST:1 FastInterLFNST:0 AMaxBT:1 E0023FastEnc:1 ContentBasedFastQtbt:0 UseNonLinearAlfLuma:1 UseNonLinearAlfChroma:1 MaxNumAlfAlternativesChroma:8 FastMIP:1 NumSplitThreads:1 NumWppThreads:1+0 EnsureWppBitEqual:0 RPR:0 TemporalFilter:4/4 ECM TOOL CFG: PDP:1 IntraNN:1 DIMD:0 CCCM:0 BvgCCCM:1 EnableTMnoninterTools:1 ( BvdPred:1 DBV:1 BvpCluster:0 IntraTMP:1 IntraTmpMaxSize:64 FastIntraTMP:1 TIMD:1 TIMDMerge:1 SGPM:1 SGPMnoBlend:0 TMRL:1 EIP:0 MPMsorting:1 MDIP:1 ChromaReordering:1 TM-IBC:0 CCPmerge:1 DDCCPfusion:1 ) AffineMMVD:1 OBMC:1 AdditionalInterHyps:2 (2 weights,4 ref frames,1 try) LIC:1 FastPicLevelLIC:1 LicSlopeAdjust:1 InterCCCM:1 InterCcpMerge:1 InterCcpMergeZeroLumaCbf:1 DMVD:1 EnableTMTools:1 ( TMAmvp:1 TMMrg:1 GPMTM:0 OBMCTM:1 CIIPTM:0 TmvpNmvpAML:1 TMMMVD:1 AML:1 ArmcRefinedMotion:1 ARL:1 MvdPred:1 AltGPMSplitModeCode:1 ) ScaleMvExtTmvp:1 ScaleMvExtBiTmvp:1 SbTmvpMvExt:1 DQ:2 SignPred:8 Log2SignPredArea:2 CCSAO:1 BIF:1 BIFStrength:1 BIFQPOffset:0 ChromaBIF:1 ChromaBIFStrength:1 ChromaBIFQPOffset:0 TempCABAC:1 ECM ENC CFG: CTU:128 MaxTU:128 MaxNumTUs:1 TTFastSkip:31 TTFastSkipThr:1.075 NumFullRDMrg:4 BIM:0
started @ Thu Feb 20 22:03:54 2025
ERROR: In function "getSpatialIpm" in D:\HJJ\Git\ECM-16.0\source\Lib\CommonLib\UnitTools.cpp:36543: Wrong excludedMode mode`