|
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Decoder implementation using OpenFEC library. More...
#include <of_decoder.h>
Public Member Functions | |
| OFDecoder (const CodecConfig &config, core::BufferPool< uint8_t > &buffer_pool, core::IAllocator &allocator) | |
| Initialize. More... | |
| bool | valid () const |
| Check if object is successfully constructed. More... | |
| virtual size_t | max_block_length () const |
| 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) |
| Start block. More... | |
| virtual void | set (size_t index, const core::Slice< uint8_t > &buffer) |
| Store source or repair packet buffer for current block. More... | |
| virtual core::Slice< uint8_t > | repair (size_t index) |
| Repair source packet buffer. More... | |
| virtual void | end () |
| Finish block. More... | |
Decoder implementation using OpenFEC library.
Definition at line 40 of file of_decoder.h.
|
explicit |
Initialize.
|
virtual |
Start block.
Implements roc::fec::IBlockDecoder.
|
virtual |
Finish block.
Implements roc::fec::IBlockDecoder.
|
virtual |
Get the maximum number of encoding symbols for the scheme being used.
Implements roc::fec::IBlockDecoder.
|
virtual |
Repair source packet buffer.
Implements roc::fec::IBlockDecoder.
|
virtual |
Store source or repair packet buffer for current block.
Implements roc::fec::IBlockDecoder.
| bool roc::fec::OFDecoder::valid | ( | ) | const |
Check if object is successfully constructed.