Patent ID: 8218649

Claim:
An information processing apparatus comprising: an input module configured to receive a video stream encoded in macroblocks, each macroblock of n×n pixels, the macroblocks being produced by dividing each image in a matrix form; an accelerator configured to decode the video stream by slice, the slice being by aligning the macroblocks in row directions; and a decoding controller configured to cause the accelerator to decode the video stream by slice by supplying the video stream received by the input module to the accelerator in slices, determine whether a value of position information indicating a position of each slice in the image indicates thatm each slice is in order, the position information being comprised in a header portion of each slice data in the video stream received by the input module; cause the accelerator to perform a decoding operation when it is determined that the value of the position information of a target slice in the image indicates that the target slice is out of order, the decoding controller creating slice data for the target slice by using slice data located upwardly adjacent to the target slice and by editing the position information to correct the order of the target slice; check slice data on each slice in the video stream received by the input module by each macroblock, when it is determined that the value of the position information of the target slice in the image indicates that the target slice is in order; and cause the accelerator to perform a decoding operation when a macroblock is error is detected, by respectively replacing the macroblock comprising the detected error as well as immediately subsequent macroblocks in the same slice with macroblocks in the same image that are upwardly adjacent to the macroblock comprising the detected error and the immediately subsequent macroblocks, and by editing the position information of the replaced macroblocks to correspond to the slice in which the macroblock comprising the detected error is located.