mf
Media Framework
|
#include <sstream>
#include <typeinfo>
#include <algorithm>
Namespaces | |
mf | |
Functions | |
template<typename T > | |
T * | mf::advance_raw_ptr (T *ptr, std::ptrdiff_t diff) noexcept |
Advance a pointer ptr of any type by diff bytes. More... | |
template<typename T > | |
T | mf::clamp (T value, T minimum, T maximum) |
Clamp value between minimum and maximum value. More... | |
template<typename T > | |
T | mf::gcd (T a, T b) |
Compute greatest common divisor of a and b . More... | |