#include <decoder.h>
Inheritance diagram for simthlib::StreamDecoder:
Public Member Functions | |
StreamDecoder (int deviceID, simth::DeviceSystemIntf *system, const simth::PropertyList &pl, simth::SequenceType inType) | |
virtual int | dataBitsPerStep () const =0 |
virtual int | codedBitsPerStep () const =0 |
virtual void | process () |
virtual void | updateInputLengths () |
virtual void | updateOutputLengths () |
Protected Attributes | |
size_t | llrInputLength |
|
|
|
Returns the coded output bits per step of the associated encoder, i.e. the number of input bits per step of this decoder. Implemented in simthlib::TrellisDecoder. |
|
Returns the number of uncoded data input bits per step of the associated encoder, i.e. the number of data output bits per step of this decoder. Implemented in simthlib::TrellisDecoder. |
|
The implementation of process in StreamDecoder differs from the implementation in Decoder if the input type is simth::LlvSeq and the number of bits per LLV value does not equal the codedBitsPerStep(). In this case, the input length is recalculated (since in update output length the considered bits per LLV sequence had been codedBitsPerStep()). If the received data exceeds the new calculated input the length, the LLV sequence is converted to an LLV sequence that number of bits per state equals the number of codedBitsPerStep() of the StreamDecoder. Reimplemented from simthlib::Decoder. |
|
Implements simth::Device. Reimplemented in simthlib::PunctConvDecoder. |
|
Implements simth::Device. Reimplemented in simthlib::PunctConvDecoder. |
|
|