Lines Matching refs:roots
147 assert(ctx->roots > 0 && ctx->roots < FEC_RSM); in image_load()
148 ctx->rs_n = FEC_RSM - ctx->roots; in image_load()
197 ctx->fec_size = ctx->rounds * ctx->roots * FEC_BLOCKSIZE; in image_ecc_new()
250 if (p->roots == 0 || p->roots >= FEC_RSM) { in image_ecc_load()
251 FATAL("invalid roots in '%s': %u\n", filename.c_str(), p->roots); in image_ecc_load()
254 if (p->fec_size % p->roots || p->fec_size % FEC_BLOCKSIZE) { in image_ecc_load()
258 ctx->roots = (int)p->roots; in image_ecc_load()
259 ctx->rs_n = FEC_RSM - ctx->roots; in image_ecc_load()
303 f->roots = ctx->roots; in image_ecc_save()
396 args[i].fec_pos = current * ctx->roots; in image_process()
400 args[i].rs = init_rs_char(FEC_PARAMS(ctx->roots)); in image_process()