Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

channel.h

Go to the documentation of this file.
00001 /*
00002  * "$Id: channel.h,v 1.1 2004/09/17 18:38:01 rleigh Exp $"
00003  *
00004  *   libgimpprint header.
00005  *
00006  *   Copyright 1997-2000 Michael Sweet (mike@easysw.com) and
00007  *      Robert Krawitz (rlk@alum.mit.edu)
00008  *
00009  *   This program is free software; you can redistribute it and/or modify it
00010  *   under the terms of the GNU General Public License as published by the Free
00011  *   Software Foundation; either version 2 of the License, or (at your option)
00012  *   any later version.
00013  *
00014  *   This program is distributed in the hope that it will be useful, but
00015  *   WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
00016  *   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00017  *   for more details.
00018  *
00019  *   You should have received a copy of the GNU General Public License
00020  *   along with this program; if not, write to the Free Software
00021  *   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00022  *
00023  * Revision History:
00024  *
00025  *   See ChangeLog
00026  */
00027 
00033 /*
00034  * This file must include only standard C header files.  The core code must
00035  * compile on generic platforms that don't support glib, gimp, gtk, etc.
00036  */
00037 
00038 #ifndef GUTENPRINT_CHANNEL_H
00039 #define GUTENPRINT_CHANNEL_H
00040 
00041 #ifdef __cplusplus
00042 extern "C" {
00043 #endif
00044 
00045 
00046 extern void stp_channel_reset(stp_vars_t *v);
00047 extern void stp_channel_reset_channel(stp_vars_t *v, int channel);
00048 
00049 extern void stp_channel_add(stp_vars_t *v, unsigned channel,
00050                             unsigned subchannel, double value);
00051 
00052 extern void stp_channel_set_density_adjustment(stp_vars_t *v,
00053                                                int color, int subchannel,
00054                                                double adjustment);
00055 extern void stp_channel_set_ink_limit(stp_vars_t *v, double limit);
00056 extern void stp_channel_set_cutoff_adjustment(stp_vars_t *v,
00057                                               int color, int subchannel,
00058                                               double adjustment);
00059 extern void stp_channel_set_black_channel(stp_vars_t *v, int channel);
00060 
00061 extern void stp_channel_initialize(stp_vars_t *v, stp_image_t *image,
00062                                    int input_channel_count);
00063 
00064 extern void stp_channel_convert(const stp_vars_t *v, unsigned *zero_mask);
00065 
00066 extern unsigned short * stp_channel_get_input(const stp_vars_t *v);
00067 
00068 extern unsigned short * stp_channel_get_output(const stp_vars_t *v);
00069 
00070 #ifdef __cplusplus
00071   }
00072 #endif
00073 
00074 #endif /* GUTENPRINT_CHANNEL_H */

Generated on Thu Feb 10 19:29:29 2005 for libgutenprint API Reference by  doxygen 1.4.1