Changeset 2905 for libpipi/trunk


Ignore:
Timestamp:
Oct 9, 2008, 1:53:43 AM (12 years ago)
Author:
Sam Hocevar
Message:

Remove tabs in the code here and there.

Location:
libpipi/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/genethumb/mygetopt.c

    r2546 r2905  
    2828#ifndef __intptr_t_defined
    2929#ifndef _UINTPTR_T
    30 typedef unsigned int            uintptr_t;
     30typedef unsigned int uintptr_t;
    3131#endif
    3232#endif
  • libpipi/trunk/pipi/codec/coreimage.m

    r2903 r2905  
    2626pipi_image_t *pipi_load_coreimage(const char *name)
    2727{
    28     NSAutoreleasePool    *autoreleasepool = [[NSAutoreleasePool alloc] init];
     28    NSAutoreleasePool *autoreleasepool = [[NSAutoreleasePool alloc] init];
    2929    NSString *n = [NSString stringWithCString: name];
    3030    CIImage *source;
     
    6161int pipi_save_coreimage(pipi_image_t *img, const char *name)
    6262{
    63     NSAutoreleasePool    *autoreleasepool = [[NSAutoreleasePool alloc] init];
     63    NSAutoreleasePool *autoreleasepool = [[NSAutoreleasePool alloc] init];
    6464    printf("%d\n", img->last_modified);
    6565    pipi_pixels_t *p = pipi_getpixels(img, PIPI_PIXELS_RGBA_C);
  • libpipi/trunk/pipi/colorstring.c

    r2904 r2905  
    5757pipi_pixel_t *pipi_get_color_from_string(const char* s)
    5858{
    59         pipi_pixel_t *color;
     59    pipi_pixel_t *color;
    6060
    6161    if(!s) return NULL;
  • libpipi/trunk/pipi/histogram/histogram.c

    r2904 r2905  
    4343    if(!h) return -1;
    4444
    45         data = (uint8_t *)pipi_getpixels(img, PIPI_PIXELS_RGBA_C)->pixels;
     45    data = (uint8_t *)pipi_getpixels(img, PIPI_PIXELS_RGBA_C)->pixels;
    4646
    4747    for(i=0; i< img->w*img->h*4; i+=4)
  • libpipi/trunk/pipi/quantize/reduce.c

    r2904 r2905  
    155155        {
    156156            double k1[3];
    157                         double yk1;
     157            double yk1;
    158158            k1[R] = pal[i][R] - p0[R];
    159159            k1[G] = pal[i][G] - p0[G];
     
    171171                double yk2, s;
    172172
    173                                 if(i == j)
     173                if(i == j)
    174174                    continue;
    175175
     
    250250        for(i = 2; i < npts; /* */)
    251251        {
    252                         double k1, k2;
     252            double k1, k2;
    253253
    254254            if(i < 2)
     
    286286            double acx = pts[i][X] - pts[0][X];
    287287            double acy = pts[i][Y] - pts[0][Y];
    288                         double area;
     288            double area;
    289289            double sqarea = (abx * abx + aby * aby) * (acx * acx + acy * acy)
    290290                          - (abx * acx + aby * acy) * (abx * acx + aby * acy);
     
    359359
    360360    pipi_image_t *dst;
    361         pipi_pixels_t *srcp, *dstp;
    362         float *srcdata, *dstdata;
    363         hull_t *rgbhull, *myhull;
     361    pipi_pixels_t *srcp, *dstp;
     362    float *srcdata, *dstdata;
     363    hull_t *rgbhull, *myhull;
    364364    int i, j, w, h;
    365365
  • libpipi/trunk/pipi/render/screen.c

    r2904 r2905  
    9797        for(x = 0; x < w; x++)
    9898        {
    99             double dy = ((double)y + .07) / h - .5;
     99            double dy = ((double)y + .07) / h - .5;
    100100            double dx = (double)x / w - .5;
    101101            /* Using dx²+dy² here creates another interesting halftone. */
Note: See TracChangeset for help on using the changeset viewer.