[Ffmpeg-devel] [RFC] Differences between Cook and G.722.1

Ramiro Ribeiro Polla ramiro
Sat Apr 28 02:50:43 CEST 2007


I've been adapting the G.722.1 reference decoder for FFmpeg, and then 
noticed it was very related to Cook.
The decode_envelope functions behave alike, but categorize is different. 
I haven't completely understood decode_vectors yet.

Attached is a patch for cook.c that makes categorize behave exactly like 
the reference decoder.

Could the people that wrote, and use, the Cook decoder see if these 
changes make any sense? Or was Cook implemented this different from G.722.1?

Is the output with this patch the same/better/worse?

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cook_g7221.diff
Type: text/x-patch
Size: 2060 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070427/b5acab89/attachment.bin>

More information about the ffmpeg-devel mailing list