Lines Matching refs:tileSize
44 const dng_point_real64 &tileSize) { in num_tiles_in_area() argument
46 return dng_point(static_cast<int32>((areaSize.v + tileSize.v - 1) / tileSize.v), in num_tiles_in_area()
47 static_cast<int32>((areaSize.h + tileSize.h - 1) / tileSize.h)); in num_tiles_in_area()
74 const dng_point& tileSize) { in compute_task_areas() argument
76 const dng_point tilesInArea = num_tiles_in_area(area.Size(), tileSize); in compute_task_areas()
78 const dng_point taskAreaSize = {tilesPerTask.v * tileSize.v, in compute_task_areas()
79 tilesPerTask.h * tileSize.h}; in compute_task_areas()
83 taskArea.t = area.t + v * tileSize.v; in compute_task_areas()
84 taskArea.l = area.l + h * tileSize.h; in compute_task_areas()
107 const dng_point tileSize(task.FindTileSize(area)); in PerformAreaTask() local
108 const std::vector<dng_rect> taskAreas = compute_task_areas(maxTasks, area, tileSize); in PerformAreaTask()
113 task.Start(numTasks, tileSize, &Allocator(), Sniffer()); in PerformAreaTask()
115 taskGroup.add([&mutex, &exceptions, &task, this, taskIndex, taskAreas, tileSize] { in PerformAreaTask()
117 … task.ProcessOnThread(taskIndex, taskAreas[taskIndex], tileSize, this->Sniffer()); in PerformAreaTask()