Patent ID: 7672402

Claim:
A data processing apparatus comprising: means for specifying sizes corresponding to encoded data frames, the encoded data frames to be decoded in a predetermined sequence; means for selecting a bit rate for inputting the encoded data frames into a decoding section at the selected bit rate, the bit rate being selected based on the sizes, wherein the decoding section comprises means for storing the encoded data frames; and means for calculating configured to: calculate delay time information from a start of the inputting to completion of decoding of the encoded data frames, the delay time information including delay times corresponding to delay intervals between the encoded data frames; select each of the encoded date frames for processing in a sequential order, the sequential order indicating performing the selection from an encoded data frame to be decoded last to an encoded data frame to be decoded first; calculate the delay times in the sequential order based on the sizes of the selected encoded data frames and the selected bit rate, wherein calculating the delay times includes calculating a delay time for a selected encoded data frame based on a total amount of data, the total amount of data being calculated based on a size of the selected encoded data frame and a size of a second encoded data frame to be decoded after the selected encoded data frame is decoded, the second encoded data frame being stored in the means for storing before the selected encoded data frame is read for decoding.