Decompile texShrinkPaletted
This commit is contained in:
parent
c18de09ec6
commit
e6cf6899dd
File diff suppressed because it is too large
Load Diff
|
|
@ -3989,7 +3989,7 @@
|
|||
#define TEXFORMAT_RGBA16_CI8 0x09 // 16-bit 5551 paletted colour with 8-bit palette indexes
|
||||
#define TEXFORMAT_RGBA16_CI4 0x0a // 16-bit 5551 paletted colour with 4-bit palette indexes
|
||||
#define TEXFORMAT_IA16_CI8 0x0b // 16-bit 88 paletted greyscale+alpha with 8-bit palette indexes
|
||||
#define TEXFORMAT_0C 0x0c
|
||||
#define TEXFORMAT_IA16_CI4 0x0c // 16-bit 88 paletted greyscale+alpha with 4-bit palette indexes
|
||||
|
||||
#define THREAD_RMON 0
|
||||
#define THREAD_IDLE 1
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ s32 texGetAverageRed(u16 colour1, u16 colour2, u16 colour3, u16 colour4);
|
|||
s32 texGetAverageGreen(u16 colour1, u16 colour2, u16 colour3, u16 colour4);
|
||||
s32 texGetAverageBlue(u16 colour1, u16 colour2, u16 colour3, u16 colour4);
|
||||
s32 texGetAverageAlpha(u16 colour1, u16 colour2, u16 colour3, u16 colour4);
|
||||
s32 func0f16f0f4(u8 *start, u8 *end, s32 width, s32 height, s32 format, u16 *palette, s32 numcolours);
|
||||
s32 tex0f16fc8c(u8 *arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5);
|
||||
s32 func0f16fd50(u16 *arg0, s32 arg1, s32 arg2, s32 arg3);
|
||||
s32 texShrinkPaletted(u8 *src, u8 *dst, s32 srcwidth, s32 srcheight, s32 format, u16 *palette, s32 numcolours);
|
||||
s32 texFindClosestColourIndexRGBA(u8 *palette, s32 numcolours, s32 r, s32 g, s32 b, s32 a);
|
||||
s32 texFindClosestColourIndexIA(u16 *palette, s32 numcolours, s32 intensity, s32 alpha);
|
||||
s32 texInflateNonZlib(u8 *src, u8 *dst, s32 arg2, s32 forcenumimages, struct texturething *arg4, s32 arg5);
|
||||
s32 texShrinkNonPaletted(u8 *src, u8 *dst, s32 srcwidth, s32 srcheight, s32 format);
|
||||
void texInflateHuffman(u8 *dst, s32 numiterations, s32 chansize);
|
||||
|
|
|
|||
Loading…
Reference in New Issue