Function rsmpeg::ffi::av_find_nearest_q_idx [−][src]
pub unsafe extern "C" fn av_find_nearest_q_idx(
q: AVRational,
q_list: *const AVRational
) -> i32
Expand description
Find the value in a list of rationals nearest a given reference rational.
@param q Reference rational
@param q_list Array of rationals terminated by {0, 0}
@return Index of the nearest value found in the array