id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 659,"""byte_alignment"" presence condition in the slice_data syntax is not correct for tiles_enabled_flag=1 and entropy_coding_sync_enabled_flag=1",chung,bbross,"In chapter 7.3.4.1 of JCTVC-J1003_d3, the condition for the presence of byte_alignment() is : if( !end_of_slice_flag && ( ( tiles_enabled_flag && TileId[ CtbAddrTS ] != TileId[ CtbAddrTS − 1 ] ) || ( entropy_coding_sync_enabled_flag && CtbAddrTS % PicWidthInCtbs = = 0 ) ) ) byte_alignment( ) My understanding is that the byte_alignment is used for the entry_points of a slice. The condition is not correct, when tiles_enabled_flag=1 and entropy_coding_sync_enabled_flag=1. Indeed, in this case, there is an entry_point per tile Ctb row. Let's define the function TileWidthInCtbs[TileId], that returns the width of tile TileId in unit of Ctb. (If tiles_enabled_flag=0, this returns the picture width in unit of Ctb) The condition above becomes : if( !end_of_slice_flag && ( ( tiles_enabled_flag && TileId[ CtbAddrTS ] != TileId[ CtbAddrTS − 1 ] ) || ( entropy_coding_sync_enabled_flag && CtbAddrTS % TileWidthInCtbs[TileId[ CtbAddrTS ]] = = 0 ) ) ) byte_alignment( )",enhancement,closed,minor,,Text,D10 (L1003) v33,fixed,,bbross wjhan jct-vc@…