Opened 5 years ago

Last modified 4 years ago

#1034 new enhancement

Duplicated functions for writing/parsing of prediction weight table

Reported by: ksuehring Owned by:
Priority: minor Milestone:
Component: VTM Version: VTM-8.1
Keywords: Cc: ksuehring, XiangLi, fbossen, jvet@…

Description

Prediction weight table reading and parsing uses different functions for parsing and writing depending on the location in PH or SH, although the same syntax table in the specification text is referenced in both locations in the spec text:

  void  parsePredWeightTable( Slice* pcSlice, const SPS *sps );
  void parsePredWeightTable ( PicHeader *picHeader, const SPS *sps );
  void xCodePredWeightTable     ( Slice* pcSlice );
  void xCodePredWeightTable     ( PicHeader *picHeader, const SPS *sps );

Code should be refactored to avoid duplication.

Cleanup for variable naming is needed as well.

Change history (1)

comment:1 Changed 4 years ago by fbossen

  • Type changed from defect to enhancement
Note: See TracTickets for help on using tickets.