Opened 12 years ago Closed 12 years ago #942 closed defect (invalid)HM 9.1 entry_point_offset issue
Description
I was trying to independently decode tiles using HM 9.1. I made three streams: --SAO=0 --UniformSpacingIdc=1 --NumTileColumnsMinus1=1 --NumTileRowsMinus1=1 --LFCrossTileBoundaryFlag=0
Within the software it is possible to fake a parallel decoding process inside the function TDecSlice::decompressSlice. I made accessible the values of m_fifo_idx (decleared in TComBitStream.h) and entry_point_offset. In particular I wrote: Void setEntryPointOffsets(Int num, UInt *val) { m_entryPointOffsets = new UInt[num + 1]; m_entryPointOffsets[0] = 0; for(int i = 1; i < num + 1; i++) m_entryPointOffsets[i] = val[i-1]; } UInt getEntryPointOffset(Int num) { UInt val = 0; for (int i = 0; i < num+1; i++) val += m_entryPointOffsets[i]; return val; }
Change History (2)comment:1 Changed 12 years ago by DefaultCC Plugin
comment:2 Changed 12 years ago by ksuehring
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
|
The test code did not take emulation prevention bytes into account. If these are counted correctly the numbers match.