29 m_sampleFifo(sampleFifo),
44 qDebug(
"PerseusThread::startWork");
54 qDebug(
"PerseusThread::stopWork");
72 qCritical(
"PerseusThread::run: failed to start Perseus Rx: %s", perseus_errorstr());
76 qDebug(
"PerseusThread::run: start Perseus Rx");
82 rc = perseus_stop_async_input(
m_dev);
85 qCritical(
"PerseusThread::run: failed to stop Perseus Rx: %s", perseus_errorstr());
87 qDebug(
"PerseusThread::run: stopped Perseus Rx");
118 qint32 nbIAndQ = buf_size / 3;
#define PERSEUS_BLOCKSIZE
Decimators< qint32, TripleByteLE< qint64 >, SDR_RX_SAMP_SZ, 24 > m_decimators64
void decimate2_cen(SampleVector::iterator *it, const T *buf, qint32 len)
uint write(const quint8 *data, uint count)
QWaitCondition m_startWaiter
static PerseusThread * m_this
void setLog2Decimation(unsigned int log2_decim)
PerseusThread(perseus_descr *dev, SampleSinkFifo *sampleFifo, QObject *parent=0)
void callback(const uint8_t *buf, qint32 len)
void decimate4_cen(SampleVector::iterator *it, const T *buf, qint32 len)
Decimators< qint32, TripleByteLE< qint32 >, SDR_RX_SAMP_SZ, 24 > m_decimators32
static int rx_callback(void *buf, int buf_size, void *extra)
SampleSinkFifo * m_sampleFifo
#define PERSEUS_NBSAMPLES
qint32 m_buf[2 *PERSEUS_NBSAMPLES]
void decimate1(SampleVector::iterator *it, const T *buf, qint32 len)
SampleVector m_convertBuffer