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

Function egSetPlane

Protocols/AppleImageCodec/load_icns.c:84–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84VOID egSetPlane(IN UINT8 *DestPlanePtr, IN UINT8 Value, IN UINT64 PixelCount)
85{
86 UINT64 i;
87 if (!DestPlanePtr) {
88 return;
89 }
90
91 for (i = 0; i < PixelCount; i++) {
92 *DestPlanePtr = Value;
93 DestPlanePtr += 4;
94 }
95}
96
97VOID egCopyPlane(IN UINT8 *SrcPlanePtr, IN UINT8 *DestPlanePtr, IN UINTN PixelCount)
98{

Callers 1

egDecodeICNSFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected