1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-13 03:14:38 +00:00

[headers 11] stackcheck.h, jpeg functions (#2171)

* [headers 11] stackcheck.h, jpeg functions

* bss
This commit is contained in:
Dragorn421 2024-09-08 18:02:38 +02:00 committed by GitHub
parent c39323a336
commit de1a08c061
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 47 additions and 37 deletions

View file

@ -77,4 +77,11 @@ typedef struct JpegDecoderState {
/* 0x10 */ s16 unk_10;
} JpegDecoderState; // size = 0x14
s32 Jpeg_Decode(void* data, void* zbuffer, void* work, u32 workSize);
void JpegUtils_ProcessQuantizationTable(u8* dqt, JpegQuantizationTable* qt, u8 count);
u32 JpegUtils_ProcessHuffmanTable(u8* dht, JpegHuffmanTable* ht, u8* codesLengths, u16* codes, u8 count);
s32 JpegDecoder_Decode(JpegDecoder* decoder, u16* mcuBuff, s32 count, u8 isFollowing, JpegDecoderState* state);
#endif