Function report |
Source Code:lib\bch.c |
Create Date:2022-07-28 06:59:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:vert ecc bytes to aligned, zero-padded 32-bit ecc words
Proto:static void load_ecc8(struct bch_control *bch, uint32_t *dst, const uint8_t *src)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bch_control * | bch | |
| uint32_t * | dst | |
| const uint8_t * | src |
| 145 | nwords = BCH_ECC_WORDS(bch) - 1 |
| 150 | No 3D Now!(pad, src, BCH_ECC_BYTES(bch) - 4 * nwords) |
| Name | Describe |
|---|---|
| encode_bch | de_bch - calculate BCH ecc parity of data*@bch: BCH control structure*@data: data to encode*@len: data length in bytes*@ecc: ecc parity data, must be initialized by caller* The @ecc parity array is used both as input and output parameter, in order to |
| 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 |