test: routines.h Source File

Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

# routines.h

Go to the documentation of this file.

    00001 /*
    00002         File:           LHTheRoutines.h
    00003
    00004         Contains:
    00005
    00006         Written by:     U. J. Krabbenhoeft
    00007
    00008         Version:
    00009
    00010         Copyright:      © 1993-1997 by Heidelberger Druckmaschinen AG, all rights reserved.
    00011
    00012 */
    00013 #ifndef LHTheRoutines_h
    00014 #define LHTheRoutines_h
    00015
    00016 OSErr
    00017 CalcGridPoints4Cube ( long      theCubeSize,
    00018                                           long  inputDim,
    00019                                           long* theGridPoints,
    00020                                           long* theGridBits );
    00021 /*
    00022                                         MakeCube
    00023         Fills Array Poi with the whole 'inputDim' dimensional color space with
    00024         'inputDim' pixel entries depending on size of Poi memory
    00025         Return: # of address bits for one dimension ( gridPoints = 1<< # )
    00026 */
    00027 OSErr   MakeCube( long                          inputDim,
    00028                                   long                          *thePtrSize,
    00029                                   CUBE_DATA_TYPE        *theCube,
    00030                                   long                          *theBits );
    00031 /*                                      MakeCMColorCube
    00032         Fills Array Poi with the whole 'inputDim' dimensional color space with
    00033         'inputDim' pixel entries depending on size of Poi memory
    00034         Return: # of address bits for one dimension ( gridPoints = 1<< # )
    00035
    00036 */
    00037
    00038 OSErr   MakeCMColorCube(        long inputDim,
    00039                                                         long *theCubeSize,
    00040                                                         CUBE_DATA_TYPE *aHdlPtr,
    00041                                                         long *theBits );
    00042 #define UWE 2
    00043 #ifdef UWE
    00044 /*                                      MakeCube16
    00045         Fills Array Poi with the whole 'inputDim' dimensional color space with
    00046         'inputDim' pixel entries depending on size of Poi memory with WORD values
    00047         Return: # of address bits for one dimension ( gridPoints = 1<< # )
    00048 */
    00049 OSErr
    00050 MakeCube16( long                        inputDim,
    00051                         long                    *theCubeSize,
    00052                         CUBE_DATA_TYPE  *theCube,
    00053                         long                    *theBits,
    00054                         long                    *theExtraSize );
    00055 #endif
    00056 #endif