.\" 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 "RS_INIT" "9" "09 October 2005" "" "" .SH NAME rs_init \- Initialize a Reed-Solomon codec .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct rs_control * rs_init (int \fIsymsize\fB, int \fIgfpoly\fB, int \fIfcr\fB, int \fIprim\fB, int \fInroots\fB); \fR .SH "ARGUMENTS" .TP \fB\fIsymsize\fB\fR symbol size, bits (1-8) .TP \fB\fIgfpoly\fB\fR Field generator polynomial coefficients .TP \fB\fIfcr\fB\fR first root of RS code generator polynomial, index form .TP \fB\fIprim\fB\fR primitive element to generate polynomial roots .TP \fB\fInroots\fB\fR RS code generator polynomial degree (number of roots) .SH "DESCRIPTION" .PP Allocate a control structure and the polynom arrays for faster en/decoding. Fill the arrays according to the given parameters .SH "DESCRIPTION" .PP Allocate a control structure and the polynom arrays for faster en/decoding. Fill the arrays according to the given parameters