mirror of
https://github.com/zeldaret/ss
synced 2026-05-23 15:01:38 -04:00
34 lines
449 B
C
34 lines
449 B
C
#ifndef _THP_THPBUFFER_H
|
|
#define _THP_THPBUFFER_H
|
|
|
|
#include "common.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct THPTextureSet {
|
|
u8* ytexture;
|
|
u8* utexture;
|
|
u8* vtexture;
|
|
s32 frameNumber;
|
|
} THPTextureSet;
|
|
|
|
typedef struct THPAudioBuffer {
|
|
s16* buffer;
|
|
s16* curPtr;
|
|
u32 validSample;
|
|
} THPAudioBuffer;
|
|
|
|
typedef struct THPReadBuffer {
|
|
u8* ptr;
|
|
s32 frameNumber;
|
|
BOOL isValid;
|
|
} THPReadBuffer;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|