| arm.c | arm.c | |||
|---|---|---|---|---|
| skipping to change at line 46 | skipping to change at line 46 | |||
| buffer[i + 2] = (dest >> 16); | buffer[i + 2] = (dest >> 16); | |||
| buffer[i + 1] = (dest >> 8); | buffer[i + 1] = (dest >> 8); | |||
| buffer[i + 0] = dest; | buffer[i + 0] = dest; | |||
| } | } | |||
| } | } | |||
| return i; | return i; | |||
| } | } | |||
| static lzma_ret | static lzma_ret | |||
| arm_coder_init(lzma_next_coder *next, lzma_allocator *allocator, | arm_coder_init(lzma_next_coder *next, const lzma_allocator *allocator, | |||
| const lzma_filter_info *filters, bool is_encoder) | const lzma_filter_info *filters, bool is_encoder) | |||
| { | { | |||
| return lzma_simple_coder_init(next, allocator, filters, | return lzma_simple_coder_init(next, allocator, filters, | |||
| &arm_code, 0, 4, 4, is_encoder); | &arm_code, 0, 4, 4, is_encoder); | |||
| } | } | |||
| extern lzma_ret | extern lzma_ret | |||
| lzma_simple_arm_encoder_init(lzma_next_coder *next, lzma_allocator *allocat | lzma_simple_arm_encoder_init(lzma_next_coder *next, | |||
| or, | const lzma_allocator *allocator, | |||
| const lzma_filter_info *filters) | const lzma_filter_info *filters) | |||
| { | { | |||
| return arm_coder_init(next, allocator, filters, true); | return arm_coder_init(next, allocator, filters, true); | |||
| } | } | |||
| extern lzma_ret | extern lzma_ret | |||
| lzma_simple_arm_decoder_init(lzma_next_coder *next, lzma_allocator *allocat | lzma_simple_arm_decoder_init(lzma_next_coder *next, | |||
| or, | const lzma_allocator *allocator, | |||
| const lzma_filter_info *filters) | const lzma_filter_info *filters) | |||
| { | { | |||
| return arm_coder_init(next, allocator, filters, false); | return arm_coder_init(next, allocator, filters, false); | |||
| } | } | |||
| End of changes. 3 change blocks. | ||||
| 5 lines changed or deleted | 5 lines changed or added | |||
| This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ | ||||