﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
511	mismatch between the WD text and the HM software in slice header on entropy_slice_flag, ref_pic_list_combiation() and mvd_l1_zero_flag	suzukiyos		"In the text, ref_pic_list_combination() and mvd_l1_zero_flag in slice header are conditioned on entroy_slice_flag. But they are coded/decoded regardless of entropy_slice_flag in the HM software.

The part of ref_pic_list_combiation() and mvd_l1_zero_flag in slice header should be moved into the ""if(!bEntropySlice){}"" bracket for parseSliceHeader() in TDecCAVAL.cpp and codeSliceHearder() in TEncCavlc.cpp.

Possible solution:
codeSliceHeader() in TEncCavlc.cpp
......
  if(!bEntropySlice)
  {
    WRITE_UVLC( pcSlice->getPPS()->getPPSId(), ""pic_parameter_set_id"" );
......

//<< move the part of ref_pic_list_combiation() and mvd_l1_zero_flag in slice header here!!! : start
    if (pcSlice->isInterB())
    {
      WRITE_FLAG(pcSlice->getRefPicListCombinationFlag() ? 1 : 0,       ""ref_pic_list_combination_flag"" );
.....
#if H0111_MVD_L1_ZERO
    if (pcSlice->isInterB())
    {
      WRITE_FLAG( pcSlice->getMvdL1ZeroFlag() ? 1 : 0,   ""mvd_l1_zero_flag"");
    }
#endif
//>> move the part of ref_pic_list_combiation() and mvd_l1_zero_flag in slice header here!!! : end

#if H0412_REF_PIC_LIST_RESTRICTION
  }
#endif

parseSliceHeader() in TDecSbac.cpp
......
  if (!bEntropySlice)
  {
    READ_UVLC (    uiCode, ""pic_parameter_set_id"" );  rpcSlice->setPPSId(uiCode); 
......
//>> move the part of ref_pic_list_combiation() and mvd_l1_zero_flag in slice header here!!! : start
    if (rpcSlice->isInterB())
    {
      READ_FLAG( uiCode, ""ref_pic_list_combination_flag"" );       rpcSlice->setRefPicListCombinationFlag( uiCode ? 1 : 0 );
....
#if H0111_MVD_L1_ZERO
  if (rpcSlice->isInterB())
  {
    READ_FLAG( uiCode, ""mvd_l1_zero_flag"" );       rpcSlice->setMvdL1ZeroFlag( (uiCode ? true : false) );
  }
#endif
//>> move the part of ref_pic_list_combiation() and mvd_l1_zero_flag in slice header here!!! : end

  }
  else
  {
    pps = rpcSlice->getPPS();
    sps = rpcSlice->getSPS();
  }

"	defect	closed	minor	HM-8.1	HM	HM-6.1	fixed		fbossen ksuehring davidf jct-vc@…
