CPC G06T 9/00 (2013.01) [G06F 7/24 (2013.01); G06T 1/20 (2013.01); G06T 3/40 (2013.01); G06F 2212/401 (2013.01)] | 20 Claims |
1. An apparatus comprising:
a memory device storing a data chunk having a pre-defined swizzle mode; and
a graphics engine comprising circuitry configured to:
generate, for a first pixel of a first block of the data chunk, a first score to measure a correlation between the first pixel and a horizontal neighboring pixel;
generate, for the first pixel of the first block of the data chunk, a second score to measure a correlation between the first pixel and a vertical neighboring pixel; and
select, from the first and second scores, a lower score corresponding to a higher correlation;
encode a first bit of a first custom swizzle mode for the first block based on the lower score; and
encode an indication of the first custom swizzle mode for the first block based on the first bit.
|