Patent ID: 8156410

Claim:
A video decoder capable of generating a-check data in response to a data selection code for debugging, the video decoder comprising: a plurality of functional blocks configured to process data of an encoded bitstream in a sequential manner to restore a decoded frame, wherein the functional blocks comprise a bitstream buffer, a header parser, a motion compensation block and a reconstruction block, and each of the header parser, the bitstream buffer, the motion compensation block and the reconstruction block respectively issues a distinct output signal; a multiplexer transmitting data that are selected from one of the output signals from the header parser, the bitstream buffer, the motion compensation block and the reconstruction block, the data that are transmitted by the multiplexer being selected according to a data selection code inputted to the multiplexer; a check logic generating check data that result from a check computation applied on the data transmitted by the multiplexer; and a unit configured to detect whether the decoded frame is correct based on the check data.