Method and apparatus for run-length encoding of multi-colored images
AssigneeIntel Corporation
InventorPing-Hang Henry Mak
Life of this patent
Estimating the term…
Abstract
What is disclosed is a method for run-length encoding of a multi-colored image having the steps of first receiving a first color value, a second color value, and a third color value. Then, comparing a current color value with the third color value; and comparing the third color value with the first color value. If the current color value is not equal to the third color value, then capturing a run length and a run color value; and, if the third pixel value is equal to the first pixel value, then generating a codeword with the run length and the run color value. An apparatus for performing the above steps are also disclosed.
Claims10
A method comprising:
- receiving a sequence of color values for pixel locations including a first pixel color value, a second pixel color value, and a third pixel color value;
- comparing a current pixel color value with said third pixel color value, said current pixel color value being received sequentially after said third pixel color value;
- comparing said third pixel color value with said first pixel color value;
- if said current color pixel value is not equal to said third color pixel value, then capturing a run length and a run color value;
- and,
- if said third color pixel value is equal to said first color pixel value, then generating a codeword with a run length and a run color value.
An apparatus comprising:
- a processor;
- a memory coupled to said processor and configured to cause processor:
- receive a sequence of color values for pixel locations including a first color pixel value, a second color pixel value, and a third color pixel value;
- compare a current color pixel value with said third color pixel value, said current color pixel value being received sequentially after said third color pixel value;
- compare said third color pixel value with said first color pixel value;
- if said current color pixel value is not equal to said third color pixel value, then capture a run length and a run color value;
- and,
- if said third color pixel value is equal to said first color pixel value, then generate a codeword with a run length and a run color value.
Dependencies are inferred from the claim text.