Lines Matching refs:field
610 void ff_thread_report_progress(ThreadFrame *f, int n, int field)
616 atomic_load_explicit(&progress[field], memory_order_relaxed) >= n)
619 p = f->owner[field]->internal->thread_ctx;
622 av_log(f->owner[field], AV_LOG_DEBUG,
623 "%p finished %d field %d\n", progress, n, field);
627 atomic_store_explicit(&progress[field], n, memory_order_release);
633 void ff_thread_await_progress(ThreadFrame *f, int n, int field)
639 atomic_load_explicit(&progress[field], memory_order_acquire) >= n)
642 p = f->owner[field]->internal->thread_ctx;
645 av_log(f->owner[field], AV_LOG_DEBUG,
646 "thread awaiting %d field %d from %p\n", n, field, progress);
649 while (atomic_load_explicit(&progress[field], memory_order_relaxed) < n)