00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
#ifndef LHCMRuntime_h
00015 
#define LHCMRuntime_h
00016 
00017 
00018 
00019 
CMError
00020 
LHMatchColorsPrivate     ( CMMModelPtr          modelingData,
00021                                                    
CMColor                      *myColors,
00022                                                    
long                         count );
00023 
CMError
00024 
LHCheckBitMapPrivate    ( CMMModelPtr                   modelingData,
00025                                                   
const CMBitmap                *bitMap,
00026                                                   CMBitmapCallBackUPP   progressProc,
00027                                                   
void*                                 refCon,
00028                                                   
CMBitmap                              *resultBitMap );
00029 
00030 
CMError
00031 
LHMatchBitMapPrivate     ( CMMModelPtr                  modelingData,
00032                                                    
const CMBitmap *             bitMap,
00033                                                    CMBitmapCallBackUPP  progressProc,
00034                                                    
void*                                refCon,
00035                                                    
CMBitmap *                   matchedBitMap );
00036                                 
00037 
00038 
CMError
00039 
LHCheckColorsPrivate    ( CMMModelPtr           modelingData,
00040                                                   
CMColor*                      myColors,
00041                                                   UINT32                count,
00042                                                   
unsigned char         *result );
00043 
00044 
CMError
00045 
LHCheckColorsPrivateMS  ( CMMModelPtr           modelingData,
00046                                                   
CMColor*                      myColors,
00047                                                   UINT32                count,
00048                                                   UINT8                         *result );
00049 
00050 
00051 
CMError
00052 
LHMatchBitMapPlanePrivate        ( CMMModelPtr                          modelingData,
00053                                                            
const LH_CMBitmapPlane *     bitMapLH,
00054                                                            CMBitmapCallBackUPP          progressProc,
00055                                                            
void*                                        refCon,
00056                                                            
LH_CMBitmapPlane *           matchedBitMapLH );
00057                                 
00058 
00059 
00060 
OSErr ConvertNamedIndexToPCS(   CMMModelPtr             cw,
00061                                                                 
CMColor                 *theData,
00062                                                                 SINT32                  pixCnt );
00063 
OSErr
00064 
ConvertNamedIndexToColors       ( CMMModelPtr   modelingData,
00065                                                           
CMColor               *theData,
00066                                                           
long                  pixCnt );
00067 
00068 
OSErr
00069 
ConvertPCSToNamedIndex ( CMMModelPtr modelingData,
00070                                                  
CMColor         *theData,
00071                                                  
long            pixCnt );
00072 
00073 
CMError ConvertLabToIndexBitmap(        CMMModelPtr     modelingData,
00074                                                                         Ptr             InBuffer,
00075                                                                         UINT32          processedLinesIn,
00076                                                                         UINT32          inLineCount,
00077                                                                         UINT32          width,
00078                                                                         UINT32          rowBytes );
00079 
CMError ConvertIndexToLabBitmap(        CMMModelPtr     modelingData,
00080                                                                         Ptr                     InBuffer,
00081                                                                         Ptr                     OutBuffer,
00082                                                                         UINT32          processedLinesIn,
00083                                                                         UINT32          lineCount,
00084                                                                         UINT32          inWidth,
00085                                                                         UINT32          inRowBytes,
00086                                                                         UINT32          outRowBytes,
00087                                                                         UINT32          outputSize );
00088 
OSErr PreProcNamedColorMatchBitmap(     CMMModelPtr     modelingData,
00089                                                                         
CMBitmap                *inBitMap,
00090                                                                         
CMBitmap                *outBitMap,
00091                                                                         Boolean         MatchInPlace );
00092 
00093 
OSErr MidProcNamedColorMatchBitmap(             CMMModelPtr modelingData,
00094                                                                                 
CMBitmap *InBitMap,
00095                                                                                 Ptr dataOut,
00096                                                                                 UINT32 startLine,
00097                                                                                 UINT32 height);
00098                                                                         
00099 
OSErr PostProcNamedColorMatchBitmap     ( CMMModelPtr modelingData,
00100                                                                           
CMBitmap *inBitMap,
00101                                                                           
CMBitmap *outBitMap);
00102 
#endif