Commit Graph

25 Commits

Author SHA1 Message Date
Martin Pulec
215b823861 Reed-Solomon: add defaults for audio
For unsompreesed audio, where it has only the advantage, set default
R-S values to k=160 n=240 (50 % redundancy).

For uncompressed audio, the number of packets per frmae start at 3
(for 16-bit 30p), for which the value is appropriate. Not for the
audio captured at 60 Hz, however. Here it, is 1600 B with 16-bit samples,
with the R-S FEC this yields 2 packets only.
2024-09-11 13:11:09 +02:00
Martin Pulec
19aa9803f2 fec/RS+LDGM: print setting when init
The values may not be set explicitly by the user so print the info.
2024-09-11 11:24:48 +02:00
Martin Pulec
8d1dc8739b R-S: removed VLAs from C++ code 2024-03-26 14:24:34 +01:00
Martin Pulec
3fa71b552f zfec: revert headers incl removal
removed 2023-11-16 by commit c8080a4f

config.h include is actually requested (HAVE_ZFEC). If config.h is
included and HAVE_ZFEC is defined, also other headers, which have been
deleted, are required as well.
2023-11-27 11:08:53 +01:00
Martin Pulec
f92d29d20f Reed-Solomon: addd notice about per-frame protect 2023-11-16 14:01:28 +01:00
Martin Pulec
c8080a4fb3 Reed-Solomon: pretty-print help
- use bold to highlight
- unindent options
2023-11-16 14:01:27 +01:00
Martin Pulec
73b5a85d2d Revert "format_audio_header: do not use audio_frame2"
This reverts commit a81b19d231.
2023-10-16 16:19:57 +02:00
Martin Pulec
a81b19d231 format_audio_header: do not use audio_frame2
rewrite for further changes
2023-08-01 10:26:15 +02:00
Martin Pulec
aa339b7c4b Reed-Solomon video: support multiple tiles 2023-04-21 11:56:25 +02:00
Martin Pulec
e4f56be955 prevent dangling lambdas
Prevent dangling parameter-less lambdas. Although it may not be so dangerous
(operator() should be a plain function in the end), it is not correct.
2022-07-14 09:29:15 +02:00
Martin Pulec
85c89b491a RS: fixed audio encode where there is no zfec 2021-12-03 21:49:57 +01:00
Martin Pulec
e712578f43 Added audio RS encoding 2021-11-30 17:09:29 +01:00
Martin Pulec
1b3b27eb7c Updated copyright dates for modified files 2021-11-08 15:43:14 +01:00
Martin Pulec
d3fa4437e5 Reed-solomon: added decoder stub
Added stub allowing dummy decode (without error correction) for the
receiver basic run.
2021-11-05 13:47:15 +01:00
Martin Pulec
30db5b4fed RS: loop readibility fix 2021-11-05 12:03:44 +01:00
Martin Pulec
d47c708e9e Configure: detect also system zfec
Detect and use zfec provided by python-zfec3 in Ubuntu.

+ added option --with-zfec for custom path
2021-06-29 08:59:25 +02:00
Martin Pulec
ee4bdbf34a Make zfec optional 2021-03-09 16:05:36 +01:00
Martin Pulec
18cc2b1252 Zfec as a submodule 2021-02-24 13:42:12 +01:00
Martin Pulec
737e9df850 Pass incomplete FEC decoded frame
Allow further processing of not entirely corrected video frame (eg. when
uncompressed or when decoder is able to handle broken streams).
2019-09-27 15:29:59 +02:00
Martin Pulec
6a63912676 Reed-Solomon: use 200:240 as a default 2019-02-14 14:55:21 +01:00
Martin Pulec
5ee8f2ebeb FEC: fixed warnings 2018-09-26 10:13:40 +02:00
Martin Pulec
e06cd7f835 FEC: fail if command-line argument is wrong 2018-03-21 17:25:21 +01:00
Martin Pulec
5538445bf9 FEC: some fixes 2016-04-26 16:14:26 +02:00
Martin Pulec
6fd7827a39 Reed-Solomon: remove useless malloc.h include 2015-04-14 10:30:57 +02:00
Martin Pulec
2512737c09 Added Reed-Solomon 2015-04-07 10:44:04 +02:00