Patent ID: 8907965

Claim:
A method of clipping a sequence of data values within a known range using a ceiling value and a floor value, said known range being defined by a set of integer values, said method being performed in a digital processing system containing a processor and a memory, said method comprising: storing in each of a sequence of memory locations a respective value corresponding to each integer in said set of integer values, a stored value in a memory location equaling said floor value if said memory location corresponds to an integer having a value less than said floor value, said stored value equaling said ceiling value if said memory location corresponds to an integer having a value greater than said ceiling value, and said stored value equaling a value of the corresponding integer otherwise; receiving a data value to be clipped, said data value equaling one of said set of integer values; retrieving a value stored in a memory location corresponding to said one of said set of integer values; and providing the retrieved value as a clipped output for said data value; wherein the retrieved value that is provided as a clipped output is stored in a memory location before receiving the corresponding data value to be clipped.