Opened 8 years ago

Closed 8 years ago

#32 closed defect (fixed)

INIT_LAST in not intialized properly

Reported by: XiangLi Owned by:
Priority: minor Milestone: HM-16.6-JEM-4.0
Component: JEM Version: HM-16.6-JEM-3.2
Keywords: Cc: ksuehring, XiangLi, jvet@…

Description

INIT_LAST[NUMBER_OF_SLICE_TYPES][NUM_CTX_LAST_FLAG_SETS * NUM_CTX_LAST_FLAG_XY] =
{

{ BSLICE_LUMA_LAST_POSITION_CONTEXT, 126, 111, 111, 79,

BSLICE_CHROMA_LAST_POSITION_CONTEXT, CNU, CNU, CNU, CNU,

},
{ PSLICE_LUMA_LAST_POSITION_CONTEXT, 111, 111, 95, 94,

PSLICE_CHROMA_LAST_POSITION_CONTEXT, CNU, CNU, CNU, CNU,

},
{ ISLICE_LUMA_LAST_POSITION_CONTEXT, 143, 127, 111, 79,

ISLICE_CHROMA_LAST_POSITION_CONTEXT, CNU, CNU, CNU, CNU,

},

};

As NUM_CTX_LAST_FLAG_XY=25, there are no enough elements for the initialization. Following code would fix the issue

INIT_LAST[NUMBER_OF_SLICE_TYPES][NUM_CTX_LAST_FLAG_SETS * NUM_CTX_LAST_FLAG_XY] =
{

{ BSLICE_LUMA_LAST_POSITION_CONTEXT, 126, 111, 111, 79, CNU, CNU, CNU, CNU, CNU, CNU,

BSLICE_CHROMA_LAST_POSITION_CONTEXT, CNU, CNU, CNU, CNU, CNU, CNU, CNU, CNU, CNU, CNU,

},
{ PSLICE_LUMA_LAST_POSITION_CONTEXT, 111, 111, 95, 94, CNU, CNU, CNU, CNU, CNU, CNU,

PSLICE_CHROMA_LAST_POSITION_CONTEXT, CNU, CNU, CNU, CNU, CNU, CNU, CNU, CNU, CNU, CNU,

},
{ ISLICE_LUMA_LAST_POSITION_CONTEXT, 143, 127, 111, 79, CNU, CNU, CNU, CNU, CNU, CNU,

ISLICE_CHROMA_LAST_POSITION_CONTEXT, CNU, CNU, CNU, CNU, CNU, CNU, CNU, CNU, CNU, CNU,

},

};

Change history (1)

comment:1 Changed 8 years ago by XiangLi

  • Milestone set to HM-16.6-JEM-4.0
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r308.

Note: See TracTickets for help on using tickets.