#include <AH/Settings/Warnings.hpp>
#include <AH/STL/type_traits>
#include <limits.h>
#include <stddef.h>
Go to the source code of this file.
|
| template<size_t Bits_out, size_t Bits_in, class T_out , class T_in > |
| std::enable_if_t<(Bits_out > 2 *Bits_in), T_out > | AH::increaseBitDepthImpl (T_in in) |
| |
| template<size_t Bits_out, size_t Bits_in, class T_out , class T_in > |
| std::enable_if_t<(Bits_out<=2 *Bits_in), T_out > | AH::increaseBitDepthImpl (T_in in) |
| |
| template<size_t Bits_out, size_t Bits_in, class T_out , class T_in > |
| T_out | AH::increaseBitDepth (T_in in) |
| | Increase the bit depth of the given value from Bits_in bits wide to Bits_out bits wide, evenly distributing the error across the entire range, such that the error for each element is between -0.5 and +0.5. More...
|
| |
|
| template<size_t Bits_out, size_t Bits_in, class T_out , class T_in > |
| std::enable_if_t<(Bits_out<=2 *Bits_in), T_out > | AH::increaseBitDepthImpl (T_in in) |
| |