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 <fcdprothread.h>
Inherits QThread.
Public Member Functions | |
FCDProThread (SampleSinkFifo *sampleFifo, AudioFifo *fcdFIFO, QObject *parent=nullptr) | |
~FCDProThread () | |
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< Pro >::convBufSize *2] |
SampleVector | m_convertBuffer |
SampleSinkFifo * | m_sampleFifo |
Decimators< qint32, qint16, SDR_RX_SAMP_SZ, 16 > | m_decimators |
Definition at line 31 of file fcdprothread.h.
FCDProThread::FCDProThread | ( | SampleSinkFifo * | sampleFifo, |
AudioFifo * | fcdFIFO, | ||
QObject * | parent = nullptr |
||
) |
Definition at line 30 of file fcdprothread.cpp.
FCDProThread::~FCDProThread | ( | ) |
Definition at line 42 of file fcdprothread.cpp.
|
private |
Definition at line 76 of file fcdprothread.cpp.
References m_running, and work().
void FCDProThread::setFcPos | ( | int | fcPos | ) |
Definition at line 71 of file fcdprothread.cpp.
References m_fcPos.
Referenced by FCDProInput::applySettings().
void FCDProThread::setLog2Decimation | ( | unsigned int | log2_decim | ) |
Definition at line 66 of file fcdprothread.cpp.
References m_log2Decim.
Referenced by FCDProInput::applySettings().
void FCDProThread::startWork | ( | ) |
Definition at line 46 of file fcdprothread.cpp.
References m_running, m_startWaiter, and m_startWaitMutex.
Referenced by FCDProInput::start().
void FCDProThread::stopWork | ( | ) |
Definition at line 60 of file fcdprothread.cpp.
References m_running.
Referenced by FCDProInput::stop().
|
private |
Definition at line 91 of file fcdprothread.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 52 of file fcdprothread.h.
Referenced by work().
|
private |
Definition at line 53 of file fcdprothread.h.
Referenced by work().
|
private |
Definition at line 55 of file fcdprothread.h.
Referenced by work().
|
private |
Definition at line 44 of file fcdprothread.h.
Referenced by work().
|
private |
Definition at line 50 of file fcdprothread.h.
Referenced by setFcPos(), and work().
|
private |
Definition at line 49 of file fcdprothread.h.
Referenced by setLog2Decimation(), and work().
|
private |
Definition at line 48 of file fcdprothread.h.
Referenced by run(), startWork(), and stopWork().
|
private |
Definition at line 54 of file fcdprothread.h.
Referenced by work().
|
private |
Definition at line 47 of file fcdprothread.h.
Referenced by startWork().
|
private |
Definition at line 46 of file fcdprothread.h.
Referenced by startWork().