AVRounding

@addtogroup lavu_math @{

Values

ValueMeaning
AV_ROUND_ZERO0

< Round toward zero.

AV_ROUND_INF1

< Round away from zero.

AV_ROUND_DOWN2

< Round toward -infinity.

AV_ROUND_UP3

< Round toward +infinity.

AV_ROUND_NEAR_INF5

< Round to nearest and halfway cases away from zero.

AV_ROUND_PASS_MINMAX8192

< Flag to pass INT64_MIN/MAX through instead of rescaling, this avoids special cases for AV_NOPTS_VALUE

Meta