[FFmpeg-devel] [PATCH] Some ra144.c simplifications
Michael Niedermayer
michaelni
Wed May 28 01:00:52 CEST 2008
On Tue, May 27, 2008 at 09:16:09PM +0200, Vitor Sessak wrote:
> Michael Niedermayer wrote:
>> On Sun, May 25, 2008 at 07:11:52PM +0200, Vitor Sessak wrote:
>>> Michael Niedermayer wrote:
>>>> On Sun, May 25, 2008 at 06:05:15PM +0200, Vitor Sessak wrote:
>>>> [...]
>>>>>>> ok
>>>>>> One more...
>>>>> ... and some more cleanup:
>>>>>
>>>>> ra144_vector_add_wav.diff: Make add_wav() receive a vector instead of
>>>>> three integers
>>>>>
>>>>> ra144_params_dec2.diff: Do not calculate anything based in l, it is
>>>>> unrolled in the loop anyway
>>>> ok
>>> Now s/(unsigned) short/(u)int16_t.
>> ok
>
> Next one. dec2() interpolates the block coefficients from the previous one
> and fall back to a block-dependent schema if the interpolation results in
> an unstable filter...
[...]
> + // Interpolate block coefficients from the this frame forth block and
> + // last frame forth block
> for (x=0; x<30; x++)
> - decsp[x] = (a * inp[x] + b * inp2[x]) >> 2;
> + decsp[x] = (a * ractx->lpc_coef[x] + b * ractx->lpc_coef_old[x])>> 2;
ff_acelp_weighted_vector_sum()
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Frequently ignored awnser#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080528/1de3a82a/attachment.pgp>
More information about the ffmpeg-devel
mailing list