av_rescale_q

Rescale a 64-bit integer by 2 rational numbers.

The operation is mathematically equivalent to a * bq / cq.

This function is equivalent to av_rescale_q_rnd() with #AV_ROUND_NEAR_INF.

@see av_rescale(), av_rescale_rnd(), av_rescale_q_rnd()

extern (C) @nogc nothrow
long
av_rescale_q

Meta