mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 05:53:12 -07:00
Align FEC Units by 16
This commit is contained in:
parent
8ddbad6f61
commit
9200c0b893
5 changed files with 31 additions and 20 deletions
|
@ -31,7 +31,7 @@ extern "C" {
|
|||
|
||||
#define CHIAKI_FEC_WORDSIZE 8
|
||||
|
||||
CHIAKI_EXPORT ChiakiErrorCode chiaki_fec_decode(uint8_t *frame_buf, size_t unit_size, unsigned int k, unsigned int m, const unsigned int *erasures, size_t erasures_count);
|
||||
CHIAKI_EXPORT ChiakiErrorCode chiaki_fec_decode(uint8_t *frame_buf, size_t unit_size, size_t stride, unsigned int k, unsigned int m, const unsigned int *erasures, size_t erasures_count);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -37,6 +37,7 @@ typedef struct chiaki_frame_processor_t
|
|||
uint8_t *frame_buf;
|
||||
size_t frame_buf_size;
|
||||
size_t buf_size_per_unit;
|
||||
size_t buf_stride_per_unit;
|
||||
unsigned int units_source_expected;
|
||||
unsigned int units_fec_expected;
|
||||
unsigned int units_source_received;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue