Method and apparatus for image blending
AssigneeApple Inc.
InventorsSteven Todd Weybrew, David Ligon, Ronald Gerard Langhi
Life of this patent
Estimating the term…
Abstract
Methods and apparatuses for blending two images using vector table look up operations. In one aspect of the invention, a method to blend two images includes: loading a vector of keys into a vector register; converting the vector of keys into a first vector of blending factors for the first image and a second vector of blending factors for the second image using a plurality of look up tables; and computing an image attribute for the blended image using the blending factors.
Claims10
An apparatus to blend two images, the apparatus comprising:
- a vector register file having a plurality of vector registers;
- a vector processing unit coupled to the vector register file, the vector processing unit having a vector look up unit adapted to look up a vector of data items simultaneously, wherein the vector processing unit is configured to load a vector of keys into a vector register in the vector register file, convert the vector of keys into a first vector of blending factors for
- a first image and a second vector of blending factors for a second image using a plurality of look up tables in the vector look up unit, and
- compute an image attribute for a blended image using the blending factors.
An apparatus to blend two images, the apparatus comprising:
- a vector register file having a plurality of vector registers;
- a vector processing unit coupled to the vector register file, the vector processing unit having a vector look up unit adapted to look up a vector of data items simultaneously, wherein the vector processing unit is configured to load a first vector of keys into a vector register in the vector register file,
- load a second vector of keys into a vector register in the vector register file,
- convert the first vector of keys into a first vector of blending factors for a first image and the second vector of keys into a second vector of blending factors for a second image using a plurality of look up tables in the vector look up unit, and
- compute an image attribute for a blended image using the blending factors.
An apparatus claim as in 6 to convert the vector of keys the vector processing unit is configured to
- generate a first vector of indices in a vector register by replicating a first subset of the first vector of keys as a first subset of the first vector of indices for looking up first blending factors for the first image and replicating a first subset of the second vector of keys as a second subset of the first vector of indices for looking up second blending factors for the second image, and
- look up simultaneously the first and second blending factors using the first vector of indices in the vector look up unit.
Dependencies are inferred from the claim text.