Image rotation method and apparatus
AssigneeQUALCOMM Incorporated
InventorChun Wang
Life of this patent
Estimating the term…
Abstract
This disclosure describes an apparatus and techniques for rotating image data. The rotation techniques may include fetching a strip of a block of image data from an external memory, writing the strip into a strip buffer in a first scan direction, reading a micro-block of pixels of the strip in the strip buffer in the first scan direction and writing the micro-block into a rotation buffer in the first scan direction, and rotating the micro-block of pixels by reading the micro-block of pixels in the rotation buffer in a second scan direction, the second scan direction different from the first scan direction, and writing the micro-block of pixels into a rotation memory in the second scan direction.
Claims30
A method for processing image data, the method comprising:
- fetching a strip of a block of image data from an external memory;
- writing the strip into a strip buffer in a first scan direction;
- reading a micro-block of pixels of the strip in the strip buffer in the first scan direction and writing the micro-block into a rotation buffer in the first scan direction;
- and
- rotating the micro-block of pixels by reading the micro-block of pixels in the rotation buffer in a second scan direction, the second scan direction being different from the first scan direction, and writing the micro-block of pixels into a rotation memory in the second scan direction.
An apparatus configured to process image data, the apparatus comprising:
- an external memory configured to store image data;
- and
- a display processor comprising a strip buffer, a rotation buffer, and a rotation memory, the display processor configured to:
- fetch a strip of a block of the image data from the external memory;
- write the strip into the strip buffer in a first scan direction;
- read a micro-block of pixels of the strip in the strip buffer in the first scan direction and write the micro-block into the rotation buffer in the first scan direction;
- and
- rotate the micro-block of pixels by reading the micro-block of pixels in the rotation buffer in a second scan direction, the second scan direction being different from the first scan direction, and write the micro-block of pixels into the rotation memory in the second scan direction.
An apparatus configured to for process image data, the apparatus comprising:
- means for fetching a strip of a block of image data from an external memory;
- means for writing the strip into a strip buffer in a first scan direction;
- means for reading a micro-block of pixels of the strip in the strip buffer in the first scan direction;
- means for writing the micro-block into a rotation buffer in the first scan direction;
- means for rotating the micro-block of pixels by reading the micro-block of pixels in the rotation buffer in a second scan direction, the second scan direction being different from the first scan direction;
- and
- means for writing the micro-block of pixels into a rotation memory in the second scan direction.
A computer-readable storage medium storing instructions that, when executed, cause one or more processors of a device for processing image data to:
- fetch a strip of a block of image data from an external memory;
- write the strip into a strip buffer in a first scan direction;
- read a micro-block of pixels of the strip in the strip buffer in the first scan direction and write the micro-block into a rotation buffer in the first scan direction;
- and
- rotate the micro-block of pixels by reading the micro-block of pixels in the rotation buffer in a second scan direction, the second scan direction being different from the first scan direction, and write the micro-block of pixels into a rotation memory in the second scan direction.
Dependencies are inferred from the claim text.