Function report |
Source Code:lib\xz\xz_dec_lzma2.c |
Create Date:2022-07-28 07:08:37 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Decode one bit. In some versions, this function has been splitted in three* functions so that the compiler is supposed to be able to more easily avoid* an extra branch. In this particular version of the LZMA decoder, this
Proto:static __always_inline int rc_bit(struct rc_dec *rc, uint16_t *prob)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rc_dec * | rc | |
| uint16_t * | prob |
| 503 | bound = (range >> RC_BIT_MODEL_TOTAL_BITS) * prob |
| 508 | Else |
| 515 | Return bit |
| Name | Describe |
|---|---|
| rc_bittree | Decode a bittree starting from the most significant bit. |
| rc_bittree_reverse | Decode a bittree starting from the least significant bit. |
| lzma_literal | Decode a literal (one 8-bit byte) |
| lzma_len | Decode the length of the match into s->lzma.len. |
| lzma_rep_match | Decode a repeated match. The distance is one of the four most recently* seen matches. The distance will be stored in s->lzma.rep0. |
| lzma_main | LZMA decoder core |
| 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 |