mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
GRAPHICS: Rename DownscaleAllByHalfARM to downscaleAllByHalfARM
This commit is contained in:
parent
d05bf67ed6
commit
4d5ec3c73c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user