Home
last modified time | relevance | path

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

/system/extras/libfec/include/fec/
Decc.h51 inline uint64_t fec_ecc_interleave(uint64_t offset, int rsn, uint64_t rounds) in fec_ecc_interleave() argument
53 return (offset / rsn) + (offset % rsn) * rounds * FEC_BLOCKSIZE; in fec_ecc_interleave()
/system/extras/libfec/
Dfec_read.cpp118 int erasures[e->rsn]; in __ecc_read()
124 for (int i = 0; i < e->rsn; ++i) { in __ecc_read()
125 uint64_t interleaved = fec_ecc_interleave(rsb * e->rsn + i, e->rsn, in __ecc_read()
163 if (!raw_pread(f->fd, &ecc_data[i * FEC_RSM + e->rsn], e->roots, in __ecc_read()
Dfec_open.cpp102 check(f->ecc.rsn > 0 && f->ecc.rsn < FEC_RSM); in parse_ecc_header()
151 f->ecc.rounds = fec_div_round_up(f->ecc.blocks, f->ecc.rsn); in parse_ecc_header()
528 f->ecc.rsn = FEC_RSM - roots; in fec_open()
Davb_utils.cpp129 f->ecc.rounds = fec_div_round_up(f->ecc.blocks, f->ecc.rsn); in parse_avb_image()
Dfec_private.h71 int rsn; member