Home
last modified time | relevance | path

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

/system/extras/libfec/include/fec/
Decc.h39 inline uint64_t fec_div_round_up(uint64_t x, uint64_t y) in fec_div_round_up() function
47 return fec_div_round_up(x, y) * y; in fec_round_up()
59 return fec_div_round_up(fec_div_round_up(file_size, FEC_BLOCKSIZE), in fec_ecc_get_size()
/system/extras/libfec/
Dfec_process.cpp63 size_t blocks = fec_div_round_up(count, FEC_BLOCKSIZE); in process()
65 size_t count_per_thread = fec_div_round_up(blocks, threads) * FEC_BLOCKSIZE; in process()
66 size_t max_threads = fec_div_round_up(count, count_per_thread); in process()
Dfec_open.cpp148 f->ecc.blocks = fec_div_round_up(f->data_size, FEC_BLOCKSIZE); in parse_ecc_header()
149 f->ecc.rounds = fec_div_round_up(f->ecc.blocks, f->ecc.rsn); in parse_ecc_header()
Dfec_verity.cpp105 hashes = fec_div_round_up(hashes * SHA256_DIGEST_LENGTH, FEC_BLOCKSIZE); in verity_get_size()
/system/extras/verity/fec/
Dimage.cpp76 ctx->blocks = fec_div_round_up(ctx->inp_size, FEC_BLOCKSIZE); in calculate_rounds()
77 ctx->rounds = fec_div_round_up(ctx->blocks, ctx->rs_n); in calculate_rounds()
385 fec_div_round_up(ctx->rounds * FEC_BLOCKSIZE, threads); in image_process()