H.264/AVC I- and P-slice encoding