Function rsmpeg::ffi::av_rescale_q_rnd [−][src]
pub unsafe extern "C" fn av_rescale_q_rnd(
a: i64,
bq: AVRational,
cq: AVRational,
rnd: u32
) -> i64
Expand description
Rescale a 64-bit integer by 2 rational numbers with specified rounding.
The operation is mathematically equivalent to a * bq / cq
.
@see av_rescale(), av_rescale_rnd(), av_rescale_q()