Function report |
Source Code:lib\bch.c |
Create Date:2022-07-28 06:59:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:d roots of a polynomial, using BTZ algorithm; see the beginning of this* file for details
Proto:static int find_poly_roots(struct bch_control *bch, unsigned int k, struct gf_poly *poly, unsigned int *roots)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bch_control * | bch | |
unsigned int | k | |
struct gf_poly * | poly | |
unsigned int * | roots |
892 | Case polynomial degree == 1 |
895 | Case polynomial degree == 2 |
897 | Break |
898 | Case polynomial degree == 3 |
900 | Break |
901 | Case polynomial degree == 4 |
903 | Break |
904 | Default |
906 | cnt = 0 |
907 | If polynomial degree && k <= GF_M(bch) Then |
914 | Break |
916 | Return cnt |
Name | Describe |
---|---|
find_poly_roots | d roots of a polynomial, using BTZ algorithm; see the beginning of this* file for details |
decode_bch | decode_bch - decode received codeword and find bit error locations*@bch: BCH control structure*@data: received data, ignored if @calc_ecc is provided*@len: data length in bytes, must always be provided*@recv_ecc: received ecc, if NULL then assume it was |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |