pub unsafe extern "C" fn ff_thread_await_progress(
f: *mut ThreadFrame,
progress: c_int,
field: c_int,
)
Expand description
Wait for earlier decoding threads to finish reference pictures. Call this before accessing some part of a picture, with a given value for progress, and it will return after the responsible decoding thread calls ff_thread_report_progress() with the same or higher value for progress.
@param f The picture being referenced. @param progress Value, in arbitrary units, to wait for. @param field The field being referenced, for field-picture codecs. 0 for top field or frame pictures, 1 for bottom field.