[FFmpeg-devel] [RFC] Differences between Cook and G.722.1
Ramiro Ribeiro Polla
ramiro
Fri May 4 23:38:09 CEST 2007
Michael Niedermayer wrote:
> Hi
>
> On Fri, Apr 27, 2007 at 09:50:43PM -0300, Ramiro Ribeiro Polla wrote:
>
>> Hello,
>>
>> 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?
>>
>
> i cant help you with that as i dunno cook ...
>
>
>> Is the output with this patch the same/better/worse?
>>
>
> why not try that yourself, iam sure there are some cook files on mphq :)
>
>
Tested all files that currently work. The output from categorize() is
somewhat different, but the int16_t* output is identical.
Sending small patches in separate mails.
Ramiro Polla
More information about the ffmpeg-devel
mailing list