armthumb.c | armthumb.c | |||
---|---|---|---|---|
skipping to change at line 51 | skipping to change at line 51 | |||
buffer[i + 3] = 0xF8 | ((dest >> 8) & 0x7); | buffer[i + 3] = 0xF8 | ((dest >> 8) & 0x7); | |||
buffer[i + 2] = (dest); | buffer[i + 2] = (dest); | |||
i += 2; | i += 2; | |||
} | } | |||
} | } | |||
return i; | return i; | |||
} | } | |||
static lzma_ret | static lzma_ret | |||
armthumb_coder_init(lzma_next_coder *next, lzma_allocator *allocator, | armthumb_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, | |||
&armthumb_code, 0, 4, 2, is_encoder); | &armthumb_code, 0, 4, 2, is_encoder); | |||
} | } | |||
extern lzma_ret | extern lzma_ret | |||
lzma_simple_armthumb_encoder_init(lzma_next_coder *next, | lzma_simple_armthumb_encoder_init(lzma_next_coder *next, | |||
lzma_allocator *allocator, const lzma_filter_info *filters) | const lzma_allocator *allocator, | |||
const lzma_filter_info *filters) | ||||
{ | { | |||
return armthumb_coder_init(next, allocator, filters, true); | return armthumb_coder_init(next, allocator, filters, true); | |||
} | } | |||
extern lzma_ret | extern lzma_ret | |||
lzma_simple_armthumb_decoder_init(lzma_next_coder *next, | lzma_simple_armthumb_decoder_init(lzma_next_coder *next, | |||
lzma_allocator *allocator, const lzma_filter_info *filters) | const lzma_allocator *allocator, | |||
const lzma_filter_info *filters) | ||||
{ | { | |||
return armthumb_coder_init(next, allocator, filters, false); | return armthumb_coder_init(next, allocator, filters, false); | |||
} | } | |||
End of changes. 3 change blocks. | ||||
3 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/ |