MCPcopy Create free account
hub / github.com/citron-neo/emulator / DecodeBc6

Function DecodeBc6

externals/bc_decoder/bc_decoder.cpp:1511–1515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)};

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected