﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1482	bitstream syntax in wrong order	swong10		"The syntax ""cu_chroma_qp_offset_enabled_flag"" is in wrong order with the other group of three syntax ""slice_act_y_qp_offset"" , ""slice_act_cb_qp_offset"" and ""slice_act_cr_qp_offset""

HM reference model mismatches with the written HEVC SCC spec.

But the HM Encoder and Decoder matches.  So, the same fix needs to apply to both encoder and decoder.

HM Decoder/Encoder 16.15_SCM8.4  : 
TDecCAVLC.cpp -> Void TDecCavlc::parseSliceHeader()
TEncCavlc.cpp -> Void TEncCavlc::codeSliceHeader() 

The order should be as follows :
if( pcSlice->getPPS()->getPpsScreenExtension().getUseSliceACTOffset() )
    {
      WRITE_SVLC( pcSlice->getSliceActQpDelta(COMPONENT_Y), ""slice_act_y_qp_offset"");
      WRITE_SVLC( pcSlice->getSliceActQpDelta(COMPONENT_Cb), ""slice_act_cb_qp_offset"");
      WRITE_SVLC( pcSlice->getSliceActQpDelta(COMPONENT_Cr), ""slice_act_cr_qp_offset"");
    }
if (pcSlice->getPPS()->getPpsRangeExtension().getChromaQpOffsetListEnabledFlag())
	{
		WRITE_FLAG(pcSlice->getUseChromaQpAdj(), ""cu_chroma_qp_offset_enabled_flag"");
	}
"	defect	closed	major		HM SCC		fixed		lidong.xu@… samuel.wong@… jct-vc@…
