![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|

Go to the source code of this file.
Functions | |
| long long | gcd (long long a, long long b) |
| bool | is_power_of_two (unsigned long long x) |
| long long | lcm (long long a, long long b) |
| unsigned long long | next_power_of_two (unsigned long long x) |
Definition in file math.h.
| long long gcd | ( | long long | a, |
| long long | b ) |
Definition at line 42 of file math.c.
References gcd().
Referenced by gcd(), and lcm().

| bool is_power_of_two | ( | unsigned long long | x | ) |
Definition at line 69 of file math.c.
Referenced by device_state::init().
| long long lcm | ( | long long | a, |
| long long | b ) |
Definition at line 64 of file math.c.
References gcd().
Referenced by get_audio().

| unsigned long long next_power_of_two | ( | unsigned long long | x | ) |
| 0 | on overflow (next power of two is ULLONG_MAX + 1) |
Definition at line 79 of file math.c.
Referenced by display_decklink_get_property().