[FFmpeg-devel] [PATCH] Common ACELP code & G.729 [4/7] - G.729 core

Vladimir Voroshilov voroshil
Mon Jun 30 22:06:40 CEST 2008


2008/7/1 Vitor Sessak <vitor1001 at gmail.com>:
> Hi
>
> Vladimir Voroshilov wrote:
>> Here is current version of G.729 core code.
>>
>
> [...]
>
>> +        if(ff_acelp_lp_synthesis_filter(
>> +            synth+10,
>> +            &lp[i][0],
>> +            ctx->exc  + i * ctx->subframe_size,
>> +            ctx->subframe_size,
>> +            11,
>> +            1))
>
> I think my changes to acelp_filters.c broke your code. I think now it
> should be
>
>         if(ff_acelp_lp_synthesis_filter(
>             synth+10,
>             &lp[i][0],

&lp[i][1]

>             ctx->exc  + i * ctx->subframe_size - 1,

this "-1" is wrong.

>             ctx->subframe_size,
>             10,
>             1, 0x800))
>

Updated patch is attached.

-- 
Regards,
Vladimir Voroshilov mailto:voroshil at gmail.com
JID: voroshil at gmail.com, voroshil at jabber.ru
ICQ: 95587719
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04_g729dec_73.diff
Type: text/x-diff
Size: 30243 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080701/2212753d/attachment.diff>



More information about the ffmpeg-devel mailing list