| 829 | }; |
| 830 | |
| 831 | static color_rgba expand_565(const color_rgba& c) |
| 832 | { |
| 833 | return color_rgba((c.r << 3) | (c.r >> 2), (c.g << 2) | (c.g >> 4), (c.b << 3) | (c.b >> 2), 255); |
| 834 | } |
| 835 | |
| 836 | // We only support CC_MIXED non-alpha blocks here because that's the only mode the transcoder uses at the moment. |
| 837 | bool unpack_fxt1(const void *p, color_rgba *pPixels) |
no test coverage detected