Lines Matching refs:tilesInArea
51 const dng_point& tilesInArea) { in num_tasks_required() argument
52 return ((tilesInArea.v + tilesInTask.v - 1) / tilesInTask.v) * in num_tasks_required()
53 ((tilesInArea.h + tilesInTask.h - 1) / tilesInTask.h); in num_tasks_required()
59 const dng_point &tilesInArea) { in num_tiles_per_task() argument
61 while (num_tasks_required(tilesInTask, tilesInArea) > maxTasks) { in num_tiles_per_task()
62 if (tilesInTask.h < tilesInArea.h) { in num_tiles_per_task()
64 } else if (tilesInTask.v < tilesInArea.v) { in num_tiles_per_task()
76 const dng_point tilesInArea = num_tiles_in_area(area.Size(), tileSize); in compute_task_areas() local
77 const dng_point tilesPerTask = num_tiles_per_task(maxTasks, tilesInArea); in compute_task_areas()
80 for (int v = 0; v < tilesInArea.v; v += tilesPerTask.v) { in compute_task_areas()
81 for (int h = 0; h < tilesInArea.h; h += tilesPerTask.h) { in compute_task_areas()