• Home
  • Raw
  • Download

Lines Matching refs:valpred

1641     int step, valpred, delta,  in audioop_lin2adpcm_impl()  local
1652 valpred = 0; in audioop_lin2adpcm_impl()
1660 &valpred, &index)) in audioop_lin2adpcm_impl()
1664 else if (valpred >= 0x8000 || valpred < -0x8000 || in audioop_lin2adpcm_impl()
1682 if (val < valpred) { in audioop_lin2adpcm_impl()
1683 diff = valpred - val; in audioop_lin2adpcm_impl()
1687 diff = val - valpred; in audioop_lin2adpcm_impl()
1722 valpred -= vpdiff; in audioop_lin2adpcm_impl()
1724 valpred += vpdiff; in audioop_lin2adpcm_impl()
1727 if ( valpred > 32767 ) in audioop_lin2adpcm_impl()
1728 valpred = 32767; in audioop_lin2adpcm_impl()
1729 else if ( valpred < -32768 ) in audioop_lin2adpcm_impl()
1730 valpred = -32768; in audioop_lin2adpcm_impl()
1748 rv = Py_BuildValue("(O(ii))", str, valpred, index); in audioop_lin2adpcm_impl()
1772 int valpred, step, delta, index, sign, vpdiff; in audioop_adpcm2lin_impl() local
1782 valpred = 0; in audioop_adpcm2lin_impl()
1790 &valpred, &index)) in audioop_adpcm2lin_impl()
1794 else if (valpred >= 0x8000 || valpred < -0x8000 || in audioop_adpcm2lin_impl()
1846 valpred -= vpdiff; in audioop_adpcm2lin_impl()
1848 valpred += vpdiff; in audioop_adpcm2lin_impl()
1851 if ( valpred > 32767 ) in audioop_adpcm2lin_impl()
1852 valpred = 32767; in audioop_adpcm2lin_impl()
1853 else if ( valpred < -32768 ) in audioop_adpcm2lin_impl()
1854 valpred = -32768; in audioop_adpcm2lin_impl()
1860 SETSAMPLE32(width, ncp, i, valpred << 16); in audioop_adpcm2lin_impl()
1863 rv = Py_BuildValue("(O(ii))", str, valpred, index); in audioop_adpcm2lin_impl()