Changeset 2902


Ignore:
Timestamp:
Oct 8, 2008, 2:14:57 AM (11 years ago)
Author:
Sam Hocevar
Message:

Support C99 types on Win32 through the same hacks as in libcaca.

Location:
libpipi/trunk
Files:
3 added
1 deleted
58 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/Makefile.am

    r2899 r2902  
    44DIST_SUBDIRS = $(SUBDIRS) win32
    55
    6 EXTRA_DIST = bootstrap build-win32 common.h NOTES
     6EXTRA_DIST = bootstrap build-win32 NOTES
    77AUTOMAKE_OPTIONS = dist-bzip2
    88
  • libpipi/trunk/configure.ac

    r2899 r2902  
    6767AM_CONDITIONAL(NEED_GETOPT_LONG, test "$ac_cv_have_getopt_long" = "no")
    6868AC_SUBST(GETOPT_LIBS)
     69
     70# How to get the C99 types. See pipi/pipi_types.h.in for details about
     71# the PIPI_TYPES variable
     72if test "${ac_cv_my_have_vga}" = "yes"; then
     73  PIPI_TYPES=0
     74else
     75  AC_CHECK_HEADERS(stdint.h,
     76    [PIPI_TYPES=1],
     77    [AC_CHECK_HEADERS(inttypes.h,
     78      [PIPI_TYPES=2],
     79      [AC_CHECK_HEADERS(windows.h,
     80        [PIPI_TYPES=3],
     81        [PIPI_TYPES=0])])])
     82fi
     83AC_SUBST(PIPI_TYPES)
    6984
    7085# Optimizations
     
    175190])
    176191AC_CONFIG_FILES([
     192  pipi/pipi_types.h
    177193  pipi/pipi.pc
    178194  pipi-sharp/pipi-sharp.pc
  • libpipi/trunk/examples/bezier.c

    r2789 r2902  
    11#include "config.h"
    2 #include "common.h"
    32
    43#include <stdio.h>
  • libpipi/trunk/examples/edd.c

    r2759 r2902  
    2424
    2525#include "config.h"
    26 #include "common.h"
    2726
    2827#include <stdio.h>
  • libpipi/trunk/examples/floodfill.c

    r2678 r2902  
    11#include "config.h"
    2 #include "common.h"
    32
    43#include <stdio.h>
  • libpipi/trunk/examples/histogram.c

    r2809 r2902  
    11#include "config.h"
    2 #include "common.h"
    32
    43#include <stdio.h>
  • libpipi/trunk/examples/img2rubik.c

    r2738 r2902  
    11#include "config.h"
    2 #include "common.h"
    32
    43#include <stdio.h>
  • libpipi/trunk/examples/line.c

    r2796 r2902  
    11#include "config.h"
    2 #include "common.h"
    32
    43#include <stdio.h>
  • libpipi/trunk/examples/sharpen.c

    r2662 r2902  
    11#include "config.h"
    2 #include "common.h"
    32
    43#include <stdio.h>
  • libpipi/trunk/genethumb/genethumb.c

    r2601 r2902  
    11#include "config.h"
    2 #include "common.h"
    32
    43#if !defined HAVE_GETOPT_LONG
  • libpipi/trunk/pipi

    • Property svn:ignore
      •  

        old new  
        55*.a
        66pipi.pc
         7pipi_types.h
  • libpipi/trunk/pipi/Makefile.am

    r2897 r2902  
    11# $Id$
    22
    3 EXTRA_DIST = pipi.pc.in
     3EXTRA_DIST = pipi_types.h.in pipi.pc.in
    44DISTCLEANFILES = pipi.pc
    55
     
    99pkgconfigdir = $(libdir)/pkgconfig
    1010
    11 include_HEADERS = pipi.h
     11include_HEADERS = pipi.h pipi_types.h
    1212
    1313# The main library
     
    1616        pipi.c \
    1717        pipi.h \
     18        pipi_types.h \
    1819        pipi_internals.h \
     20        pipi_stubs.h \
    1921        pipi_template.h \
    2022        context.c \
  • libpipi/trunk/pipi/accessors.c

    r2844 r2902  
    1919
    2020#include "config.h"
    21 #include "common.h"
    2221
    2322#include <stdio.h>
  • libpipi/trunk/pipi/codec.c

    r2897 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdio.h>
  • libpipi/trunk/pipi/codec/coreimage.h

    r2897 r2902  
    2121#ifdef USE_COCOA
    2222
    23 #include "common.h"
    24 
    2523#include <stdio.h>
    2624#include <stdlib.h>
  • libpipi/trunk/pipi/codec/gdi.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdio.h>
  • libpipi/trunk/pipi/codec/imlib.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdio.h>
  • libpipi/trunk/pipi/codec/opencv.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdio.h>
  • libpipi/trunk/pipi/codec/oric.c

    r2862 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdio.h>
  • libpipi/trunk/pipi/codec/sdl.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdio.h>
  • libpipi/trunk/pipi/colorstring.c

    r2844 r2902  
    1 /*
    2  *  libpipi       Pathetic image processing interface library
    3  *  Copyright (c) 2004-2008 Sam Hocevar <sam@zoy.org>
    4  *                2008 Jean-Yves Lamoureux <jylam@lnxscene.org
    5  *                All Rights Reserved
    6  *
    7  *  $Id$
    8  *
    9  *  This library is free software. It comes without any warranty, to
    10  *  the extent permitted by applicable law. You can redistribute it
    11  *  and/or modify it under the terms of the Do What The Fuck You Want
    12  *  To Public License, Version 2, as published by Sam Hocevar. See
    13  *  http://sam.zoy.org/wtfpl/COPYING for more details.
    14  */
    15 
    16 /*
    17  * color.c: color parsing functions
    18  */
    19 
    20 #include "config.h"
    21 #include "common.h"
    22 
    231/*
    242 *  libpipi       Pathetic image processing interface library
     
    4119
    4220#include "config.h"
    43 #include "common.h"
    4421
    4522#include <stdio.h>
    4623#include <stdlib.h>
    4724#include <stdarg.h>
    48 #include <stdint.h>
    4925#include <string.h>
    5026
  • libpipi/trunk/pipi/combine/mean.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include "pipi.h"
  • libpipi/trunk/pipi/combine/minmax.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include "pipi.h"
  • libpipi/trunk/pipi/combine/mulscreen.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include "pipi.h"
  • libpipi/trunk/pipi/combine/rgb.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include "pipi.h"
  • libpipi/trunk/pipi/combine/subadd.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <math.h>
  • libpipi/trunk/pipi/context.c

    r2857 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdio.h>
  • libpipi/trunk/pipi/dither.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdio.h>
  • libpipi/trunk/pipi/dither/dbs.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <string.h>
  • libpipi/trunk/pipi/dither/ediff.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include "pipi.h"
  • libpipi/trunk/pipi/dither/ordered.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdlib.h>
  • libpipi/trunk/pipi/dither/ostromoukhov.c

    r2844 r2902  
    2626
    2727#include "config.h"
    28 #include "common.h"
    2928
    3029#include "pipi.h"
  • libpipi/trunk/pipi/dither/random.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include "pipi.h"
  • libpipi/trunk/pipi/filter/autocontrast.c

    r2844 r2902  
    2020
    2121#include "config.h"
    22 #include "common.h"
    2322
    2423#include <stdlib.h>
  • libpipi/trunk/pipi/filter/blur.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdlib.h>
  • libpipi/trunk/pipi/filter/color.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdlib.h>
  • libpipi/trunk/pipi/filter/convolution.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdlib.h>
  • libpipi/trunk/pipi/filter/dilate.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdlib.h>
  • libpipi/trunk/pipi/filter/median.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdlib.h>
  • libpipi/trunk/pipi/filter/transform.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdlib.h>
  • libpipi/trunk/pipi/histogram/histogram.c

    r2844 r2902  
    1919
    2020#include "config.h"
    21 #include "common.h"
    2221
    2322#include <stdio.h>
  • libpipi/trunk/pipi/measure.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <math.h>
  • libpipi/trunk/pipi/paint/bezier.c

    r2844 r2902  
    1919
    2020#include "config.h"
    21 #include "common.h"
    2221
    2322#include <stdio.h>
  • libpipi/trunk/pipi/paint/floodfill.c

    r2844 r2902  
    1919
    2020#include "config.h"
    21 #include "common.h"
    2221
    2322#include <stdlib.h>
  • libpipi/trunk/pipi/paint/line.c

    r2844 r2902  
    1919
    2020#include "config.h"
    21 #include "common.h"
    2221
    2322#include <stdio.h>
  • libpipi/trunk/pipi/paint/tile.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    22 #include <strings.h>
     21#include <string.h>
    2322
    2423#include "pipi.h"
  • libpipi/trunk/pipi/pipi.c

    r2865 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdio.h>
  • libpipi/trunk/pipi/pipi.h

    r2865 r2902  
    2121#define __PIPI_H__
    2222
    23 #include <stdio.h>
    24 #include <string.h>
    25 #include <stdint.h>
     23#include <pipi_types.h>
     24
     25#undef __extern
     26#if defined(_DOXYGEN_SKIP_ME)
     27#elif defined(_WIN32) && defined(__LIBPIPI__)
     28#   define __extern extern __declspec(dllexport)
     29#else
     30#   define __extern extern
     31#endif
    2632
    2733#ifdef __cplusplus
     
    113119pipi_command_t;
    114120
    115 extern pipi_pixel_t *pipi_get_color_from_string(const char* s);
     121__extern pipi_pixel_t *pipi_get_color_from_string(const char* s);
    116122
    117123char const * pipi_get_version(void);
    118124
    119 extern pipi_context_t *pipi_create_context(void);
    120 extern void pipi_destroy_context(pipi_context_t *);
    121 extern pipi_command_t const *pipi_get_command_list(void);
    122 extern int pipi_command(pipi_context_t *, char const *, ...);
    123 
    124 extern pipi_image_t *pipi_load(char const *);
    125 extern pipi_image_t *pipi_load_stock(char const *);
    126 extern pipi_image_t *pipi_new(int, int);
    127 extern pipi_image_t *pipi_copy(pipi_image_t *);
    128 extern void pipi_free(pipi_image_t *);
    129 extern int pipi_save(pipi_image_t *, const char *);
    130 
    131 extern void pipi_set_gamma(double);
    132 extern pipi_pixels_t *pipi_getpixels(pipi_image_t *, pipi_format_t);
    133 extern int pipi_get_image_width(pipi_image_t *img);
    134 extern int pipi_get_image_height(pipi_image_t *img);
    135 extern int pipi_get_image_pitch(pipi_image_t *img);
    136 extern int pipi_get_image_last_modified(pipi_image_t *img);
    137 extern const char* pipi_get_format_name(int format);
    138 
    139 
    140 extern double pipi_measure_msd(pipi_image_t *, pipi_image_t *);
    141 extern double pipi_measure_rmsd(pipi_image_t *, pipi_image_t *);
    142 
    143 extern pipi_image_t *pipi_resize(pipi_image_t *, int, int);
    144 
    145 extern pipi_image_t *pipi_render_random(int, int);
    146 extern pipi_image_t *pipi_render_bayer(int, int);
    147 extern pipi_image_t *pipi_render_halftone(int, int);
    148 
    149 extern pipi_image_t *pipi_rgb(pipi_image_t *, pipi_image_t *, pipi_image_t *);
    150 extern pipi_image_t *pipi_red(pipi_image_t *);
    151 extern pipi_image_t *pipi_green(pipi_image_t *);
    152 extern pipi_image_t *pipi_blue(pipi_image_t *);
    153 extern pipi_image_t *pipi_mean(pipi_image_t *, pipi_image_t *);
    154 extern pipi_image_t *pipi_min(pipi_image_t *, pipi_image_t *);
    155 extern pipi_image_t *pipi_max(pipi_image_t *, pipi_image_t *);
    156 extern pipi_image_t *pipi_add(pipi_image_t *, pipi_image_t *);
    157 extern pipi_image_t *pipi_sub(pipi_image_t *, pipi_image_t *);
    158 extern pipi_image_t *pipi_difference(pipi_image_t *, pipi_image_t *);
    159 extern pipi_image_t *pipi_multiply(pipi_image_t *, pipi_image_t *);
    160 extern pipi_image_t *pipi_divide(pipi_image_t *, pipi_image_t *);
    161 extern pipi_image_t *pipi_screen(pipi_image_t *, pipi_image_t *);
    162 extern pipi_image_t *pipi_overlay(pipi_image_t *, pipi_image_t *);
    163 
    164 extern pipi_image_t *pipi_convolution(pipi_image_t *, int, int, double[]);
    165 extern pipi_image_t *pipi_gaussian_blur(pipi_image_t *, float);
    166 extern pipi_image_t *pipi_gaussian_blur_ext(pipi_image_t *,
     125__extern pipi_context_t *pipi_create_context(void);
     126__extern void pipi_destroy_context(pipi_context_t *);
     127__extern pipi_command_t const *pipi_get_command_list(void);
     128__extern int pipi_command(pipi_context_t *, char const *, ...);
     129
     130__extern pipi_image_t *pipi_load(char const *);
     131__extern pipi_image_t *pipi_load_stock(char const *);
     132__extern pipi_image_t *pipi_new(int, int);
     133__extern pipi_image_t *pipi_copy(pipi_image_t *);
     134__extern void pipi_free(pipi_image_t *);
     135__extern int pipi_save(pipi_image_t *, const char *);
     136
     137__extern void pipi_set_gamma(double);
     138__extern pipi_pixels_t *pipi_getpixels(pipi_image_t *, pipi_format_t);
     139__extern int pipi_get_image_width(pipi_image_t *img);
     140__extern int pipi_get_image_height(pipi_image_t *img);
     141__extern int pipi_get_image_pitch(pipi_image_t *img);
     142__extern int pipi_get_image_last_modified(pipi_image_t *img);
     143__extern const char* pipi_get_format_name(int format);
     144
     145
     146__extern double pipi_measure_msd(pipi_image_t *, pipi_image_t *);
     147__extern double pipi_measure_rmsd(pipi_image_t *, pipi_image_t *);
     148
     149__extern pipi_image_t *pipi_resize(pipi_image_t *, int, int);
     150
     151__extern pipi_image_t *pipi_render_random(int, int);
     152__extern pipi_image_t *pipi_render_bayer(int, int);
     153__extern pipi_image_t *pipi_render_halftone(int, int);
     154
     155__extern pipi_image_t *pipi_rgb(pipi_image_t *, pipi_image_t *, pipi_image_t *);
     156__extern pipi_image_t *pipi_red(pipi_image_t *);
     157__extern pipi_image_t *pipi_green(pipi_image_t *);
     158__extern pipi_image_t *pipi_blue(pipi_image_t *);
     159__extern pipi_image_t *pipi_mean(pipi_image_t *, pipi_image_t *);
     160__extern pipi_image_t *pipi_min(pipi_image_t *, pipi_image_t *);
     161__extern pipi_image_t *pipi_max(pipi_image_t *, pipi_image_t *);
     162__extern pipi_image_t *pipi_add(pipi_image_t *, pipi_image_t *);
     163__extern pipi_image_t *pipi_sub(pipi_image_t *, pipi_image_t *);
     164__extern pipi_image_t *pipi_difference(pipi_image_t *, pipi_image_t *);
     165__extern pipi_image_t *pipi_multiply(pipi_image_t *, pipi_image_t *);
     166__extern pipi_image_t *pipi_divide(pipi_image_t *, pipi_image_t *);
     167__extern pipi_image_t *pipi_screen(pipi_image_t *, pipi_image_t *);
     168__extern pipi_image_t *pipi_overlay(pipi_image_t *, pipi_image_t *);
     169
     170__extern pipi_image_t *pipi_convolution(pipi_image_t *, int, int, double[]);
     171__extern pipi_image_t *pipi_gaussian_blur(pipi_image_t *, float);
     172__extern pipi_image_t *pipi_gaussian_blur_ext(pipi_image_t *,
    167173                                            float, float, float, float, float);
    168 extern pipi_image_t *pipi_box_blur(pipi_image_t *, int);
    169 extern pipi_image_t *pipi_box_blur_ext(pipi_image_t *, int, int);
    170 extern pipi_image_t *pipi_brightness(pipi_image_t *, double);
    171 extern pipi_image_t *pipi_contrast(pipi_image_t *, double);
    172 extern pipi_image_t *pipi_autocontrast(pipi_image_t *);
    173 extern pipi_image_t *pipi_invert(pipi_image_t *);
    174 extern pipi_image_t *pipi_threshold(pipi_image_t *, double);
    175 extern pipi_image_t *pipi_hflip(pipi_image_t *);
    176 extern pipi_image_t *pipi_vflip(pipi_image_t *);
    177 extern pipi_image_t *pipi_rotate90(pipi_image_t *);
    178 extern pipi_image_t *pipi_rotate180(pipi_image_t *);
    179 extern pipi_image_t *pipi_rotate270(pipi_image_t *);
    180 extern pipi_image_t *pipi_median(pipi_image_t *, int);
    181 extern pipi_image_t *pipi_median_ext(pipi_image_t *, int, int);
    182 extern pipi_image_t *pipi_dilate(pipi_image_t *);
    183 extern pipi_image_t *pipi_erode(pipi_image_t *);
    184 
    185 extern pipi_image_t *pipi_order(pipi_image_t *);
    186 
    187 extern pipi_image_t *pipi_tile(pipi_image_t *, int, int);
    188 extern int pipi_flood_fill(pipi_image_t *,
     174__extern pipi_image_t *pipi_box_blur(pipi_image_t *, int);
     175__extern pipi_image_t *pipi_box_blur_ext(pipi_image_t *, int, int);
     176__extern pipi_image_t *pipi_brightness(pipi_image_t *, double);
     177__extern pipi_image_t *pipi_contrast(pipi_image_t *, double);
     178__extern pipi_image_t *pipi_autocontrast(pipi_image_t *);
     179__extern pipi_image_t *pipi_invert(pipi_image_t *);
     180__extern pipi_image_t *pipi_threshold(pipi_image_t *, double);
     181__extern pipi_image_t *pipi_hflip(pipi_image_t *);
     182__extern pipi_image_t *pipi_vflip(pipi_image_t *);
     183__extern pipi_image_t *pipi_rotate90(pipi_image_t *);
     184__extern pipi_image_t *pipi_rotate180(pipi_image_t *);
     185__extern pipi_image_t *pipi_rotate270(pipi_image_t *);
     186__extern pipi_image_t *pipi_median(pipi_image_t *, int);
     187__extern pipi_image_t *pipi_median_ext(pipi_image_t *, int, int);
     188__extern pipi_image_t *pipi_dilate(pipi_image_t *);
     189__extern pipi_image_t *pipi_erode(pipi_image_t *);
     190
     191__extern pipi_image_t *pipi_order(pipi_image_t *);
     192
     193__extern pipi_image_t *pipi_tile(pipi_image_t *, int, int);
     194__extern int pipi_flood_fill(pipi_image_t *,
    189195                           int, int, float, float, float, float);
    190 extern int pipi_draw_line(pipi_image_t *, int, int, int, int, uint32_t, int);
    191 extern int pipi_draw_polyline(pipi_image_t *, int const[], int const[],
     196__extern int pipi_draw_line(pipi_image_t *, int, int, int, int, uint32_t, int);
     197__extern int pipi_draw_polyline(pipi_image_t *, int const[], int const[],
    192198                              int , uint32_t, int);
    193 extern int pipi_draw_bezier4(pipi_image_t *,int, int, int, int, int, int, int, int, uint32_t, int, int);
    194 extern pipi_image_t *pipi_reduce(pipi_image_t *, int, double const *);
    195 
    196 extern pipi_image_t *pipi_dither_ediff(pipi_image_t *, pipi_image_t *,
     199__extern int pipi_draw_bezier4(pipi_image_t *,int, int, int, int, int, int, int, int, uint32_t, int, int);
     200__extern pipi_image_t *pipi_reduce(pipi_image_t *, int, double const *);
     201
     202__extern pipi_image_t *pipi_dither_ediff(pipi_image_t *, pipi_image_t *,
    197203                                       pipi_scan_t);
    198 extern pipi_image_t *pipi_dither_ordered(pipi_image_t *, pipi_image_t *);
    199 extern pipi_image_t *pipi_dither_ordered_ext(pipi_image_t *, pipi_image_t *,
     204__extern pipi_image_t *pipi_dither_ordered(pipi_image_t *, pipi_image_t *);
     205__extern pipi_image_t *pipi_dither_ordered_ext(pipi_image_t *, pipi_image_t *,
    200206                                             double, double);
    201 extern pipi_image_t *pipi_dither_halftone(pipi_image_t *, double, double);
    202 extern pipi_image_t *pipi_dither_random(pipi_image_t *);
    203 extern pipi_image_t *pipi_dither_ostromoukhov(pipi_image_t *, pipi_scan_t);
    204 extern pipi_image_t *pipi_dither_dbs(pipi_image_t *);
    205 extern void pipi_dither_24to16(pipi_image_t *);
    206 
    207 extern pipi_histogram_t* pipi_new_histogram(void);
    208 extern int pipi_get_image_histogram(pipi_image_t *, pipi_histogram_t *, int);
    209 extern int pipi_free_histogram(pipi_histogram_t*);
    210 extern int pipi_render_histogram(pipi_image_t *, pipi_histogram_t*, int);
    211 
     207__extern pipi_image_t *pipi_dither_halftone(pipi_image_t *, double, double);
     208__extern pipi_image_t *pipi_dither_random(pipi_image_t *);
     209__extern pipi_image_t *pipi_dither_ostromoukhov(pipi_image_t *, pipi_scan_t);
     210__extern pipi_image_t *pipi_dither_dbs(pipi_image_t *);
     211__extern void pipi_dither_24to16(pipi_image_t *);
     212
     213__extern pipi_histogram_t* pipi_new_histogram(void);
     214__extern int pipi_get_image_histogram(pipi_image_t *, pipi_histogram_t *, int);
     215__extern int pipi_free_histogram(pipi_histogram_t*);
     216__extern int pipi_render_histogram(pipi_image_t *, pipi_histogram_t*, int);
    212217
    213218#ifdef __cplusplus
  • libpipi/trunk/pipi/pipi_internals.h

    r2897 r2902  
    1919#ifndef __PIPI_INTERNALS_H__
    2020#define __PIPI_INTERNALS_H__
     21
     22#include "pipi_stubs.h"
    2123
    2224#define SET_FLAG_GRAY 0x00000001
  • libpipi/trunk/pipi/pixels.c

    r2846 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdio.h>
  • libpipi/trunk/pipi/quantize/reduce.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdio.h>
  • libpipi/trunk/pipi/render/noise.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdio.h>
  • libpipi/trunk/pipi/render/screen.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdio.h>
  • libpipi/trunk/pipi/resize.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdlib.h>
  • libpipi/trunk/pipi/stock.c

    r2844 r2902  
    1818
    1919#include "config.h"
    20 #include "common.h"
    2120
    2221#include <stdio.h>
  • libpipi/trunk/src/pipi.c

    r2857 r2902  
    11#include "config.h"
    2 #include "common.h"
    32
    43#include <stdio.h>
  • libpipi/trunk/test/u8tof32tou8.c

    r2844 r2902  
    1919
    2020#include "config.h"
    21 #include "common.h"
    2221
    2322#include <stdio.h>
  • libpipi/trunk/win32/Makefile.am

    r2899 r2902  
    11# $Id$
    22
    3 EXTRA_DIST = config.h
     3EXTRA_DIST = config.h pipi_types.h
    44
Note: See TracChangeset for help on using the changeset viewer.