This is TablookUGxyx.m in view mode; [Download] [Up]
/* This class was auto-generated by dspwrap from macro tablook.
It should not be edited. */
#import "TablookUGxyx.h"
@implementation TablookUGxyx : TablookUG
/* times in seconds/sample */
#define COMPUTETIME (498 * (DSP_CLOCK_PERIOD / DSPMK_I_NTICK))
#define OFFCHIP_COMPUTETIME (666 * (DSP_CLOCK_PERIOD / DSPMK_I_NTICK))
static MKLeafUGStruct _leafUGStruct = {
{3/* xArg */, 2/* yArg */, 0/* lArg */,
22/* pLoop */, 0/* pSubr */,
0/* xData */, 0/* yData */} /* memory requirements */, COMPUTETIME};
+(MKLeafUGStruct *)classInfo
{ if (_leafUGStruct.master == NULL)
_leafUGStruct.master = [self masterUGPtr];
return &_leafUGStruct; }
+initialize /* Sent once on factory start-up. */
{
enum args { ainv, atablook, shftamt, aout, mtablook };
static DSPMemorySpace _argSpaces[] = {DSP_MS_Y,DSP_MS_X,DSP_MS_N,DSP_MS_X,DSP_MS_N};
static DSPDataRecord _dataRecP = {NULL, DSP_LC_P, 0, 1, 22};
static int _dataP[] = {0x6edc00,0x61d800,0x65d800,0xf49800,0x278000,
0x61080,0x95,0x4fd9f4,0x2f00f2,0x55f456,
0x1,0x219d10,0x210d56,0x47ed00,0x219d2b,
0x21a400,0x57ed00,0x20ee7c,0x21a700,0x2000c3,
0x565e00,0x278000};
static DSPFixup _fixupsP[] = {
{DSP_LC_P, NULL, 1 /* decrement */, 6 /* refOffset */, 21 /* relAddress */}
};
_leafUGStruct.master = NULL;
_leafUGStruct.argSpaces = _argSpaces;
_leafUGStruct.data[(int)DSP_LC_P] = &_dataRecP;
_dataRecP.data = _dataP;
_leafUGStruct.fixups[(int)DSP_LC_P - (int)DSP_LC_P_BASE] = _fixupsP;
MKInitUnitGeneratorClass(&_leafUGStruct);
_leafUGStruct.reserved1 = MK_2COMPUTETIMES;
_leafUGStruct.offChipComputeTime = OFFCHIP_COMPUTETIME;
return self;
}
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.