Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

IPP decoding question

dirks
Beginner
421 Views

Hello,

I try to decode a G729 audio stream, using the evaluation version of IPP 5.1

After a lot of effort I could hear an "alian like" sound after decoding.

I did the same exercise with voiceage decode function and the sound was very very clear.

my question is, what could be the reason for this? the input raw data (payload) is the same for both the decoders, except the voiceage decoder is returning a short * and the IPP decoder is returning a char *

is there anything I should do with the output stream?

please help me since I want to choose for IPP, but if this thing is only working on voiceage ......

thanks

Dirk

0 Kudos
7 Replies
Vladimir_Dudnik
Employee
421 Views

Hi Dirk,

I forwarded your question to our experts and still waiting for answer from them. I think if you can attach sample bitstream it can help to speedup investigation

Regards,
Vladimir

0 Kudos
dirks
Beginner
421 Views

Hello Vladimir,

Thanks for the reply. Any idea how I should add the attachment?

We have been looking at this issue already for more then a week. We believe that we still need to do something with the input stream or the output stream.

thanks

dirk

0 Kudos
dirks
Beginner
421 Views

Hello Vladimir,

where should I post the input stream, email address?

thanks

Dirk

0 Kudos
ligoban
Beginner
421 Views
I've used 3different softphones while testing my application that uses IPP, and I've got no problem. Perhaps, if the IPP decoder returns char*, you should try to swap the first and the second bytes of the PCM sample. Have you tried this?
0 Kudos
Vyacheslav_Baranniko
New Contributor II
421 Views

Hello Dirk

Intel decoder uses char* buffer to return 16bit little-endian PCM data.

So, just cast it to short* on LE machine, that's it.

Vyacheslav

0 Kudos
dirks
Beginner
421 Views

hello,

we're working on an intel machine, so LE is ok.

we just casted char* to short*, but this has no effect

(short *)outputstream

how do we have to this? (just casting is apparently not good enough)

do we have to do something additional with the output stream??

please advise,

thanks

Dirk

0 Kudos
Vyacheslav_Baranniko
New Contributor II
421 Views

OK, short* cast may not help here.

Main reason,Intel codecdecodesG729(A) RTP payload (RFC3551), while VA_G729 decodes 10*8 packed bitstream, with 10 prm's compacted into 80bits, which differsfrom RTP bits ordering.

Vyacheslav

0 Kudos
Reply