Home
last modified time | relevance | path

Searched refs:remaining_threads (Results 1 – 1 of 1) sorted by relevance

/external/libgav1/libgav1/src/
Dthreading_strategy.cc189 int remaining_threads = thread_count - frame_threads; in InitializeThreadPoolsForFrameParallel() local
190 if (remaining_threads == 0) return true; in InitializeThreadPoolsForFrameParallel()
191 int threads_per_frame = remaining_threads / frame_threads; in InitializeThreadPoolsForFrameParallel()
192 const int extra_threads = remaining_threads % frame_threads; in InitializeThreadPoolsForFrameParallel()
196 for (int i = 0; i < frame_threads && remaining_threads > 0; ++i) { in InitializeThreadPoolsForFrameParallel()
211 remaining_threads -= current_frame_thread_count; in InitializeThreadPoolsForFrameParallel()