[FFmpeg-devel] [PATCH] Add a G.722 encoder

Martin Storsjö martin
Fri Sep 10 15:24:00 CEST 2010


Hi,

As in $subj, the first patch adds a straightforward encoder that produces 
bitexact output matching the reference test vectors. The second patch adds 
trellis support to the encoder, closely modelled after the code in 
libavcodec/adpcm.c.

I'm only doing trellis on the lower sub-band, since the higher only is 
encoded with 2 bits. And if I'd want to do trellis for both of them at the 
same time, I'd have to run the QMF on the output from both subbands in 
order to get one decoded sample values, in order to have one difference 
instead of two to compare.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-G.722-encoder.patch
Type: text/x-diff
Size: 6293 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100910/30df9460/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-initial-trellis-support-in-the-G.722-encoder.patch
Type: text/x-diff
Size: 6768 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100910/30df9460/attachment-0001.patch>



More information about the ffmpeg-devel mailing list