Home
last modified time | relevance | path

Searched refs:ecc_data (Results 1 – 1 of 1) sorted by relevance

/system/extras/libfec/
Dfec_read.cpp106 bool use_erasures, uint8_t *ecc_data, size_t *errors) in __ecc_read() argument
150 ecc_data[j * FEC_RSM + i] = bbuf[j]; in __ecc_read()
161 if (!raw_pread(f, &ecc_data[i * FEC_RSM + e->rsn], e->roots, in __ecc_read()
170 memcpy(copy, &ecc_data[i * FEC_RSM], FEC_RSM); in __ecc_read()
174 int rc = decode_rs_char(rs, &ecc_data[i * FEC_RSM], erasures, neras); in __ecc_read()
194 dest[i] = ecc_data[i * FEC_RSM + data_index]; in __ecc_read()
207 std::unique_ptr<uint8_t[]>& ecc_data) in ecc_init() argument
219 ecc_data.reset(new (std::nothrow) uint8_t[FEC_RSM * FEC_BLOCKSIZE]); in ecc_init()
221 if (unlikely(!ecc_data)) { in ecc_init()
244 std::unique_ptr<uint8_t[]> ecc_data; in ecc_read() local
[all …]