Lines Matching refs:rs_n
46 uint8_t data[fcx->rs_n]; in encode_rs()
49 for (i = ctx->start; i < ctx->end; i += fcx->rs_n) { in encode_rs()
50 for (j = 0; j < fcx->rs_n; ++j) { in encode_rs()
63 uint8_t data[fcx->rs_n + fcx->roots]; in decode_rs()
68 for (i = ctx->start; i < ctx->end; i += fcx->rs_n) { in decode_rs()
69 for (j = 0; j < fcx->rs_n; ++j) { in decode_rs()
73 memcpy(&data[fcx->rs_n], &fcx->fec[ctx->fec_pos], fcx->roots); in decode_rs()
78 i, i + fcx->rs_n); in decode_rs()
81 for (j = 0; j < fcx->rs_n; ++j) { in decode_rs()
187 INFO("encoding RS(255, %d) to '%s' for input files:\n", ctx.rs_n, in encode()
235 inp_filename.c_str(), ctx.rs_n, fec_filename.c_str()); in decode()
241 out_filename.empty() ? out_filename.c_str() : "<none>", ctx.rs_n, in decode()