MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / ConvertCI8_Row

Function ConvertCI8_Row

Source/HLEGraphics/ConvertImage.cpp:512–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510
511template< u32 F >
512static void ConvertCI8_Row( NativePfCI8 * dst, const u8 * src, u32 src_offset, u32 width )
513{
514 for (u32 x {}; x < width; x++)
515 {
516 dst[ x ].Bits = src[src_offset ^ F];
517 src_offset++;
518 }
519}
520
521template< u32 F >
522static void ConvertCI8_Row_To_8888( NativePf8888 * dst, const u8 * src, u32 src_offset, u32 width, const NativePf8888 * palette )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected