ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/tmapcolrs.c
(Generate patch)

Comparing ray/src/common/tmapcolrs.c (file contents):
Revision 3.24 by greg, Thu May 18 01:58:18 2006 UTC vs.
Revision 3.27 by greg, Thu Dec 2 18:10:40 2010 UTC

# Line 10 | Line 10 | static const char      RCSid[] = "$Id$";
10   #include "copyright.h"
11  
12   #include        <stdio.h>
13 + #include        <stdlib.h>
14   #include        <string.h>
15   #include        <math.h>
16   #include        <time.h>
17  
17 #include        "tmprivat.h"
18 #include        "resolu.h"
18   #ifdef PCOND
19   #include        "rtprocess.h"
20   #endif
21 + #include        "tmprivat.h"
22 + #include        "resolu.h"
23  
24   #define GAMTSZ  1024
25  
# Line 432 | Line 433 | register TMstruct      *tms;
433          cd = (COLRDATA *)tms->pd[colrReg];
434          for (i = 3; i--; )
435                  cd->clfb[i] = 0x1000*tms->clf[i] + .5;
435 fprintf(stderr, "(%d %d %d)\n", cd->clfb[0], cd->clfb[1], cd->clfb[2]);
436          cd->inpsfb = tmCvLuminance(tms->inpsf);
437          for (i = 3; i--; )
438                  for (j = 3; j--; ) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines