/[xforms]/xforms/image/image_type.c
ViewVC logotype

Diff of /xforms/image/image_type.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by leeming, Thu Apr 24 09:35:34 2003 UTC revision 1.4 by leeming, Tue Sep 9 00:28:25 2003 UTC
# Line 29  Line 29 
29   *  All rights reserved.   *  All rights reserved.
30   *.   *.
31   *   *
32   *  image type conversions   *  image type conversions
33   *   *
34   */   */
35    
# Line 42  Line 42 
42    
43    
44  /***********************************************************************  /***********************************************************************
45   * convert image types   * convert image types
46   ***********************************************************************/   ***********************************************************************/
47    
48  /***********************************************************************  /***********************************************************************
# Line 319  fs_dither(unsigned short **mat, int h, i Line 319  fs_dither(unsigned short **mat, int h, i
319      for (ras = mat[0], curr = tmp[0], n = h * w; --n >= 0; ras++, curr++)      for (ras = mat[0], curr = tmp[0], n = h * w; --n >= 0; ras++, curr++)
320          *curr = lut[*ras];          *curr = lut[*ras];
321    
322      /*      /*
323       * because we have the raster in a consecutive array, we got the edge       * because we have the raster in a consecutive array, we got the edge
324       * errors right for free       * errors right for free
325       */       */

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26