mirror of
https://github.com/intel/isa-l.git
synced 2025-10-28 19:51:56 +01:00
erasure_code: expose base implementation of init_tables
Expose ec_init_tables_base(), which should be used with ec_encode_data_base() and ec_encode_data_update_base(). Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This commit is contained in:
committed by
Tomasz Kantecki
parent
65e89717df
commit
f971f02309
@@ -73,6 +73,14 @@ extern "C" {
|
||||
|
||||
void ec_init_tables(int k, int rows, unsigned char* a, unsigned char* gftbls);
|
||||
|
||||
/**
|
||||
* @brief Initialize tables for fast Erasure Code encode and decode, runs baseline version.
|
||||
*
|
||||
* Baseline version of ec_encode_data() with same parameters.
|
||||
*/
|
||||
|
||||
void ec_init_tables_base(int k, int rows, unsigned char* a, unsigned char* gftbls);
|
||||
|
||||
/**
|
||||
* @brief Generate or decode erasure codes on blocks of data, runs appropriate version.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user