32 lines
538 B
C
32 lines
538 B
C
#ifndef SCE_MPEG_VOBUF_H
|
|
#define SCE_MPEG_VOBUF_H
|
|
|
|
#include "typedefs.h"
|
|
|
|
#include "sce/mpeg/libmpeg.h"
|
|
|
|
#define N_GSBUF 2
|
|
|
|
#define VOBUF_STATUS_ 0
|
|
#define VOBUF_STATUS_TOPDONE 1
|
|
#define VOBUF_STATUS_FULL 2
|
|
|
|
typedef struct {
|
|
u_char v[MAX_WIDTH * MAX_HEIGHT * 4];
|
|
} VoData;
|
|
|
|
typedef struct {
|
|
int status;
|
|
int dummy[15];
|
|
u_int v[N_VOBUF][bound((N_LDTAGS+100)*4, 64)];
|
|
} VoTag;
|
|
|
|
typedef struct {
|
|
VoData *data;
|
|
VoTag *tag;
|
|
volatile int write;
|
|
volatile int count;
|
|
int size;
|
|
} VoBuf;
|
|
|
|
#endif // SCE_MPEG_VOBUF_H
|