pixel-processor

pixel-processor

Synopsis

#define             GIMP_MAX_NUM_THREADS
void                (*PixelProcessorFunc)               (void);
void                (*PixelProcessorProgressFunc)       (gpointer progress_data,
                                                         gdouble fraction);
void                pixel_processor_init                (gint num_threads);
void                pixel_processor_set_num_threads     (gint num_threads);
void                pixel_processor_exit                (void);
void                pixel_regions_process_parallel      (PixelProcessorFunc func,
                                                         gpointer data,
                                                         gint num_regions,
                                                         ...);
void                pixel_regions_process_parallel_progress
                                                        (PixelProcessorFunc func,
                                                         gpointer data,
                                                         PixelProcessorProgressFunc progress_func,
                                                         gpointer progress_data,
                                                         gint num_regions,
                                                         ...);

Description

Details

GIMP_MAX_NUM_THREADS

#define GIMP_MAX_NUM_THREADS  16


PixelProcessorFunc ()

void                (*PixelProcessorFunc)               (void);


PixelProcessorProgressFunc ()

void                (*PixelProcessorProgressFunc)       (gpointer progress_data,
                                                         gdouble fraction);


pixel_processor_init ()

void                pixel_processor_init                (gint num_threads);


pixel_processor_set_num_threads ()

void                pixel_processor_set_num_threads     (gint num_threads);


pixel_processor_exit ()

void                pixel_processor_exit                (void);


pixel_regions_process_parallel ()

void                pixel_regions_process_parallel      (PixelProcessorFunc func,
                                                         gpointer data,
                                                         gint num_regions,
                                                         ...);


pixel_regions_process_parallel_progress ()

void                pixel_regions_process_parallel_progress
                                                        (PixelProcessorFunc func,
                                                         gpointer data,
                                                         PixelProcessorProgressFunc progress_func,
                                                         gpointer progress_data,
                                                         gint num_regions,
                                                         ...);