1
/* The GIMP -- an image manipulation program
2
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
4
* pixel_processor.h: Copyright (C) 1999 Jay Cox <jaycox@earthlink.net>
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21
#ifndef __PIXEL_PROCESSOR_H__
22
#define __PIXEL_PROCESSOR_H__
25
typedef struct _PixelProcessor PixelProcessor;
28
typedef void (* p_func) (void);
29
typedef gint (* ProgressReportFunc) (gpointer ,
36
void pixel_regions_process_parallel (p_func f,
40
PixelProcessor * pixel_process_progress (p_func f,
42
ProgressReportFunc progress_func,
43
gpointer progress_data,
47
void pixel_processor_free (PixelProcessor *pp);
48
void pixel_processor_stop (PixelProcessor *pp);
49
PixelProcessor * pixel_processor_cont (PixelProcessor *pp);
52
#endif /* __PIXEL_PROCESSOR_H__ */