Coding distortion for a G.711 codec.
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Coding distortion for a G.711 codec.

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> DSP
Author Message
Guest






Posted: Wed Dec 21, 2005 1:16 am    Post subject: Coding distortion for a G.711 codec. Reply with quote

I have implemented a G.711 encoder and decoder over the StarCore 1400.
I need to determine the distortion produced by the conversion of linear
16 bit samples to 8 bit non linear PCM (encoding) and back to 16 bit
linear samples (decoding).

I was looking for a standard look-up table or something of that sort
which tells me what 8 bit PCM value maps onto a 16 bit linear sample
and conversely what 16 bit sample (actually 14 bit left justified
value) corresponds to the 8 bit PCM value.

I can imagine that the table for the encoding operation will be quite
huge. If anyone has an implementation of the encoder and decoder, they
could run the entire range of 16 bit numbers and produce a table of the
8 bit PCM values and conversely, run the decoder on these 8 bit values
and get the corresponding 16 bit linear sample. I could check my values
against these if anyone would be so kind to provide them to me.

Any other methods of verifying the correctness of my implementation,
are welcome.

Regards,
T.
Back to top
Phil Frisbie, Jr.
Guest





Posted: Wed Dec 21, 2005 11:18 pm    Post subject: Re: Coding distortion for a G.711 codec. Reply with quote

tanmay.zargar@gmail.com wrote:

Quote:
I have implemented a G.711 encoder and decoder over the StarCore 1400.
I need to determine the distortion produced by the conversion of linear
16 bit samples to 8 bit non linear PCM (encoding) and back to 16 bit
linear samples (decoding).

Is this u-law, or a-law? If it is u-law you can run those samples through my
u-law codec that is part of my free and open source library HawkVoiceDI.

--
Phil Frisbie, Jr.
Hawk Software
http://www.hawksoft.com
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> DSP All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB