mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 09:18:54 -05:00
Interpolators integer to float: fixed wrong implementation and possible zero divide
This commit is contained in:
parent
0d65f00983
commit
55e3b9f766
@ -139,8 +139,8 @@ void InterpolatorsIF<OutBits, InBits>::interpolate1(SampleVector::iterator* it,
|
||||
{
|
||||
for (int pos = 0; pos < len - 1; pos += 2)
|
||||
{
|
||||
buf[pos+1] = (**it).m_real / interpolation_shifts<OutBits, InBits>::post1;
|
||||
buf[pos+0] = (**it).m_imag / interpolation_shifts<OutBits, InBits>::post1;
|
||||
buf[pos+1] = (float) ((**it).m_real >> interpolation_shifts<OutBits, InBits>::post1);
|
||||
buf[pos+0] = (float) ((**it).m_imag >> interpolation_shifts<OutBits, InBits>::post1);
|
||||
++(*it);
|
||||
}
|
||||
}
|
||||
@ -148,8 +148,8 @@ void InterpolatorsIF<OutBits, InBits>::interpolate1(SampleVector::iterator* it,
|
||||
{
|
||||
for (int pos = 0; pos < len - 1; pos += 2)
|
||||
{
|
||||
buf[pos+0] = (**it).m_real / interpolation_shifts<OutBits, InBits>::post1;
|
||||
buf[pos+1] = (**it).m_imag / interpolation_shifts<OutBits, InBits>::post1;
|
||||
buf[pos+0] = (float) ((**it).m_real >> interpolation_shifts<OutBits, InBits>::post1);
|
||||
buf[pos+1] = (float) ((**it).m_imag >> interpolation_shifts<OutBits, InBits>::post1);
|
||||
++(*it);
|
||||
}
|
||||
}
|
||||
@ -181,10 +181,10 @@ void InterpolatorsIF<OutBits, InBits>::interpolate2_cen(SampleVector::iterator*
|
||||
|
||||
m_interpolator2.myInterpolate(&intbuf[0], &intbuf[1], &intbuf[2], &intbuf[3]);
|
||||
|
||||
buf[pos+0] = (float) (intbuf[0] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+1] = (float) (intbuf[1] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+2] = (float) (intbuf[2] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+3] = (float) (intbuf[3] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+0] = (float) (intbuf[0] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+1] = (float) (intbuf[1] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+2] = (float) (intbuf[2] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+3] = (float) (intbuf[3] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
|
||||
++(*it);
|
||||
}
|
||||
@ -224,14 +224,14 @@ void InterpolatorsIF<OutBits, InBits>::interpolate2_inf(SampleVector::iterator*
|
||||
|
||||
m_interpolator2.myInterpolateInf(&intbuf[0], &intbuf[1], &intbuf[2], &intbuf[3], &intbuf[4], &intbuf[5], &intbuf[6], &intbuf[7]);
|
||||
|
||||
buf[pos+0] = (float) (intbuf[0] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+1] = (float) (intbuf[1] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+2] = (float) (intbuf[2] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+3] = (float) (intbuf[3] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+4] = (float) (intbuf[4] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+5] = (float) (intbuf[5] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+6] = (float) (intbuf[6] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+7] = (float) (intbuf[7] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+0] = (float) (intbuf[0] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+1] = (float) (intbuf[1] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+2] = (float) (intbuf[2] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+3] = (float) (intbuf[3] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+4] = (float) (intbuf[4] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+5] = (float) (intbuf[5] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+6] = (float) (intbuf[6] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+7] = (float) (intbuf[7] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
}
|
||||
}
|
||||
|
||||
@ -269,14 +269,14 @@ void InterpolatorsIF<OutBits, InBits>::interpolate2_sup(SampleVector::iterator*
|
||||
|
||||
m_interpolator2.myInterpolateSup(&intbuf[0], &intbuf[1], &intbuf[2], &intbuf[3], &intbuf[4], &intbuf[5], &intbuf[6], &intbuf[7]);
|
||||
|
||||
buf[pos+0] = (float) (intbuf[0] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+1] = (float) (intbuf[1] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+2] = (float) (intbuf[2] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+3] = (float) (intbuf[3] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+4] = (float) (intbuf[4] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+5] = (float) (intbuf[5] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+6] = (float) (intbuf[6] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+7] = (float) (intbuf[7] / interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+0] = (float) (intbuf[0] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+1] = (float) (intbuf[1] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+2] = (float) (intbuf[2] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+3] = (float) (intbuf[3] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+4] = (float) (intbuf[4] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+5] = (float) (intbuf[5] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+6] = (float) (intbuf[6] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
buf[pos+7] = (float) (intbuf[7] >> interpolation_shifts<OutBits, InBits>::post2);
|
||||
}
|
||||
}
|
||||
|
||||
@ -308,14 +308,14 @@ void InterpolatorsIF<OutBits, InBits>::interpolate4_cen(SampleVector::iterator*
|
||||
m_interpolator4.myInterpolate(&intbuf[0], &intbuf[1], &intbuf[2], &intbuf[3]);
|
||||
m_interpolator4.myInterpolate(&intbuf[4], &intbuf[5], &intbuf[6], &intbuf[7]);
|
||||
|
||||
buf[pos+0] = (float) (intbuf[0] / interpolation_shifts<OutBits, InBits>::post4);
|
||||
buf[pos+1] = (float) (intbuf[1] / interpolation_shifts<OutBits, InBits>::post4);
|
||||
buf[pos+2] = (float) (intbuf[2] / interpolation_shifts<OutBits, InBits>::post4);
|
||||
buf[pos+3] = (float) (intbuf[3] / interpolation_shifts<OutBits, InBits>::post4);
|
||||
buf[pos+4] = (float) (intbuf[4] / interpolation_shifts<OutBits, InBits>::post4);
|
||||
buf[pos+5] = (float) (intbuf[5] / interpolation_shifts<OutBits, InBits>::post4);
|
||||
buf[pos+6] = (float) (intbuf[6] / interpolation_shifts<OutBits, InBits>::post4);
|
||||
buf[pos+7] = (float) (intbuf[7] / interpolation_shifts<OutBits, InBits>::post4);
|
||||
buf[pos+0] = (float) (intbuf[0] >> interpolation_shifts<OutBits, InBits>::post4);
|
||||
buf[pos+1] = (float) (intbuf[1] >> interpolation_shifts<OutBits, InBits>::post4);
|
||||
buf[pos+2] = (float) (intbuf[2] >> interpolation_shifts<OutBits, InBits>::post4);
|
||||
buf[pos+3] = (float) (intbuf[3] >> interpolation_shifts<OutBits, InBits>::post4);
|
||||
buf[pos+4] = (float) (intbuf[4] >> interpolation_shifts<OutBits, InBits>::post4);
|
||||
buf[pos+5] = (float) (intbuf[5] >> interpolation_shifts<OutBits, InBits>::post4);
|
||||
buf[pos+6] = (float) (intbuf[6] >> interpolation_shifts<OutBits, InBits>::post4);
|
||||
buf[pos+7] = (float) (intbuf[7] >> interpolation_shifts<OutBits, InBits>::post4);
|
||||
|
||||
++(*it);
|
||||
}
|
||||
@ -358,7 +358,7 @@ void InterpolatorsIF<OutBits, InBits>::interpolate4_inf(SampleVector::iterator*
|
||||
m_interpolator4.myInterpolateInf(&intbuf[8], &intbuf[9], &intbuf[10], &intbuf[11], &intbuf[12], &intbuf[13], &intbuf[14], &intbuf[15]);
|
||||
|
||||
for (int i = 0; i < 16; i++) {
|
||||
buf[pos+i] = (float) (intbuf[i] / interpolation_shifts<OutBits, InBits>::post4);
|
||||
buf[pos+i] = (float) (intbuf[i] >> interpolation_shifts<OutBits, InBits>::post4);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -400,7 +400,7 @@ void InterpolatorsIF<OutBits, InBits>::interpolate4_sup(SampleVector::iterator*
|
||||
m_interpolator4.myInterpolateSup(&intbuf[8], &intbuf[9], &intbuf[10], &intbuf[11], &intbuf[12], &intbuf[13], &intbuf[14], &intbuf[15]);
|
||||
|
||||
for (int i = 0; i < 16; i++) {
|
||||
buf[pos+i] = (float) (intbuf[i] / interpolation_shifts<OutBits, InBits>::post4);
|
||||
buf[pos+i] = (float) (intbuf[i] >> interpolation_shifts<OutBits, InBits>::post4);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -438,22 +438,22 @@ void InterpolatorsIF<OutBits, InBits>::interpolate8_cen(SampleVector::iterator*
|
||||
m_interpolator8.myInterpolate(&intbuf[8], &intbuf[9], &intbuf[10], &intbuf[11]);
|
||||
m_interpolator8.myInterpolate(&intbuf[12], &intbuf[13], &intbuf[14], &intbuf[15]);
|
||||
|
||||
buf[pos+0] = (float) (intbuf[0] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+1] = (float) (intbuf[1] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+2] = (float) (intbuf[2] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+3] = (float) (intbuf[3] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+4] = (float) (intbuf[4] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+5] = (float) (intbuf[5] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+6] = (float) (intbuf[6] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+7] = (float) (intbuf[7] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+8] = (float) (intbuf[8] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+9] = (float) (intbuf[9] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+10] = (float) (intbuf[10] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+11] = (float) (intbuf[11] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+12] = (float) (intbuf[12] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+13] = (float) (intbuf[13] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+14] = (float) (intbuf[14] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+15] = (float) (intbuf[15] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+0] = (float) (intbuf[0] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+1] = (float) (intbuf[1] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+2] = (float) (intbuf[2] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+3] = (float) (intbuf[3] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+4] = (float) (intbuf[4] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+5] = (float) (intbuf[5] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+6] = (float) (intbuf[6] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+7] = (float) (intbuf[7] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+8] = (float) (intbuf[8] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+9] = (float) (intbuf[9] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+10] = (float) (intbuf[10] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+11] = (float) (intbuf[11] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+12] = (float) (intbuf[12] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+13] = (float) (intbuf[13] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+14] = (float) (intbuf[14] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+15] = (float) (intbuf[15] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
|
||||
++(*it);
|
||||
}
|
||||
@ -501,7 +501,7 @@ void InterpolatorsIF<OutBits, InBits>::interpolate8_inf(SampleVector::iterator*
|
||||
m_interpolator8.myInterpolateInf(&intbuf[24], &intbuf[25], &intbuf[26], &intbuf[27], &intbuf[28], &intbuf[29], &intbuf[30], &intbuf[31]);
|
||||
|
||||
for (int i = 0; i < 32; i++) {
|
||||
buf[pos+i] = (float) (intbuf[i] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+i] = (float) (intbuf[i] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -548,7 +548,7 @@ void InterpolatorsIF<OutBits, InBits>::interpolate8_sup(SampleVector::iterator*
|
||||
m_interpolator8.myInterpolateSup(&intbuf[24], &intbuf[25], &intbuf[26], &intbuf[27], &intbuf[28], &intbuf[29], &intbuf[30], &intbuf[31]);
|
||||
|
||||
for (int i = 0; i < 32; i++) {
|
||||
buf[pos+i] = (float) (intbuf[i] / interpolation_shifts<OutBits, InBits>::post8);
|
||||
buf[pos+i] = (float) (intbuf[i] >> interpolation_shifts<OutBits, InBits>::post8);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -595,38 +595,38 @@ void InterpolatorsIF<OutBits, InBits>::interpolate16_cen(SampleVector::iterator*
|
||||
m_interpolator16.myInterpolate(&intbuf[24], &intbuf[25], &intbuf[26], &intbuf[27]);
|
||||
m_interpolator16.myInterpolate(&intbuf[28], &intbuf[29], &intbuf[30], &intbuf[31]);
|
||||
|
||||
buf[pos+0] = (float) (intbuf[0] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+1] = (float) (intbuf[1] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+2] = (float) (intbuf[2] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+3] = (float) (intbuf[3] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+4] = (float) (intbuf[4] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+5] = (float) (intbuf[5] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+6] = (float) (intbuf[6] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+7] = (float) (intbuf[7] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+8] = (float) (intbuf[8] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+9] = (float) (intbuf[9] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+10] = (float) (intbuf[10] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+11] = (float) (intbuf[11] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+12] = (float) (intbuf[12] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+13] = (float) (intbuf[13] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+14] = (float) (intbuf[14] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+15] = (float) (intbuf[15] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+16] = (float) (intbuf[16] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+17] = (float) (intbuf[17] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+18] = (float) (intbuf[18] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+19] = (float) (intbuf[19] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+20] = (float) (intbuf[20] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+21] = (float) (intbuf[21] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+22] = (float) (intbuf[22] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+23] = (float) (intbuf[23] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+24] = (float) (intbuf[24] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+25] = (float) (intbuf[25] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+26] = (float) (intbuf[26] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+27] = (float) (intbuf[27] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+28] = (float) (intbuf[28] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+29] = (float) (intbuf[29] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+30] = (float) (intbuf[30] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+31] = (float) (intbuf[31] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+0] = (float) (intbuf[0] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+1] = (float) (intbuf[1] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+2] = (float) (intbuf[2] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+3] = (float) (intbuf[3] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+4] = (float) (intbuf[4] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+5] = (float) (intbuf[5] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+6] = (float) (intbuf[6] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+7] = (float) (intbuf[7] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+8] = (float) (intbuf[8] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+9] = (float) (intbuf[9] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+10] = (float) (intbuf[10] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+11] = (float) (intbuf[11] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+12] = (float) (intbuf[12] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+13] = (float) (intbuf[13] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+14] = (float) (intbuf[14] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+15] = (float) (intbuf[15] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+16] = (float) (intbuf[16] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+17] = (float) (intbuf[17] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+18] = (float) (intbuf[18] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+19] = (float) (intbuf[19] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+20] = (float) (intbuf[20] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+21] = (float) (intbuf[21] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+22] = (float) (intbuf[22] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+23] = (float) (intbuf[23] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+24] = (float) (intbuf[24] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+25] = (float) (intbuf[25] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+26] = (float) (intbuf[26] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+27] = (float) (intbuf[27] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+28] = (float) (intbuf[28] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+29] = (float) (intbuf[29] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+30] = (float) (intbuf[30] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+31] = (float) (intbuf[31] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
|
||||
++(*it);
|
||||
}
|
||||
@ -683,7 +683,7 @@ void InterpolatorsIF<OutBits, InBits>::interpolate16_inf(SampleVector::iterator*
|
||||
m_interpolator16.myInterpolateInf(&intbuf[56], &intbuf[57], &intbuf[58], &intbuf[59], &intbuf[60], &intbuf[61], &intbuf[62], &intbuf[63]);
|
||||
|
||||
for (int i = 0; i < 64; i++) {
|
||||
buf[pos+i] = (float) (intbuf[i] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+i] = (float) (intbuf[i] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -739,7 +739,7 @@ void InterpolatorsIF<OutBits, InBits>::interpolate16_sup(SampleVector::iterator*
|
||||
m_interpolator16.myInterpolateSup(&intbuf[56], &intbuf[57], &intbuf[58], &intbuf[59], &intbuf[60], &intbuf[61], &intbuf[62], &intbuf[63]);
|
||||
|
||||
for (int i = 0; i < 64; i++) {
|
||||
buf[pos+i] = (float) (intbuf[i] / interpolation_shifts<OutBits, InBits>::post16);
|
||||
buf[pos+i] = (float) (intbuf[i] >> interpolation_shifts<OutBits, InBits>::post16);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -802,70 +802,70 @@ void InterpolatorsIF<OutBits, InBits>::interpolate32_cen(SampleVector::iterator*
|
||||
m_interpolator32.myInterpolate(&intbuf[56], &intbuf[57], &intbuf[58], &intbuf[59]);
|
||||
m_interpolator32.myInterpolate(&intbuf[60], &intbuf[61], &intbuf[62], &intbuf[63]);
|
||||
|
||||
buf[pos+0] = (float) (intbuf[0] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+1] = (float) (intbuf[1] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+2] = (float) (intbuf[2] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+3] = (float) (intbuf[3] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+4] = (float) (intbuf[4] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+5] = (float) (intbuf[5] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+6] = (float) (intbuf[6] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+7] = (float) (intbuf[7] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+8] = (float) (intbuf[8] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+9] = (float) (intbuf[9] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+10] = (float) (intbuf[10] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+11] = (float) (intbuf[11] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+12] = (float) (intbuf[12] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+13] = (float) (intbuf[13] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+14] = (float) (intbuf[14] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+15] = (float) (intbuf[15] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+16] = (float) (intbuf[16] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+17] = (float) (intbuf[17] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+18] = (float) (intbuf[18] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+19] = (float) (intbuf[19] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+20] = (float) (intbuf[20] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+21] = (float) (intbuf[21] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+22] = (float) (intbuf[22] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+23] = (float) (intbuf[23] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+24] = (float) (intbuf[24] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+25] = (float) (intbuf[25] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+26] = (float) (intbuf[26] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+27] = (float) (intbuf[27] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+28] = (float) (intbuf[28] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+29] = (float) (intbuf[29] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+30] = (float) (intbuf[30] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+31] = (float) (intbuf[31] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+32] = (float) (intbuf[32] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+33] = (float) (intbuf[33] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+34] = (float) (intbuf[34] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+35] = (float) (intbuf[35] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+36] = (float) (intbuf[36] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+37] = (float) (intbuf[37] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+38] = (float) (intbuf[38] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+39] = (float) (intbuf[39] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+40] = (float) (intbuf[40] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+41] = (float) (intbuf[41] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+42] = (float) (intbuf[42] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+43] = (float) (intbuf[43] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+44] = (float) (intbuf[44] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+45] = (float) (intbuf[45] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+46] = (float) (intbuf[46] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+47] = (float) (intbuf[47] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+48] = (float) (intbuf[48] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+49] = (float) (intbuf[49] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+50] = (float) (intbuf[50] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+51] = (float) (intbuf[51] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+52] = (float) (intbuf[52] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+53] = (float) (intbuf[53] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+54] = (float) (intbuf[54] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+55] = (float) (intbuf[55] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+56] = (float) (intbuf[56] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+57] = (float) (intbuf[57] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+58] = (float) (intbuf[58] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+59] = (float) (intbuf[59] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+60] = (float) (intbuf[60] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+61] = (float) (intbuf[61] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+62] = (float) (intbuf[62] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+63] = (float) (intbuf[63] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+0] = (float) (intbuf[0] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+1] = (float) (intbuf[1] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+2] = (float) (intbuf[2] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+3] = (float) (intbuf[3] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+4] = (float) (intbuf[4] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+5] = (float) (intbuf[5] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+6] = (float) (intbuf[6] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+7] = (float) (intbuf[7] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+8] = (float) (intbuf[8] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+9] = (float) (intbuf[9] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+10] = (float) (intbuf[10] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+11] = (float) (intbuf[11] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+12] = (float) (intbuf[12] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+13] = (float) (intbuf[13] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+14] = (float) (intbuf[14] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+15] = (float) (intbuf[15] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+16] = (float) (intbuf[16] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+17] = (float) (intbuf[17] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+18] = (float) (intbuf[18] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+19] = (float) (intbuf[19] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+20] = (float) (intbuf[20] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+21] = (float) (intbuf[21] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+22] = (float) (intbuf[22] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+23] = (float) (intbuf[23] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+24] = (float) (intbuf[24] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+25] = (float) (intbuf[25] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+26] = (float) (intbuf[26] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+27] = (float) (intbuf[27] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+28] = (float) (intbuf[28] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+29] = (float) (intbuf[29] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+30] = (float) (intbuf[30] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+31] = (float) (intbuf[31] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+32] = (float) (intbuf[32] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+33] = (float) (intbuf[33] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+34] = (float) (intbuf[34] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+35] = (float) (intbuf[35] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+36] = (float) (intbuf[36] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+37] = (float) (intbuf[37] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+38] = (float) (intbuf[38] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+39] = (float) (intbuf[39] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+40] = (float) (intbuf[40] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+41] = (float) (intbuf[41] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+42] = (float) (intbuf[42] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+43] = (float) (intbuf[43] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+44] = (float) (intbuf[44] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+45] = (float) (intbuf[45] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+46] = (float) (intbuf[46] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+47] = (float) (intbuf[47] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+48] = (float) (intbuf[48] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+49] = (float) (intbuf[49] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+50] = (float) (intbuf[50] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+51] = (float) (intbuf[51] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+52] = (float) (intbuf[52] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+53] = (float) (intbuf[53] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+54] = (float) (intbuf[54] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+55] = (float) (intbuf[55] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+56] = (float) (intbuf[56] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+57] = (float) (intbuf[57] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+58] = (float) (intbuf[58] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+59] = (float) (intbuf[59] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+60] = (float) (intbuf[60] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+61] = (float) (intbuf[61] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+62] = (float) (intbuf[62] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+63] = (float) (intbuf[63] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
|
||||
++(*it);
|
||||
}
|
||||
@ -939,7 +939,7 @@ void InterpolatorsIF<OutBits, InBits>::interpolate32_inf(SampleVector::iterator*
|
||||
m_interpolator32.myInterpolateInf(&intbuf[120], &intbuf[121], &intbuf[122], &intbuf[123], &intbuf[124], &intbuf[125], &intbuf[126], &intbuf[127]);
|
||||
|
||||
for (int i = 0; i < 128; i++) {
|
||||
buf[pos+i] = intbuf[i] / interpolation_shifts<OutBits, InBits>::post32;
|
||||
buf[pos+i] = (float) (intbuf[i] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1012,7 +1012,7 @@ void InterpolatorsIF<OutBits, InBits>::interpolate32_sup(SampleVector::iterator*
|
||||
m_interpolator32.myInterpolateSup(&intbuf[120], &intbuf[121], &intbuf[122], &intbuf[123], &intbuf[124], &intbuf[125], &intbuf[126], &intbuf[127]);
|
||||
|
||||
for (int i = 0; i < 128; i++) {
|
||||
buf[pos+i] = (float) (intbuf[i] / interpolation_shifts<OutBits, InBits>::post32);
|
||||
buf[pos+i] = (float) (intbuf[i] >> interpolation_shifts<OutBits, InBits>::post32);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1108,134 +1108,134 @@ void InterpolatorsIF<OutBits, InBits>::interpolate64_cen(SampleVector::iterator*
|
||||
m_interpolator64.myInterpolate(&intbuf[120], &intbuf[121], &intbuf[122], &intbuf[123]);
|
||||
m_interpolator64.myInterpolate(&intbuf[124], &intbuf[125], &intbuf[126], &intbuf[127]);
|
||||
|
||||
buf[pos+0] = (float) (intbuf[0] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+1] = (float) (intbuf[1] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+2] = (float) (intbuf[2] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+3] = (float) (intbuf[3] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+4] = (float) (intbuf[4] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+5] = (float) (intbuf[5] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+6] = (float) (intbuf[6] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+7] = (float) (intbuf[7] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+8] = (float) (intbuf[8] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+9] = (float) (intbuf[9] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+10] = (float) (intbuf[10] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+11] = (float) (intbuf[11] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+12] = (float) (intbuf[12] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+13] = (float) (intbuf[13] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+14] = (float) (intbuf[14] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+15] = (float) (intbuf[15] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+16] = (float) (intbuf[16] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+17] = (float) (intbuf[17] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+18] = (float) (intbuf[18] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+19] = (float) (intbuf[19] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+20] = (float) (intbuf[20] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+21] = (float) (intbuf[21] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+22] = (float) (intbuf[22] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+23] = (float) (intbuf[23] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+24] = (float) (intbuf[24] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+25] = (float) (intbuf[25] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+26] = (float) (intbuf[26] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+27] = (float) (intbuf[27] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+28] = (float) (intbuf[28] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+29] = (float) (intbuf[29] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+30] = (float) (intbuf[30] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+31] = (float) (intbuf[31] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+32] = (float) (intbuf[32] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+33] = (float) (intbuf[33] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+34] = (float) (intbuf[34] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+35] = (float) (intbuf[35] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+36] = (float) (intbuf[36] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+37] = (float) (intbuf[37] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+38] = (float) (intbuf[38] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+39] = (float) (intbuf[39] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+40] = (float) (intbuf[40] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+41] = (float) (intbuf[41] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+42] = (float) (intbuf[42] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+43] = (float) (intbuf[43] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+44] = (float) (intbuf[44] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+45] = (float) (intbuf[45] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+46] = (float) (intbuf[46] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+47] = (float) (intbuf[47] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+48] = (float) (intbuf[48] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+49] = (float) (intbuf[49] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+50] = (float) (intbuf[50] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+51] = (float) (intbuf[51] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+52] = (float) (intbuf[52] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+53] = (float) (intbuf[53] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+54] = (float) (intbuf[54] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+55] = (float) (intbuf[55] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+56] = (float) (intbuf[56] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+57] = (float) (intbuf[57] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+58] = (float) (intbuf[58] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+59] = (float) (intbuf[59] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+60] = (float) (intbuf[60] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+61] = (float) (intbuf[61] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+62] = (float) (intbuf[62] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+63] = (float) (intbuf[63] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+64] = (float) (intbuf[64] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+65] = (float) (intbuf[65] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+66] = (float) (intbuf[66] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+67] = (float) (intbuf[67] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+68] = (float) (intbuf[68] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+69] = (float) (intbuf[69] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+70] = (float) (intbuf[70] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+71] = (float) (intbuf[71] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+72] = (float) (intbuf[72] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+73] = (float) (intbuf[73] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+74] = (float) (intbuf[74] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+75] = (float) (intbuf[75] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+76] = (float) (intbuf[76] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+77] = (float) (intbuf[77] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+78] = (float) (intbuf[78] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+79] = (float) (intbuf[79] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+80] = (float) (intbuf[80] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+81] = (float) (intbuf[81] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+82] = (float) (intbuf[82] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+83] = (float) (intbuf[83] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+84] = (float) (intbuf[84] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+85] = (float) (intbuf[85] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+86] = (float) (intbuf[86] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+87] = (float) (intbuf[87] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+88] = (float) (intbuf[88] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+89] = (float) (intbuf[89] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+90] = (float) (intbuf[90] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+91] = (float) (intbuf[91] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+92] = (float) (intbuf[92] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+93] = (float) (intbuf[93] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+94] = (float) (intbuf[94] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+95] = (float) (intbuf[95] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+96] = (float) (intbuf[96] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+97] = (float) (intbuf[97] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+98] = (float) (intbuf[98] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+99] = (float) (intbuf[99] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+100] = (float) (intbuf[100] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+101] = (float) (intbuf[101] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+102] = (float) (intbuf[102] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+103] = (float) (intbuf[103] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+104] = (float) (intbuf[104] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+105] = (float) (intbuf[105] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+106] = (float) (intbuf[106] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+107] = (float) (intbuf[107] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+108] = (float) (intbuf[108] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+109] = (float) (intbuf[109] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+110] = (float) (intbuf[110] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+111] = (float) (intbuf[111] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+112] = (float) (intbuf[112] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+113] = (float) (intbuf[113] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+114] = (float) (intbuf[114] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+115] = (float) (intbuf[115] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+116] = (float) (intbuf[116] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+117] = (float) (intbuf[117] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+118] = (float) (intbuf[118] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+119] = (float) (intbuf[119] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+120] = (float) (intbuf[120] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+121] = (float) (intbuf[121] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+122] = (float) (intbuf[122] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+123] = (float) (intbuf[123] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+124] = (float) (intbuf[124] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+125] = (float) (intbuf[125] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+126] = (float) (intbuf[126] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+127] = (float) (intbuf[127] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+0] = (float) (intbuf[0] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+1] = (float) (intbuf[1] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+2] = (float) (intbuf[2] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+3] = (float) (intbuf[3] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+4] = (float) (intbuf[4] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+5] = (float) (intbuf[5] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+6] = (float) (intbuf[6] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+7] = (float) (intbuf[7] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+8] = (float) (intbuf[8] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+9] = (float) (intbuf[9] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+10] = (float) (intbuf[10] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+11] = (float) (intbuf[11] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+12] = (float) (intbuf[12] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+13] = (float) (intbuf[13] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+14] = (float) (intbuf[14] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+15] = (float) (intbuf[15] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+16] = (float) (intbuf[16] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+17] = (float) (intbuf[17] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+18] = (float) (intbuf[18] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+19] = (float) (intbuf[19] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+20] = (float) (intbuf[20] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+21] = (float) (intbuf[21] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+22] = (float) (intbuf[22] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+23] = (float) (intbuf[23] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+24] = (float) (intbuf[24] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+25] = (float) (intbuf[25] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+26] = (float) (intbuf[26] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+27] = (float) (intbuf[27] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+28] = (float) (intbuf[28] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+29] = (float) (intbuf[29] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+30] = (float) (intbuf[30] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+31] = (float) (intbuf[31] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+32] = (float) (intbuf[32] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+33] = (float) (intbuf[33] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+34] = (float) (intbuf[34] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+35] = (float) (intbuf[35] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+36] = (float) (intbuf[36] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+37] = (float) (intbuf[37] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+38] = (float) (intbuf[38] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+39] = (float) (intbuf[39] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+40] = (float) (intbuf[40] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+41] = (float) (intbuf[41] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+42] = (float) (intbuf[42] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+43] = (float) (intbuf[43] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+44] = (float) (intbuf[44] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+45] = (float) (intbuf[45] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+46] = (float) (intbuf[46] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+47] = (float) (intbuf[47] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+48] = (float) (intbuf[48] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+49] = (float) (intbuf[49] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+50] = (float) (intbuf[50] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+51] = (float) (intbuf[51] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+52] = (float) (intbuf[52] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+53] = (float) (intbuf[53] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+54] = (float) (intbuf[54] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+55] = (float) (intbuf[55] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+56] = (float) (intbuf[56] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+57] = (float) (intbuf[57] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+58] = (float) (intbuf[58] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+59] = (float) (intbuf[59] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+60] = (float) (intbuf[60] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+61] = (float) (intbuf[61] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+62] = (float) (intbuf[62] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+63] = (float) (intbuf[63] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+64] = (float) (intbuf[64] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+65] = (float) (intbuf[65] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+66] = (float) (intbuf[66] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+67] = (float) (intbuf[67] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+68] = (float) (intbuf[68] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+69] = (float) (intbuf[69] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+70] = (float) (intbuf[70] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+71] = (float) (intbuf[71] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+72] = (float) (intbuf[72] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+73] = (float) (intbuf[73] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+74] = (float) (intbuf[74] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+75] = (float) (intbuf[75] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+76] = (float) (intbuf[76] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+77] = (float) (intbuf[77] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+78] = (float) (intbuf[78] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+79] = (float) (intbuf[79] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+80] = (float) (intbuf[80] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+81] = (float) (intbuf[81] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+82] = (float) (intbuf[82] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+83] = (float) (intbuf[83] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+84] = (float) (intbuf[84] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+85] = (float) (intbuf[85] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+86] = (float) (intbuf[86] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+87] = (float) (intbuf[87] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+88] = (float) (intbuf[88] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+89] = (float) (intbuf[89] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+90] = (float) (intbuf[90] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+91] = (float) (intbuf[91] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+92] = (float) (intbuf[92] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+93] = (float) (intbuf[93] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+94] = (float) (intbuf[94] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+95] = (float) (intbuf[95] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+96] = (float) (intbuf[96] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+97] = (float) (intbuf[97] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+98] = (float) (intbuf[98] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+99] = (float) (intbuf[99] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+100] = (float) (intbuf[100] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+101] = (float) (intbuf[101] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+102] = (float) (intbuf[102] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+103] = (float) (intbuf[103] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+104] = (float) (intbuf[104] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+105] = (float) (intbuf[105] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+106] = (float) (intbuf[106] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+107] = (float) (intbuf[107] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+108] = (float) (intbuf[108] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+109] = (float) (intbuf[109] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+110] = (float) (intbuf[110] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+111] = (float) (intbuf[111] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+112] = (float) (intbuf[112] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+113] = (float) (intbuf[113] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+114] = (float) (intbuf[114] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+115] = (float) (intbuf[115] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+116] = (float) (intbuf[116] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+117] = (float) (intbuf[117] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+118] = (float) (intbuf[118] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+119] = (float) (intbuf[119] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+120] = (float) (intbuf[120] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+121] = (float) (intbuf[121] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+122] = (float) (intbuf[122] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+123] = (float) (intbuf[123] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+124] = (float) (intbuf[124] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+125] = (float) (intbuf[125] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+126] = (float) (intbuf[126] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+127] = (float) (intbuf[127] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
|
||||
++(*it);
|
||||
}
|
||||
@ -1316,7 +1316,7 @@ void InterpolatorsIF<OutBits, InBits>::interpolate64_inf(SampleVector::iterator*
|
||||
}
|
||||
|
||||
for (int i = 0; i < 256; i++) {
|
||||
buf[pos+i] = (float) (intbuf[i] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+i] = (float) (intbuf[i] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1396,7 +1396,7 @@ void InterpolatorsIF<OutBits, InBits>::interpolate64_sup(SampleVector::iterator*
|
||||
}
|
||||
|
||||
for (int i = 0; i < 256; i++) {
|
||||
buf[pos+i] = (float) (intbuf[i] / interpolation_shifts<OutBits, InBits>::post64);
|
||||
buf[pos+i] = (float) (intbuf[i] >> interpolation_shifts<OutBits, InBits>::post64);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user