| 1509 | } |
| 1510 | |
| 1511 | void DecodeBc6(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height, bool isSigned) { |
| 1512 | const auto *block{reinterpret_cast<const BC6H::Block *>(src)}; |
| 1513 | size_t pitch{R16g16b16a16Bpp * width}; |
| 1514 | block->decode(dst, x, y, width, height, pitch, R16g16b16a16Bpp, isSigned); |
| 1515 | } |
| 1516 | |
| 1517 | void DecodeBc7(const uint8_t *src, uint8_t *dst, size_t x, size_t y, size_t width, size_t height) { |
| 1518 | const auto *block{reinterpret_cast<const BC7::Block *>(src)}; |