Patent ID: 8867900

Claim:
An emulation prevention byte remover, comprising: a first buffer; a second buffer; a third buffer; a checker; and a shifter; wherein the first buffer is configured to store first stream data, wherein the second buffer is configured to store second stream data, wherein the first buffer is further configured to receive stream data input from an external source or from the second buffer as the first stream data, wherein the second buffer is further configured to receive the stream data input from the external source and to store the received stream data as the second stream data, wherein the third buffer is configured to store at least part of output stream data from the shifter, wherein the checker is configured to determine whether one or more emulation prevention bytes are included in the first stream data and the second stream data based on the first stream data, the second stream data, and the at least part of the output stream data, wherein if the checker determines that the one or more emulation prevention bytes are included in the first stream data and the second stream data, the checker is further configured to output a check signal, wherein in response to the check signal, the shifter is configured to remove at least one of the one or more emulation prevention bytes from the first stream data, the second stream data, or the first stream data and the second stream data, and wherein the shifter is further configured to generate the output stream data based on the first stream data, the second stream data, or the first stream data and the second stream data.