Hybrid block based compression
AssigneeAdvanced Micro Devices, Inc.
InventorsAndrew S.C. Pomianowski, Konstantine Iourcha
Life of this patent
Estimating the term…
Abstract
A method and apparatus is provided for block based compression of a texture using hardware supported compression formats. The method comprises dividing a texture into a plurality of blocks, for each block, determining a transform for use with the block to minimize an error metric, encoding at least one characteristic of the transform into a plurality of bits otherwise available to represent reference component values, and compressing the block.
Claims20
A method for block based compression of a texture using hardware supported compression formats, comprising:
- dividing a texture into a plurality of blocks;
- for each block, determining a transform for use with the block to minimize an error metric;
- encoding at least one characteristic of the transform into a plurality of bits otherwise available to represent reference component values;
- and
- compressing the block.
A method for decompressing an image, comprising:
- decoding a plurality of blocks associated with a selected region of the image;
- for each block, obtaining a characteristic of a transform for use with the block to minimize an error metric, the characteristic being encoded into a plurality of bits otherwise available to represent reference component values;
- decompressing the block;
- using the characteristic to obtain the transform to apply to the block;
- and
- applying the transform.
A system for block based compression of a texture using hardware supported compression formats, comprising:
- a processor configured to support a first compression format;
- and
- an encoder configured to:
- for each block, determining a characteristic of a transform for use with the block to minimize an error metric that results from the block including data not supported by the first compression format;
- encode the characteristic into a plurality of bits otherwise available to represent reference component values;
- and
- compress the block.
A non-transitory computer-readable storage medium storing a set of instructions for execution by a computing device to perform block based compression of a texture using a hardware supported compression format, the set of instructions comprising instructions that when executed by the computing device, cause the computing device to:
- divide a texture into a plurality of blocks;
- for each block, determine a transform for use with the block to minimize an error metric;
- encode at least one characteristic of the transform into a plurality of bits otherwise available to represent reference component values;
- and
- compress the block.
Dependencies are inferred from the claim text.