.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "DECODE_RS16" "9" "09 October 2005" "" ""
.SH NAME
decode_rs16 \- Decode codeword (16bit data width)
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int decode_rs16 (struct rs_control * \fIrs\fB, uint16_t * \fIdata\fB, uint16_t * \fIpar\fB, int \fIlen\fB, uint16_t * \fIs\fB, int \fIno_eras\fB, int * \fIeras_pos\fB, uint16_t \fIinvmsk\fB, uint16_t * \fIcorr\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIrs\fB\fR
the rs control structure
.TP
\fB\fIdata\fB\fR
data field of a given type
.TP
\fB\fIpar\fB\fR
received parity data field
.TP
\fB\fIlen\fB\fR
data length
.TP
\fB\fIs\fB\fR
syndrome data field (if NULL, syndrome is calculated)
.TP
\fB\fIno_eras\fB\fR
number of erasures
.TP
\fB\fIeras_pos\fB\fR
position of erasures, can be NULL
.TP
\fB\fIinvmsk\fB\fR
invert data mask (will be xored on data, not on parity!)
.TP
\fB\fIcorr\fB\fR
buffer to store correction bitmask on eras_pos
.SH "DESCRIPTION"
.PP
Each field in the data array contains up to symbol size bits of valid data.
.SH "DESCRIPTION"
.PP
Each field in the data array contains up to symbol size bits of valid data.