dsp::TwoBit< N, Mask > Class Template Reference

Unpack one or two 2-bit samples per byte from an array of bytes. More...

#include <TwoBit1or2.h>

Inherits dsp::TwoBit1or2.

Public Member Functions

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)
 

Public Attributes

Mask mask
 
bool bad
 

Static Public Attributes

static const unsigned samples_per_byte = N
 
static const unsigned lookup_block_size = 4
 

Detailed Description

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
Nnumber of samples per byte
Maskdelivers the samples

The documentation for this class was generated from the following file:

Generated using doxygen 1.8.17