MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / ff_thread_progress_reset

Function ff_thread_progress_reset

libavcodec/threadprogress.h:72–75  ·  view source on GitHub ↗

* Reset the ::ThreadProgress.progress counter; must only be called * if the ThreadProgress is not in use in any way (e.g. no thread * may wait on it via ff_thread_progress_await()). */

Source from the content-addressed store, hash-verified

70 * may wait on it via ff_thread_progress_await()).
71 */
72static inline void ff_thread_progress_reset(ThreadProgress *pro)
73{
74 atomic_init(&pro->progress, pro->init ? -1 : INT_MAX);
75}
76
77/**
78 * This function is a no-op in no-op mode; otherwise it notifies

Callers 5

progress_initFunction · 0.85
mpv_pic_resetFunction · 0.85
progress_pool_reset_cbFunction · 0.85
wpp_progress_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected