src/ffmpeg/libavutil/mathmatics

Consts

INFINITY = 0.0
M_E = 2.718281828459045
M_LN2 = 0.6931471805599453
M_LN10 = 2.302585092994046
M_LOG2_10 = 3.321928094887362
M_PHI = 1.618033988749895
M_PI = 3.141592653589793
M_PI_2 = 1.5707963267948966
M_SQRT1_2 = 0.7071067811865476
M_SQRT2 = 1.4142135623730951
NAN = 0.0

Procs

proc av_add_stable(ts_tb: AVRational; ts: int64; inc_tb: AVRational; inc: int64): int64 {.
    importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_compare_mod(a, b, mod: uint64): int64 {.importc, cdecl, ...raises: [],
    tags: [], forbids: [].}
proc av_compare_ts(ts_a: int64; tb_a: AVRational; ts_b: int64; tb_b: AVRational): cint {.
    importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_gcd(a, b: int64): int64 {.importc, cdecl, ...raises: [], tags: [],
                                  forbids: [].}
proc av_rescale(a, b, c: int64): int64 {.importc, cdecl, ...raises: [], tags: [],
    forbids: [].}
proc av_rescale_delta(in_tb: AVRational; in_ts: int64; fs_tb: AVRational;
                      duration: cint; last: ptr int64; out_tb: AVRational): int64 {.
    importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_rescale_q(a: int64; bq, cq: AVRational): int64 {.importc, cdecl,
    ...raises: [], tags: [], forbids: [].}
proc av_rescale_q_rnd(a: int64; bq, cq: AVRational; rnd: AVRounding): int64 {.
    importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_rescale_rnd(a, b, c: int64; rnd: AVRounding): int64 {.importc, cdecl,
    ...raises: [], tags: [], forbids: [].}