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. If the result is not representable then INT64_MIN is returned.
@see av_rescale(), av_rescale_q(), av_rescale_q_rnd()
See Implementation
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. If the result is not representable then INT64_MIN is returned.
@see av_rescale(), av_rescale_q(), av_rescale_q_rnd()