Patent ID: 7079583

Claim:
A media processing apparatus which inputs a data stream including compressed audio data and compressed video data, decodes data in the inputted data stream, and respectively outputs the decoded audio data and the decoded video data to an external display device and an external audio output device, the media processing apparatus comprising: an input/output processing unit operable to perform an input/output processing, asynchronously occurring due to an external factor, wherein the input/output processing unit is composed of: an input unit operable to input an asynchronous data stream; a video output unit operable to output the decoded video data to the external display device; an audio output unit operable to output the decoded audio data to the external audio output device; and a processor for executing task programs from a first task program through a fourth task program stored in an instruction memory, by switching between the respective four task programs, the task programs including: the first task program for transferring the data stream from the input unit to the memory; the second task program for supplying the data stream from the memory to a decode processing unit; the third task program for outputting the decoded video data from the memory to the video output unit; and the fourth task program for outputting the decoded audio data from the memory to the audio output unit, the media processing apparatus further comprising: the decode processing unit operable, in parallel with the input/output processing, to perform a decode processing where decoding of the data stream stored in the memory is mainly performed, wherein the decoded video data and the decoded audio data are stored in the memory.