| 1495 | } |
| 1496 | |
| 1497 | void DecodeBc4(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height, bool isSigned) { |
| 1498 | const auto *red{reinterpret_cast<const BC_channel *>(src)}; |
| 1499 | size_t pitch{R8Bpp * width}; |
| 1500 | red->decode(dst, x, y, width, height, pitch, R8Bpp, 0, isSigned); |
| 1501 | } |
| 1502 | |
| 1503 | void DecodeBc5(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height, bool isSigned) { |
| 1504 | const auto *red{reinterpret_cast<const BC_channel *>(src)}; |