Home
last modified time | relevance | path

Searched refs:delta_width_modifier (Results 1 – 1 of 1) sorted by relevance

/third_party/libsnd/src/
Ddwvw.c307 int delta_width_modifier, delta_width, delta_negative, delta, sample ; in dwvw_decode_data() local
315 delta_width_modifier = dwvw_decode_load_bits (psf, pdwvw, -1) ; in dwvw_decode_data()
318 if (delta_width_modifier < 0 || (pdwvw->b.end == 0 && count == 0)) in dwvw_decode_data()
321 if (delta_width_modifier && dwvw_decode_load_bits (psf, pdwvw, 1)) in dwvw_decode_data()
322 delta_width_modifier = - delta_width_modifier ; in dwvw_decode_data()
325 delta_width = (delta_width + delta_width_modifier + pdwvw->bit_width) % pdwvw->bit_width ; in dwvw_decode_data()
485 int delta_width_modifier, delta, delta_negative, delta_width, extra_bit ; in dwvw_encode_data() local
521 delta_width_modifier = (delta_width - pdwvw->last_delta_width) % pdwvw->bit_width ; in dwvw_encode_data()
522 if (delta_width_modifier > pdwvw->dwm_maxsize) in dwvw_encode_data()
523 delta_width_modifier -= pdwvw->bit_width ; in dwvw_encode_data()
[all …]