encode/decode mismatch and decoder crash when inter-CCCM is disable
Encode/decode mismatch issue is observed when inter-CCCM is disable on current ECM HEAD (commit ID: 6da105bb). This issue could also be reproduced on ECM-12.0.
The command line on commit 6da105bb is shown as below. "EncoderAppStatic -c ../cfg/encoder_randomaccess_ecm.cfg -c ../classF.cfg --InputFile=SlideShow_1280x720_20.yuv --BitstreamFile=SlideShow_1280x720_20.bin --SourceWidth=1280 --SourceHeight=720 --QP=22 --FrameSkip=64 --FramesToBeEncoded=33 --IntraPeriod=32 --FrameRate=20 --InputBitDepth=8 --Level=3.1 --PrintHexPSNR -v 6 -dph 1 --InterCCCM=0
The decoder is crashed in the test, and the partial decoding log is shown as below. VVCSoftware: ECM Decoder Version 12.0 (VTM-10.0) [Linux][GCC 8.1.0][64 bit] [SIMD=AVX2] POC 0 LId: 0 TId: 0 ( IDR_N_LP, I-SLICE, QP 19 ) [DT 0.440] [L0] [L1] [MD5:6346488fa58beb0100063fa18a5aaaec,561c9283c21a8e2cd5bafad0198d2169,bfabefbab2d44503592dd4157936244e,(OK)] POC 32 LId: 0 TId: 0 ( CRA, I-SLICE, QP 19 ) [DT 0.350] [L0] [L1] [MD5:77e85968a8ba314fb43d0c3e2c24e3e4,8ffedcf08b24e5eeea267a11dbb8536d,fa9500e238df8b4d05008ffcfce28ab7,(OK)] POC 16 LId: 0 TId: 1 ( RASL, B-SLICE, QP 22 ) [DT 0.490] [L0 0c 32] [L1 32] [MD5:4bbe95e5cf95a6b1a8dd3e0ee7902571,c5bbe131a59439c17fffb0556b357543,2f883729b07f4cfdf9d6b73e7ec7dd9e,(ERROR)] [rxMD5:4bbe95e5cf95a6b1a8dd3e0ee7902571,d15b503b76f1974e9cb5683b168f9d09,4befa24aff0d72096708437e9c25e87d] POC 8 LId: 0 TId: 2 ( RASL, B-SLICE, QP 23 ) [DT 0.420] [L0 0 16 32] [L1 16c 32] [MD5:87cfb441a11473762a38b4bf571a27ad,39f18972fb994457032f5790796d3b9c,17c5cbb9a6433071809fa2a0fd47e8be,(ERROR)] [rxMD5:f584ae985f4bf7b5dfd6595360c4ae8d,10234ec90e158dbe11ced513ae8a4316,e2a0cfec52cde9ef1b7c8678119032f3] POC 4 LId: 0 TId: 3 ( RASL, B-SLICE, QP 26 ) [DT 0.560] [L0 0 8 16] [L1 8c 16 32] [MD5:39054755a97776bc3e8975e9a6b74088,a8a1b75a6c5c151d5e8a1248474967a6,88685810faf813748aff6e9a7338200d,(ERROR)] [rxMD5:9368f624413d75638ec6a5fbb6f7431a,2495b1f1f941b1aa9bdd3bcf087af5d1,559e7884cf9b62afb121aa4f8aa5c430] POC 2 LId: 0 TId: 4 ( RASL, B-SLICE, QP 28 ) [DT 0.560] [L0 0 4 8] [L1 4c 8 16 32] [MD5:58e482a8be54a0724daf436c543aaa9e,006623ef38b008d54a00087a1c476fe0,fce0e7cf1de6fea6d84439001d1771bc,(ERROR)] [rxMD5:6cc046a35a054ff2fb3223b3e0da71d7,b8e3528a1d294e13a33c6a6c26812918,2d0af337b74a07b1ff06efea375d2889] POC 1 LId: 0 TId: 5 ( RASL, B-SLICE, QP 29 ) [DT 0.340] [L0 0] [L1 2c 4] [MD5:a143ce2075806844f1abce968b0ec66f,a57ad02693947bf09d5ced36ab678581,31b9399edd1021c45ba2dc11c3750f31,(ERROR)] [rxMD5:b2ef31f3548a32ff0725a448ef079948,97cb9b1a16ce780aefe14904335a28a2,4603b6944b3a1a74708601b237993be0] POC 3 LId: 0 TId: 5 ( RASL, B-SLICE, QP 29 ) [DT 0.450] [L0 2c 0] [L1 4 8] [MD5:fd82bf35617d12cc56778dedcce63bbe,703466e6e79fc5a42490ee947bc741f4,364c80fa1ce1bb1c0ffc5efcee764027,(ERROR)] [rxMD5:aee37b6ba6d3a079d3a1f96cb7c362cb,d3c50c2c25dd382e8dc358c17be4020e,27ee26f3cffc16a93603f3cc850ab109] POC 6 LId: 0 TId: 4 ( RASL, B-SLICE, QP 28 ) [DT 0.470] [L0 4c 2 0] [L1 8 16 32] [MD5:c21dd355818dde6a2f1e2c0312592363,1dd14b5fb8f3d2200369fa9e46c817cc,e334d0f5e448b8265031b8e290508812,(ERROR)] [rxMD5:12bc947d5d114f3c0963cb7988a4d5f0,63089cf4a98bea9268e69a1c70b14bce,8be1c7b1bdbfe265621e8bc6479098cc] POC 5 LId: 0 TId: 5 ( RASL, B-SLICE, QP 29 ) [DT 0.380] [L0 4 0] [L1 6c 8] [MD5:870e751a1ff93a5bbbecf2e5a7f954ad,c4a6cc76831a88debbd7b5082d278190,9647cb8a173a5b0d12369988fbecb11d,(ERROR)] [rxMD5:5897421e782ca8d3c339d6594d6238d9,1199ca02715da8229a83a7c9ad0bf045,18f524e4b4c7f71f0c5f8de26c18b618] POC 7 LId: 0 TId: 5 ( RASL, B-SLICE, QP 29 ) [DT 0.340] [L0 6c 4] [L1 8 16] [MD5:f3b89b1e4eb7045c1b9f9a80505d22b1,31ef88f2372ff83b4a4f81d951b09d13,04381f083cd108a61355876201ad2e73,(ERROR)] [rxMD5:43c4a8ac17cc52f6054caf63b5ae6da1,d100bfa6ba73560b3fc0f56da05f7bab,b7d1c6e845b3310ab9fc9f759e2357d9] POC 12 LId: 0 TId: 3 ( RASL, B-SLICE, QP 26 ) [DT 0.430] [L0 8c 4 0] [L1 16 32] [MD5:0de1efd54a4e7b82d6c87926bb43262d,a8aa3ce50311c9052230f4d9c09ffa76,185100336790151be24cbd790ce7a7fd,(ERROR)] [rxMD5:c2adc6adc6a49766a7bfbd609c3a9f45,bd6d4262589f2e87f359bcf84ed560e6,7fa30a11decc5000141f09c260bf0148] POC 10 LId: 0 TId: 4 ( RASL, B-SLICE, QP 28 ) [DT 0.440] [L0 8 6 4 0] [L1 12c 16 32] [MD5:7ae12fedc4dd50b6a618b523dadeb249,2c0c67df5854f964ac262c0442653d2b,e41a751469ae55f4db41f3444d2cfa1f,(ERROR)] [rxMD5:fce24799bc6f3ec0f182613a55579342,32e3cd99d6c527c92d5fd2be70027023,a77e12bede53766471424a6e19ca8b2c] POC 9 LId: 0 TId: 5 ( RASL, B-SLICE, QP 29 ) [DT 0.320] [L0 8 4] [L1 10c 12] [MD5:99f4a5a029e07613a2cfa637db4ac7d5,caf95117b790ca062046c4b4841243f6,67882afe2829d3b7c3f29c3cff5462f7,(ERROR)] [rxMD5:0432f80c2fd45124ba80dae9d5f27f1f,45e2c33541ffdd996e9176b9f155e00a,18dbae6205bf575df004f68d43ad94b6] POC 11 LId: 0 TId: 5 ( RASL, B-SLICE, QP 29 ) [DT 0.360] [L0 10c 8] [L1 12 16] [MD5:13aaf2c9f89101bd725b25858e9bd0e6,0382ed034c3b6fac2beecea85eec988a,ab01f5fb8d3455684ef5a6638377c596,(ERROR)] [rxMD5:30aa06eb14138439bc34a7a4d39c42e6,2d714e9542291863092ec1a71014c6f3,b6e07b23791639bcc5adf747788e1988]
Memory Usage: VmPeak= 898012 KB ( 0.9 GiB ), VmHWM= 706628 KB ( 0.7 GiB )
Total Time: 6.960 sec.