Opened 6 months ago

#1013 new defect

Missing byte alignment in general_constraint_info and other parameters

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

Description

From VVC spec Draft 8, the end of the general_constraint_info syntax is as follows:

no_aps_constraint_flag u(1)

while( !byte_aligned( ) )
  gci_alignment_zero_bit f(1)

num_reserved_constraint_bytes u(8)

for( i = 0; i < num_reserved_constraint_bytes; i++ )
  gci_reserved_constraint_byte[ i ] u(8)

while( !byte_aligned( ) )
  gci_alignment_zero_bit f(1)

num_reserved_constraint_bytes u(8)
for( i = 0; i < num_reserved_constraint_bytes; i++ )
  gci_reserved_constraint_byte[ i ] u(8)

This seems to be missing in both VCL reader and writer, e.g. here writer:

  WRITE_FLAG(cinfo->getNoGdrConstraintFlag() ? 1 : 0, "no_gdr_constraint_flag");
  WRITE_FLAG(cinfo->getNoApsConstraintFlag() ? 1 : 0, "no_aps_constraint_flag");
}

Change history (0)

Note: See TracTickets for help on using tickets.