mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
SDRdaemonFEC support. removed useless data and method
This commit is contained in:
parent
110d7cae46
commit
ddb65d2e70
@ -50,17 +50,6 @@ SDRdaemonFECBuffer::~SDRdaemonFECBuffer()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SDRdaemonFECBuffer::initDecoderSlotsAddresses()
|
|
||||||
{
|
|
||||||
for (int i = 0; i < nbDecoderSlots; i++)
|
|
||||||
{
|
|
||||||
for (int j = 0; j < m_nbOriginalBlocks - 1; j++)
|
|
||||||
{
|
|
||||||
m_decoderSlots[i].m_originalBlockPtrs[j] = &m_frames[i].m_blocks[j];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void SDRdaemonFECBuffer::initDecodeAllSlots()
|
void SDRdaemonFECBuffer::initDecodeAllSlots()
|
||||||
{
|
{
|
||||||
for (int i = 0; i < nbDecoderSlots; i++)
|
for (int i = 0; i < nbDecoderSlots; i++)
|
||||||
|
@ -146,7 +146,6 @@ private:
|
|||||||
struct DecoderSlot
|
struct DecoderSlot
|
||||||
{
|
{
|
||||||
ProtectedBlockZero m_blockZero;
|
ProtectedBlockZero m_blockZero;
|
||||||
ProtectedBlock* m_originalBlockPtrs[m_nbOriginalBlocks];
|
|
||||||
ProtectedBlock m_recoveryBlocks[m_nbOriginalBlocks]; // max size
|
ProtectedBlock m_recoveryBlocks[m_nbOriginalBlocks]; // max size
|
||||||
cm256_block m_cm256DescriptorBlocks[m_nbOriginalBlocks];
|
cm256_block m_cm256DescriptorBlocks[m_nbOriginalBlocks];
|
||||||
int m_blockCount; //!< total number of blocks received for this frame
|
int m_blockCount; //!< total number of blocks received for this frame
|
||||||
@ -175,7 +174,6 @@ private:
|
|||||||
|
|
||||||
float m_bufferLenSec;
|
float m_bufferLenSec;
|
||||||
|
|
||||||
void initDecoderSlotsAddresses();
|
|
||||||
void initDecodeAllSlots();
|
void initDecodeAllSlots();
|
||||||
void initReadIndex();
|
void initReadIndex();
|
||||||
void checkSlotData(int slotIndex);
|
void checkSlotData(int slotIndex);
|
||||||
|
Loading…
Reference in New Issue
Block a user