Method and apparatus for storing image in texture memory
AssigneeAlibaba Group Holding Limited
InventorsZhenjiang SHAO, Cun Chen
Life of this patent
Estimating the term…
Abstract
A method including acquiring dimension information of an image; determining dimensions of texture memory corresponding to the image based on the dimension information of the image; and dividing the image into multiple image blocks based on the dimensions of the texture memory, and storing the multiple image blocks obtained after the division in the texture memory according to a preset storage rule. The methods and apparatuses for storing an image in texture memory save the memory capacity and increase the image processing speed.
Claims20
A method comprising:
- acquiring dimension information of an image;
- determining dimensions of texture memory corresponding to the image based on the dimension information of the image;
- and
- dividing the image into multiple image blocks based on the dimensions of the texture memory.
An apparatus comprising:
- one or more processors;
- and
- one or more memories storing thereon computer-readable instructions that, when executed by the one or more processors, cause the one or more processors to perform acts comprising:
- acquiring dimension information of an image, the dimension information comprising a first dimension in a first direction and a second dimension in a second direction of the image;
- determining dimensions of texture memory corresponding to the image based on the dimension information of the image;
- dividing the image into multiple image blocks based on the dimensions of the texture memory.
One or more memories storing thereon computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform acts comprising:
- acquiring dimension information of an image;
- determining dimensions of texture memory corresponding to the image based on the dimension information of the image;
- dividing the image into multiple image blocks based on the dimensions of the texture memory;
- and
- storing the multiple image blocks obtained after the dividing in the texture memory according to a preset storage rule.
Dependencies are inferred from the claim text.