I have created a project by evc4.0 and tried to port the mp3 encoder sample for linux on pca downloaded from intel website to WinCE 4.2 environment. I think the interface for two platforms is same.
The project is compiled and linked ok and I transfer the exe file to MainstoneII(Intel PXA 27X DVK). I try to encode input pcm stream(44.1khz,2 channels, 16 bits per sample) to mp3(128kbs). The input stream is 12 seconds and it cost me about 80 seconds to finish the encoding. I think it is too long and when I change the input stream to 1 channel, 44.1khz, 16 bits per sample), the cost time is almost the same as the first experiment.
When I use Intel IPP40 library and run the sample w_ipp-MP3-float-encode_p_4.0.005 on my pc(P4 2.8g,512m). It costs about 1 second to encode 12 seconds length input pcm stream(44.1khz,2 channels, 16 bits per sample) to mp3(128kbs).
I donot know whether IPP for windows on Pentium has more optimization than IPP for windows on PCA. Or whether the sample download from Intel Website has not used the IPP efficiently.
My target is on pxa 270 ,wince 4.2 platform, when the input pcm stream is 44.1khz, 2 channels, 16 bits per sample,it can encode the input stream to mp3(128kbs) at the same time(need not buffer the input pcm stream). I want know whether ipp 4.0 can get it on my hardware and software platform.