PS2GL
OpenGL*-like API for the PS2
Loading...
Searching...
No Matches
vu1_mem_linear.h
1
/* Copyright (C) 2000,2001,2002 Sony Computer Entertainment America
2
3
This file is subject to the terms and conditions of the GNU Lesser
4
General Public License Version 2.1. See the file "COPYING" in the
5
main directory of this archive for more details. */
6
7
// **** absolute offsets ****
8
9
#define kContextStart 0
10
11
#include "vu1_context.h"
12
13
#define kDoubleBufBase (kContextStart + kContextLength)
14
#define kDoubleBufOffset ((1024 - kDoubleBufBase) / 2)
15
#define kDoubleBufSize kDoubleBufOffset
16
17
// **** buffer-relative offsets ****
18
19
#define kNumVertices 0
20
21
//#define kInputStrides (kNumVertices + 1)
22
//#define kQuadADCs (kInputStrides + 1)
24
//#define kStripADCs (kQuadADCs + 1)
25
26
// these are temporary till I think of something better..
27
#define kStripADCs (kNumVertices + 1)
28
29
#define kInputStart (kStripADCs + 4)
30
31
#define kInputBufSize (kDoubleBufSize / 2)
32
#define kOutputStart (0 + kInputBufSize)
33
#define kOutputBufSize (kDoubleBufSize - kOutputStart)
vu1
vu1_mem_linear.h
Generated on Wed Mar 19 2025 19:24:03 for PS2GL by
1.12.0