SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <fcdproplusthread.h>
Inherits QThread.
Public Member Functions | |
FCDProPlusThread (SampleSinkFifo *sampleFifo, AudioFifo *fcdFIFO, QObject *parent=nullptr) | |
~FCDProPlusThread () | |
void | startWork () |
void | stopWork () |
void | setLog2Decimation (unsigned int log2_decim) |
void | setFcPos (int fcPos) |
Private Member Functions | |
void | run () |
void | work (unsigned int n_items) |
Private Attributes | |
AudioFifo * | m_fcdFIFO |
QMutex | m_startWaitMutex |
QWaitCondition | m_startWaiter |
bool | m_running |
unsigned int | m_log2Decim |
int | m_fcPos |
qint16 | m_buf [fcd_traits< ProPlus >::convBufSize *2] |
SampleVector | m_convertBuffer |
SampleSinkFifo * | m_sampleFifo |
Decimators< qint32, qint16, SDR_RX_SAMP_SZ, 16 > | m_decimators |
Definition at line 32 of file fcdproplusthread.h.
FCDProPlusThread::FCDProPlusThread | ( | SampleSinkFifo * | sampleFifo, |
AudioFifo * | fcdFIFO, | ||
QObject * | parent = nullptr |
||
) |
Definition at line 29 of file fcdproplusthread.cpp.
FCDProPlusThread::~FCDProPlusThread | ( | ) |
Definition at line 41 of file fcdproplusthread.cpp.
|
private |
Definition at line 75 of file fcdproplusthread.cpp.
References m_running, and work().
void FCDProPlusThread::setFcPos | ( | int | fcPos | ) |
Definition at line 70 of file fcdproplusthread.cpp.
References m_fcPos.
Referenced by FCDProPlusInput::applySettings().
void FCDProPlusThread::setLog2Decimation | ( | unsigned int | log2_decim | ) |
Definition at line 65 of file fcdproplusthread.cpp.
References m_log2Decim.
Referenced by FCDProPlusInput::applySettings().
void FCDProPlusThread::startWork | ( | ) |
Definition at line 45 of file fcdproplusthread.cpp.
References m_running, m_startWaiter, and m_startWaitMutex.
Referenced by FCDProPlusInput::start().
void FCDProPlusThread::stopWork | ( | ) |
Definition at line 59 of file fcdproplusthread.cpp.
References m_running.
Referenced by FCDProPlusInput::stop().
|
private |
Definition at line 90 of file fcdproplusthread.cpp.
References Decimators< StorageType, T, SdrBits, InputBits >::decimate1(), Decimators< StorageType, T, SdrBits, InputBits >::decimate16_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate16_inf(), Decimators< StorageType, T, SdrBits, InputBits >::decimate16_sup(), Decimators< StorageType, T, SdrBits, InputBits >::decimate2_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate2_inf(), Decimators< StorageType, T, SdrBits, InputBits >::decimate2_sup(), Decimators< StorageType, T, SdrBits, InputBits >::decimate32_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate32_inf(), Decimators< StorageType, T, SdrBits, InputBits >::decimate32_sup(), Decimators< StorageType, T, SdrBits, InputBits >::decimate4_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate4_inf(), Decimators< StorageType, T, SdrBits, InputBits >::decimate4_sup(), Decimators< StorageType, T, SdrBits, InputBits >::decimate64_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate64_inf(), Decimators< StorageType, T, SdrBits, InputBits >::decimate64_sup(), Decimators< StorageType, T, SdrBits, InputBits >::decimate8_cen(), Decimators< StorageType, T, SdrBits, InputBits >::decimate8_inf(), Decimators< StorageType, T, SdrBits, InputBits >::decimate8_sup(), m_buf, m_convertBuffer, m_decimators, m_fcdFIFO, m_fcPos, m_log2Decim, m_sampleFifo, AudioFifo::read(), and SampleSinkFifo::write().
Referenced by run().
|
private |
Definition at line 53 of file fcdproplusthread.h.
Referenced by work().
|
private |
Definition at line 54 of file fcdproplusthread.h.
Referenced by work().
|
private |
Definition at line 56 of file fcdproplusthread.h.
Referenced by work().
|
private |
Definition at line 45 of file fcdproplusthread.h.
Referenced by work().
|
private |
Definition at line 51 of file fcdproplusthread.h.
Referenced by setFcPos(), and work().
|
private |
Definition at line 50 of file fcdproplusthread.h.
Referenced by setLog2Decimation(), and work().
|
private |
Definition at line 49 of file fcdproplusthread.h.
Referenced by run(), startWork(), and stopWork().
|
private |
Definition at line 55 of file fcdproplusthread.h.
Referenced by work().
|
private |
Definition at line 48 of file fcdproplusthread.h.
Referenced by startWork().
|
private |
Definition at line 47 of file fcdproplusthread.h.
Referenced by startWork().