Function
Geglparallel_distribute_area
Declaration [src]
void
gegl_parallel_distribute_area (
const GeglRectangle* area,
gdouble thread_cost,
GeglSplitStrategy split_strategy,
GeglParallelDistributeAreaFunc func,
gpointer user_data
)
Description [src]
Distributes the processing of a planar data-structure across multiple threads, by calling the given function with different sub-areas on different threads.
Parameters
area-
Type:
GeglRectangleThe area to process.
The data is owned by the caller of the function. thread_cost-
Type:
gdoubleThe cost of using each additional thread, relative to the cost of processing a single data element.
split_strategy-
Type:
GeglSplitStrategyThe strategy to use for dividing the area.
func-
Type:
GeglParallelDistributeAreaFuncThe function to call.
user_data-
Type:
gpointerUser data to pass to the function.
The argument can be NULL.The data is owned by the caller of the function.