av_rescale_rnd

Rescale a 64-bit integer with specified rounding.

The operation is mathematically equivalent to a * b / c, but writing that directly can overflow, and does not support different rounding methods.

@see av_rescale(), av_rescale_q(), av_rescale_q_rnd()

extern (C) @nogc nothrow
long
av_rescale_rnd
(
long a
,
long b
,
long c
,)

Meta