Unpack one or two 2-bit samples per byte from an array of bytes.
More...
#include <TwoBit1or2.h>
Inherits dsp::TwoBit1or2.
|
template<class Iterator > |
void | prepare (Iterator &input, unsigned ndat) |
|
template<class Iterator > |
void | unpack (const Iterator &input, unsigned ndat, float *output, unsigned output_incr, unsigned &_nlow) |
|
|
static const unsigned | samples_per_byte = N |
|
static const unsigned | lookup_block_size = 4 |
|
template<unsigned N, class Mask>
class dsp::TwoBit< N, Mask >
Unpack one or two 2-bit samples per byte from an array of bytes.
- Parameters
-
N | number of samples per byte |
Mask | delivers the samples |
The documentation for this class was generated from the following file: