Searched refs:fec_div_round_up (Results 1 – 6 of 6) sorted by relevance
/system/extras/libfec/include/fec/ |
D | ecc.h | 39 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/ |
D | fec_process.cpp | 63 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()
|
D | avb_utils.cpp | 128 f->ecc.blocks = fec_div_round_up(f->data_size, FEC_BLOCKSIZE); in parse_avb_image() 129 f->ecc.rounds = fec_div_round_up(f->ecc.blocks, f->ecc.rsn); in parse_avb_image()
|
D | fec_open.cpp | 150 f->ecc.blocks = fec_div_round_up(f->data_size, FEC_BLOCKSIZE); in parse_ecc_header() 151 f->ecc.rounds = fec_div_round_up(f->ecc.blocks, f->ecc.rsn); in parse_ecc_header()
|
D | fec_verity.cpp | 111 hashes = fec_div_round_up(hashes * padded_digest_size, FEC_BLOCKSIZE); in verity_get_size()
|
/system/extras/verity/fec/ |
D | image.cpp | 76 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()
|