Function report | 
Source Code:lib\xz\xz_dec_lzma2.c | 
Create Date:2022-07-28 07:08:45 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Decode and validate LZMA properties (lc/lp/pb) and calculate the bit masks* from the decoded lp and pb values. On success, the LZMA decoder state is* reset and true is returned.
Proto:static bool lzma_props(struct xz_dec_lzma2 *s, uint8_t props)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct xz_dec_lzma2 * | s | |
| uint8_t | props | 
| 801 | If props > ( 4 * 5 + 4) * 9 + 8 Then Return false | 
| 804 | (1 << pb) - 1 = 0 | 
| 806 | props -= 9 * 5 | 
| 807 | ++ (1 << pb) - 1 | 
| 810 | (1 << pb) - 1 = (1 << (1 << pb) - 1 ) - 1 | 
| 812 | (1 << lp) - 1 = 0 | 
| 814 | props -= 9 | 
| 815 | ++ (1 << lp) - 1 | 
| 818 | * LZMA properties or related bit masks (number of literal * context bits, a mask dervied from the number of literal * position bits, and a mask dervied from the number * position bits) = props | 
| 823 | (1 << lp) - 1 = (1 << (1 << lp) - 1 ) - 1 | 
| 827 | Return true | 
| Name | Describe | 
|---|---|
| xz_dec_lzma2_run | Take care of the LZMA2 control layer, and forward the job of actual LZMA* decoding or copying of uncompressed chunks to other functions. | 
| 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  |