#include <PcmDither.hxx>
|
| constexpr | PcmDither () |
| |
| template<typename ST , unsigned SBITS, unsigned DBITS> |
| ST | DitherShift (ST sample) |
| | Shift the given sample by #SBITS-#DBITS to the right, and apply dithering. More...
|
| |
| void | Dither24To16 (int16_t *dest, const int32_t *src, const int32_t *src_end) |
| |
| void | Dither32To16 (int16_t *dest, const int32_t *src, const int32_t *src_end) |
| |
Definition at line 27 of file PcmDither.hxx.
◆ PcmDither()
| constexpr PcmDither::PcmDither |
( |
| ) |
|
|
inline |
◆ Dither24To16()
| void PcmDither::Dither24To16 |
( |
int16_t * |
dest, |
|
|
const int32_t * |
src, |
|
|
const int32_t * |
src_end |
|
) |
| |
◆ Dither32To16()
| void PcmDither::Dither32To16 |
( |
int16_t * |
dest, |
|
|
const int32_t * |
src, |
|
|
const int32_t * |
src_end |
|
) |
| |
◆ DitherShift()
template<typename ST , unsigned SBITS, unsigned DBITS>
| ST PcmDither::DitherShift |
( |
ST |
sample | ) |
|
Shift the given sample by #SBITS-#DBITS to the right, and apply dithering.
- Template Parameters
-
| ST | the input sample type |
| SBITS | the input bit width |
| DBITS | the output bit width |
- Parameters
-
| sample | the input sample value |
The documentation for this class was generated from the following file: