Home
last modified time | relevance | path

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

/system/extras/verity/fec/
Dmain.cpp45 struct image *fcx = ctx->ctx; in encode_rs() local
47 uint8_t data[fcx->rs_n]; in encode_rs()
50 for (i = ctx->start; i < ctx->end; i += fcx->rs_n) { in encode_rs()
51 for (j = 0; j < fcx->rs_n; ++j) { in encode_rs()
52 data[j] = image_get_interleaved_byte(i + j, fcx); in encode_rs()
55 encode_rs_char(ctx->rs, data, &fcx->fec[ctx->fec_pos]); in encode_rs()
56 ctx->fec_pos += fcx->roots; in encode_rs()
62 struct image *fcx = ctx->ctx; in decode_rs() local
64 uint8_t data[fcx->rs_n + fcx->roots]; in decode_rs()
69 for (i = ctx->start; i < ctx->end; i += fcx->rs_n) { in decode_rs()
[all …]