Patent ID: 8428125

Claim:
A device comprising: a processor that: segments a frame into slice groups and slices based on predictability attributes of macroblock groups within the frame, the predictability attributes including intra-predictability of the macroblock groups and inter-predictability of the macroblock groups; determines slice coding types for the frame; and encodes the slices in accordance with inter-coding or intra-coding techniques based at least in part on the determined slice coding types, wherein there are different slice coding types within the frame; and a memory coupled to the processor, wherein the slice groups include a first slice group having a single one of the slices and a second slice group having a plurality of the slices, the slice of the first slice group comprises a strip of intra-coded macroblocks, the slices of the second slice group comprise inter-coded macroblocks and are parallel horizontally extending slices, and the strip having three edges coinciding with three border edges of the frame and a fourth edge coinciding with the inter-coded macroblocks of the second slice group.