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

Function DecodeBc7

externals/bc_decoder/bc_decoder.cpp:1517–1521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)};
1519 size_t pitch{R8g8b8a8Bpp * width};
1520 block->decode(dst, x, y, width, height, pitch);
1521 }
1522}

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected