id summary reporter owner description type status priority milestone component version resolution keywords cc 598 Mismatch between WD and HM on end_of_slice_flag rickard bbross "The conditions on when to parse the end_of_slice_flag syntax element in the case of slice granularities in 7.3.5 is incorrect. The current condition looks like this: {{{ if( !( ( x0 + 1 << log2CbSize ) % ( 1 << SliceGranularity ) ) && !( ( y0 + 1 << log2CbSize ) % ( 1 << SliceGranularity ) ) && NumPCMBlock = = 0 ) { }}} One problem is that x0 + 1 << log2CbSize is ambiguous Another problem is that (1 << SliceGranularity) is clearly incorrect Another problem is that end_of_slice_flag should also be parsed at the end of LCUs that are ""incomplete"" I believe these problems are all corrected if the current condition shown above is replaced by: {{{ if( (!( ( x0 + (1 << log2CbSize )) % (Log2MaxCbSize >> slice_granularity) ) || ( x0 + (1 << log2CbSize ) == pic_width_in_luma_samples) ) && (!( ( y0 + (1 << log2CbSize )) % (Log2MaxCbSize >> slice_granularity) ) || ( y0 + (1 << log2CbSize ) == pic_height_in_luma_samples) ) && NumPCMBlock = = 0 ) { }}}" defect closed minor D7 Text D7 (I1003) d4 fixed bbross wjhan jct-vc@…