fixed-point: converted the pitch gain quantisation, except for the codebook
itself
This commit is contained in:
parent
a78dc946cd
commit
92376697c6
3 changed files with 29 additions and 12 deletions
|
@ -130,7 +130,10 @@ int main(int argc, char *argv[])
|
|||
out[i] = in[i];
|
||||
#endif
|
||||
for (i=0;i<frame_size*channels;i++)
|
||||
{
|
||||
rmsd += (in[i]-out[i])*1.0*(in[i]-out[i]);
|
||||
out[i] -= in[i];
|
||||
}
|
||||
count++;
|
||||
fwrite(out, sizeof(short), (frame_size-skip)*channels, fout);
|
||||
skip = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue