Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
FEC block decoder interface. More...
#include <iblock_decoder.h>
Public Member Functions | |
virtual size_t | max_block_length () const =0 |
Get the maximum number of encoding symbols for the scheme being used. More... | |
virtual bool | begin (size_t sblen, size_t rblen, size_t payload_size)=0 |
Start block. More... | |
virtual void | set (size_t index, const core::Slice< uint8_t > &buffer)=0 |
Store source or repair packet buffer for current block. More... | |
virtual core::Slice< uint8_t > | repair (size_t index)=0 |
Repair source packet buffer. More... | |
virtual void | end ()=0 |
Finish block. More... | |
FEC block decoder interface.
Definition at line 22 of file iblock_decoder.h.
|
pure virtual |
Start block.
Implemented in roc::fec::OpenfecDecoder.
|
pure virtual |
Finish block.
Implemented in roc::fec::OpenfecDecoder.
|
pure virtual |
Get the maximum number of encoding symbols for the scheme being used.
Implemented in roc::fec::OpenfecDecoder.
|
pure virtual |
Repair source packet buffer.
Implemented in roc::fec::OpenfecDecoder.
|
pure virtual |
Store source or repair packet buffer for current block.
Implemented in roc::fec::OpenfecDecoder.