| 218 | } |
| 219 | |
| 220 | static inline int interp_5_6_amd(int c0, int c1) { assert(c0 < 256 && c1 < 256); return (c0 * 43 + c1 * 21 + 32) >> 6; } |
| 221 | static inline int interp_half_5_6_amd(int c0, int c1) { assert(c0 < 256 && c1 < 256); return (c0 + c1 + 1) >> 1; } |
| 222 | |
| 223 | bool unpack_bc1_amd(const void *pBlock_bits, color_rgba *pPixels, bool set_alpha) |
no test coverage detected