| 370 | // In WPP, the text requires to parse the syntax element end_of_sub_stream_one_bit at the end of |
| 371 | // each tile line if end_of_slice_segment_flag is equal to 0. It corresponds to the syntax element |
| 372 | // alignment_bit_equal_to_one and it must be equal to one. |
| 373 | UInt uiTileRightEdgePosInCU = rpcPic->getPicSym()->getTComTile(rpcPic->getPicSym()->getTileIdxMap(iCUAddr))->getRightEdgePosInCU(); |
| 374 | UInt ruiBit; |
| 375 | if ( (uiCol == uiTileRightEdgePosInCU) && (pcSlice->getPPS()->getEntropyCodingSyncEnabledFlag()) && !uiIsLast) |
| 376 | { |
| 377 | pcSbacDecoder->parseTerminatingBit(ruiBit); |
| 378 | assert (ruiBit); |
| 379 | } |
| 380 | |