[FFmpeg-devel] [PATCH] QCELP decoder

Kenan Gillet kenan.gillet
Tue Sep 30 03:36:30 CEST 2008

Hi all,

First I would like to thank the all FFmpeg community for an awesome  

I have been using FFmpeg and the SOC QCELP decoder for some time and I
wanted to contribute back. I have not program in C in a while and feel  
kind of rusty,
but I hope it will up to your standard.

Anyway, enough blabla and here is a patch for decoding QCELP based on
the last commit in SOC (r2373).

It implements:
- the 4 main rates: 1, 1/2, 1/4, and 1/8
- the erasure of the frame for insufficient quality

It still misses:
- blank rate, for lack of samples
- post-filtering because right now it creates some cracks in some of  
the samples.
- final gain control because it only make sense if the post-filtering  
is done.

It works with all the samples at:
- http://samples.mplayerhq.hu/A-codecs/qclp/
- http://samples.mplayerhq.hu/mov/qtaudio/surge-1-16-B-Qclp.mov
- http://samples.mplayerhq.hu/k3g/vidoo_MP4_audio_Qcelp13k.k3g


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qcelp.patch.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080929/317fdd5c/attachment.txt>
-------------- next part --------------

More information about the ffmpeg-devel mailing list