HomeSort by relevance Sort by last modified time
    Searched refs:rs_n (Results 1 - 3 of 3) sorted by null

  /system/extras/verity/fec/
main.cpp 47 uint8_t data[fcx->rs_n];
50 for (i = ctx->start; i < ctx->end; i += fcx->rs_n) {
51 for (j = 0; j < fcx->rs_n; ++j) {
64 uint8_t data[fcx->rs_n + fcx->roots];
69 for (i = ctx->start; i < ctx->end; i += fcx->rs_n) {
70 for (j = 0; j < fcx->rs_n; ++j) {
74 memcpy(&data[fcx->rs_n], &fcx->fec[ctx->fec_pos], fcx->roots);
79 i, i + fcx->rs_n);
82 for (j = 0; j < fcx->rs_n; ++j) {
187 INFO("encoding RS(255, %d) to '%s' for input files:\n", ctx.rs_n,
    [all...]
image.h 54 int rs_n; member in struct:image
97 uint64_t offset = fec_ecc_interleave(i, ctx->rs_n, ctx->rounds);
109 uint64_t offset = fec_ecc_interleave(i, ctx->rs_n, ctx->rounds);
image.cpp 129 ctx->rounds = fec_div_round_up(ctx->blocks, ctx->rs_n);
283 ctx->rs_n = FEC_RSM - ctx->roots;
449 ctx->rs_n = FEC_RSM - ctx->roots;
561 ctx->rs_n);
568 uint64_t end = ctx->rounds * ctx->rs_n * FEC_BLOCKSIZE;
582 args[i].start = current * ctx->rs_n;
583 args[i].end = (current + rs_blocks_per_thread) * ctx->rs_n;
594 ctx->rs_n > end) {
604 assert((args[i].end - args[i].start) % ctx->rs_n == 0);

Completed in 1129 milliseconds