MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / egInsertPlane

Function egInsertPlane

Protocols/AppleImageCodec/load_icns.c:71–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69//
70
71VOID egInsertPlane(IN UINT8 *SrcDataPtr, IN UINT8 *DestPlanePtr, IN UINTN PixelCount)
72{
73 UINTN i;
74 if (!SrcDataPtr || !DestPlanePtr) {
75 return;
76 }
77
78 for (i = 0; i < PixelCount; i++) {
79 *DestPlanePtr = *SrcDataPtr++;
80 DestPlanePtr += 4;
81 }
82}
83
84VOID egSetPlane(IN UINT8 *DestPlanePtr, IN UINT8 Value, IN UINT64 PixelCount)
85{

Callers 1

egDecodeICNSFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected