![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include <fec.h>


Public Member Functions | |
| virtual | ~fec () |
| virtual bool | decode (char *in, int in_len, char **out, int *out_len, const std::map< int, int > &)=0 |
| virtual audio_frame2 | encode (audio_frame2 const &) |
| virtual std::shared_ptr< video_frame > | encode (std::shared_ptr< video_frame >)=0 |
Static Public Member Functions | |
| static fec * | create_from_config (const char *str, bool is_audio) noexcept |
| static fec * | create_from_desc (struct fec_desc) noexcept |
| static enum fec_type | fec_type_from_pt (int pt) throw () |
| static int | pt_from_fec_type (enum tx_media_type media_type, enum fec_type fec_type, bool encrypted) throw () |
|
staticnoexcept |
Definition at line 62 of file fec.cpp.
References LOG, and LOG_LEVEL_ERROR.
Referenced by audio_sender_process_message(), and rtp_video_rxtx::process_sender_message().
Definition at line 107 of file fec.cpp.
References desc, FEC_LDGM, FEC_RS, LOG, and LOG_LEVEL_ERROR.
Referenced by audio_fec_decode(), and fec_thread().
|
pure virtual |
| true | if whole frame was reconstructed |
| false | if decoder was unable to reconstruct the frame However, if it was reconstructed at least partially (or the code is a systematic one) and length can be read, set len to a non-zero value. |
Referenced by audio_fec_decode(), and fec_thread().
|
inlinevirtual |
|
pure virtual |
Referenced by audio_sender_thread().
|
static | |||||||||||||
Definition at line 157 of file fec.cpp.
References FEC_LDGM, FEC_NONE, FEC_RS, PT_ENCRYPT_VIDEO, PT_ENCRYPT_VIDEO_LDGM, PT_ENCRYPT_VIDEO_RS, PT_VIDEO, PT_VIDEO_LDGM, and PT_VIDEO_RS.
Referenced by decode_video_frame().
|
static | |||||||||||||||||||
Definition at line 133 of file fec.cpp.
References FEC_LDGM, FEC_NONE, FEC_RS, PT_AUDIO, PT_AUDIO_RS, PT_ENCRYPT_AUDIO, PT_ENCRYPT_AUDIO_RS, PT_ENCRYPT_VIDEO, PT_ENCRYPT_VIDEO_LDGM, PT_ENCRYPT_VIDEO_RS, PT_VIDEO, PT_VIDEO_LDGM, PT_VIDEO_RS, TX_MEDIA_VIDEO, and UG_ASSERT.
Referenced by fec_pt_from_fec_type().