Opened 12 years ago Closed 12 years ago #1050 closed enhancement (fixed)parse end_of_sub_stream_one_bit in WPP
Description (last modified by ksuehring)
In WPP, the text requires to parse the syntax element end_of_sub_stream_one_bit at the end of each tile line if end_of_slice_segment_flag is equal to 0. It corresponds to the syntax element alignment_bit_equal_to_one and it must be equal to one. It seems that the parsing of end_of_sub_stream_one_bit and the check have not been done in the reference software in WPP. I suggest to add the following code in the function Void TDecSlice::decompressSlice(TComInputBitstream** ppcSubstreams, TComPic*& rpcPic, TDecSbac* pcSbacDecoder, TDecSbac* pcSbacDecoders) ... cSigma.m_CbCounter=0; #endif #endif m_pcCuDecoder->decompressCU ( pcCU ); #if ENC_DEC_TRACE g_bJustDoIt = g_bEncDecTraceDisable; #endif pcSbacDecoders[uiSubStrm].load(pcSbacDecoder); UInt uiTileRightEdgePosInCU = rpcPic->getPicSym()->getTComTile(rpcPic->getPicSym()->getTileIdxMap(iCUAddr))->getRightEdgePosInCU(); UInt ruiBit; if ( (uiCol == uiTileRightEdgePosInCU) && (pcSlice->getPPS()->getEntropyCodingSyncEnabledFlag()) && !uiIsLast) { pcSbacDecoder->parseTerminatingBit(ruiBit); assert (ruiBit); } //Store probabilities of second LCU in line into buffer if ( (uiCol == uiTileLCUX+1)&& (depSliceSegmentsEnabled || (pcSlice->getPPS()->getNumSubstreams() > 1)) && (pcSlice->getPPS()->getEntropyCodingSyncEnabledFlag()) ) { m_pcBufferSbacDecoders[uiTileCol].loadContexts( &pcSbacDecoders[uiSubStrm] ); } ... Attachments (1)Change History (6)comment:1 Changed 12 years ago by DefaultCC Plugin
comment:2 Changed 12 years ago by ksuehring
comment:3 Changed 12 years ago by ksuehringcomment:4 Changed 12 years ago by PhuongNguyen
The patch file is attached. comment:5 Changed 12 years ago by fbossen
Fixed in r3471 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
|
Can you please use a patch file to make clear, what lines are changed?