Opened 4 years ago

Closed 3 years ago

#1013 closed defect (fixed)

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 (1)

comment:1 Changed 3 years ago by fbossen

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.