Function report |
Source Code:lib\lzo\lzo1x_compress.c |
Create Date:2022-07-28 07:00:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lzogeneric1x_1_compress
Proto:int lzogeneric1x_1_compress(const unsigned char *in, size_t in_len, unsigned char *out, size_t *out_len, void *wrkmem, const unsigned char bitstream_version)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const unsigned char * | in | |
size_t | in_len | |
unsigned char * | out | |
size_t * | out_len | |
void * | wrkmem | |
const unsigned char | bitstream_version |
299 | t = 0 |
300 | state_offset = -2 |
305 | If bitstream_version > 0 Then |
309 | Else |
313 | data_start = op |
316 | ll = If l <= m4_max_offset + 1 Then l Else m4_max_offset + 1 |
321 | memset(wrkmem, 0, D_SIZE * size of lzo_dict_t ) |
322 | t = lzo1x_1_do_compress(ip, ll, op, out_len, t, wrkmem, & state_offset, bitstream_version) |
330 | If t > 0 Then |
333 | If op == data_start && t <= 238 Then |
335 | Else if t <= 3 Then |
336 | op[state_offset] |= t |
337 | Else if t <= 18 Then |
339 | Else |
348 | If t >= 16 Then Do |
355 | If t > 0 Then Do |
361 | op++ = 0 |
362 | op++ = 0 |
365 | Return Return values (< 0 = Error) |
Name | Describe |
---|---|
lzo1x_1_compress | |
lzorle1x_1_compress |
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 |