mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 14:34:32 +00:00
Improve z_jpeg documentation (#825)
* Improve z_jpeg documentation * JpegWork::data is probably better than address * Rename Jpeg_SendTask to Jpeg_ScheduleDecoderTask * Rename njpegUCode to gJpegUCode * Rename GetU16 to GetUnalignedU16 and improve docs
This commit is contained in:
parent
aebf11b8be
commit
36fead60a0
7 changed files with 95 additions and 65 deletions
|
@ -857,7 +857,7 @@ void func_8006D0EC(GlobalContext* globalCtx, Player* player);
|
|||
void func_8006D684(GlobalContext* globalCtx, Player* player);
|
||||
void func_8006DC68(GlobalContext* globalCtx, Player* player);
|
||||
void func_8006DD9C(Actor* actor, Vec3f* arg1, s16 arg2);
|
||||
u32 Jpeg_SendTask(JpegContext* ctx);
|
||||
u32 Jpeg_ScheduleDecoderTask(JpegContext* ctx);
|
||||
void Jpeg_CopyToZbuffer(u16* src, u16* zbuffer, s32 x, s32 y);
|
||||
u16 Jpeg_GetU16(u8* ptr);
|
||||
void Jpeg_ParseMarkers(u8* ptr, JpegContext* ctx);
|
||||
|
|
|
@ -106,7 +106,7 @@ extern DmaEntry gDmaDataTable[0x60C];
|
|||
//extern ? D_800D7288;
|
||||
extern u8 D_801120C0[];
|
||||
extern u8 D_80113070[];
|
||||
extern u64 D_80114930[];
|
||||
extern u64 gJpegUCode[];
|
||||
//extern ? D_80115440;
|
||||
//extern ? D_80115760;
|
||||
//extern ? D_80115770;
|
||||
|
@ -3034,7 +3034,7 @@ extern s16 D_80153960[];
|
|||
extern u8 D_80155F50[];
|
||||
extern u8 D_80157580[];
|
||||
extern u8 D_801579A0[];
|
||||
extern u64 D_80157D30[];
|
||||
extern u64 gJpegUCodeData[];
|
||||
//extern ? D_8015BC30;
|
||||
//extern ? D_8015BC3C;
|
||||
//extern ? D_8015BC48;
|
||||
|
|
|
@ -1654,7 +1654,7 @@ typedef struct {
|
|||
/* 0x320 */ JpegQuantizationTable qTableV;
|
||||
/* 0x3A0 */ u8 codesLengths[0x110];
|
||||
/* 0x4B0 */ u16 codes[0x108];
|
||||
/* 0x6C0 */ u16 unk_6C0[4][0x180];
|
||||
/* 0x6C0 */ u16 data[4][0x180];
|
||||
} JpegWork; // size = 0x12C0
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue