Opened 2 months ago

Closed 3 weeks ago

#1509 closed defect (invalid)

mismatches in PCM alignment syntax

Reported by: wangli Owned by:
Priority: minor Milestone:
Component: HM Version: HM-16.14
Keywords: PCM, syntax mismatch Cc: liufei21@…, ksuehring, davidf, karlsharman, jct-vc@…

Description

In the spec, we have the syntax below.
while (!byte_aligend())

pcm_alignment_zero_bit

However, it need to write "1" before align zero in HM.
Void TEncBinCABAC::encodePCMAlignBits()
{

finish();
m_pcTComBitIf->write(1, 1);
m_pcTComBitIf->writeAlignZero(); pcm align zero

}

Could anyone help to check if it is a mismatch? Thx

Change History (2)

comment:1 Changed 2 months ago by wangli

  • Keywords PCM added; SCC removed

comment:2 Changed 3 weeks ago by fbossen

  • Resolution set to invalid
  • Status changed from new to closed

From section 9.3.4.3.5 in the spec:
The last bit inserted in register ivlOffset is equal to 1. When decoding end_of_slice_segment_flag, this last bit inserted in register ivlOffset is interpreted as rbsp_stop_one_bit. When decoding end_of_subset_one_bit, this last bit inserted in register ivlOffset is interpreted as alignment_bit_equal_to_one.

m_pcTComBitIf->write(1, 1) will write a bit equal to 1 to satisfy "The last bit inserted in register ivlOffset is equal to 1".
Whereas this last bit is also interpreted as a specific syntax element in several cases, there is no such association in the PCM case, and therefore this bit does not appear in the syntax table.

I don't see a mismatch here.

Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Owner, Subscriber, Participant

  • David Flynn(Subscriber)
  • Frank Bossen(Participant)
  • jct-vc@…(Subscriber)
  • Karl Sharman(Subscriber)
  • karl.sharman@…(Always)
  • Karsten Suehring(Subscriber, Always)
  • liufei21@…(Subscriber)
  • wangli(Reporter, Participant)