id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 1458,Difference between spec and HM software in 7.3.8.5 Coding unit syntax,deryzhov,,"To check if palette_mode_flag should be inserted to bitstream or not HM software compared CU size with fixed value <= 32 (or < 64) while spec compared CU size with max transform size: HEVC SCC Spec: if( palette_mode_enabled_flag && CuPredMode[ x0 ][ y0 ] = = MODE_INTRA && log2CbSize <= '''MaxTbLog2SizeY''' ) palette_mode_flag[ x0 ][ y0 ] HM code: //================================ Void TDecEntropy::decodePaletteModeInfo( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool& bCodeDQP, Bool& isChromaQpAdjCoded ) { // Note: the condition is log2CbSize < MaxTbLog2SizeY in 7.3.8.5 of JCTVC-T1005-v2 if( pcCU->getSlice()->getSPS()->getSpsScreenExtension().getUsePaletteMode() && pcCU->isIntra( uiAbsPartIdx ) && (pcCU->getSlice()->getSPS()->getMaxCUWidth() >> uiDepth) < '''64''' ) { m_pcEntropyDecoderIf->parsePaletteModeFlag( pcCU, uiAbsPartIdx, uiDepth ); if ( pcCU->getPaletteModeFlag( uiAbsPartIdx ) ) { m_pcEntropyDecoderIf->parsePaletteModeSyntax( pcCU, uiAbsPartIdx, uiDepth, 3, bCodeDQP, isChromaQpAdjCoded ); pcCU->saveLastPaletteInLcuFinal( pcCU, uiAbsPartIdx, MAX_NUM_COMPONENT ); } } } According to “//Note” HM developers aware of this difference ",defect,closed,major,,HM SCC,SCC-7.0 (HM16.8),fixed,,jct-vc@…