GRAPHICS: Rename DownscaleAllByHalfARM to downscaleAllByHalfARM

This commit is contained in:
Vladimir Serbinenko 2023-02-26 23:30:16 +01:00 committed by Eugene Sandulenko
parent d05bf67ed6
commit 4d5ec3c73c
2 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ int gBitFormat = 565;
#ifdef USE_ARM_SCALER_ASM
extern "C" {
void DownscaleAllByHalfARM(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height, int mask, int round);
void downscaleAllByHalfARM(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height, int mask, int round);
}
void DownscaleAllByHalf(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
@ -34,7 +34,7 @@ void DownscaleAllByHalf(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uin
static const int redbluegreenMasks[] = { 0x03E07C1F, 0x07E0F81F };
const int maskUsed = (gBitFormat == 565);
DownscaleAllByHalfARM(srcPtr, srcPitch, dstPtr, dstPitch, width, height, redbluegreenMasks[maskUsed], roundingconstants[maskUsed]);
downscaleAllByHalfARM(srcPtr, srcPitch, dstPtr, dstPitch, width, height, redbluegreenMasks[maskUsed], roundingconstants[maskUsed]);
}
#else

View File

@ -21,7 +21,7 @@
.text
.global DownscaleAllByHalfARM
.global downscaleAllByHalfARM
@ ARM implementation of DownscaleAllByHalf scaler.
@ Scales a width x height block of 16bpp pixels from srcPtr to
@ -29,7 +29,7 @@
@ lines. redblueMask and round allow for one routine to do both
@ 565 and 555 formats.
.align 2
DownscaleAllByHalfARM:
downscaleAllByHalfARM:
@ r0 = srcPtr
@ r1 = srcPitch
@ r2 = dstPtr