Hi
i am new Intel ipp, when i go through old code some one in my company did i got doubts on resampling
bufsize[k] = 200;
history[k] = 20;
time1[k] = 20;
lastread[k] = 2*20;
inRate[k] = 8000;
outRate[k] = 16000;
if(1)
{
ippsResamplePolyphaseFixedGetSize_16s(inRate[k],outRate[k],
2*(history[k]-1),&size[k],&len[k],&height[k],ippAlgHintAccurate);
state[k]=(IppsResamlingPolyphaseFixed_16s*)ippsMalloc_8u(size[k]);
ippsResamplePolyphaseFixedInit_16s(inRate[k],outRate[k],
2*(history[k]-1),0.95f,9.0f,state[k],ippAlgHintAccurate);
inBuf[k]=ippsMalloc_16s(bufsize[k]+history[k]+2);
outBuf[k]=ippsMalloc_16s((int)((bufsize[k]-history[k])*outRate[k]/(float)inRate[k]+2));
ippsZero_16s(inBuf[k],lastread[k]);
printf("\n bufsize %d history %d time %f lastread %d \n",
bufsize[k],history[k],time1[k], lastread[k]);
}
on what basis bufsize, history, time1 and lastread values are taken, where in document 8.1 document values are like this int bufsize=4096;
int history=128;
double time=history;
int lastread=history;
please help about this and little information about ippsResamplePolyphaseFixed_16s and ippsMove_16s(inBuf+(int)time-history,inBuf,lastread+history-(int)time) what actually ippsMove_16s doing from 8.1 document
Thanks