Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
FEC block encoder interface. More...
#include <iblock_encoder.h>
Public Member Functions | |
virtual size_t | alignment () const =0 |
Get buffer alignment requirement. More... | |
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 void | fill ()=0 |
Fill all repair packets in current block. More... | |
virtual void | end ()=0 |
Finish block. More... | |
FEC block encoder interface.
Definition at line 22 of file iblock_encoder.h.
|
pure virtual |
Get buffer alignment requirement.
Implemented in roc::fec::OpenfecEncoder.
|
pure virtual |
Start block.
Implemented in roc::fec::OpenfecEncoder.
|
pure virtual |
Finish block.
Implemented in roc::fec::OpenfecEncoder.
|
pure virtual |
Fill all repair packets in current block.
Implemented in roc::fec::OpenfecEncoder.
|
pure virtual |
Get the maximum number of encoding symbols for the scheme being used.
Implemented in roc::fec::OpenfecEncoder.
|
pure virtual |
Store source or repair packet buffer for current block.
Implemented in roc::fec::OpenfecEncoder.