[FFmpeg-cvslog] r19955 - in trunk/libavcodec: dsputil.c dsputil.h
Michael Niedermayer
michaelni
Wed Sep 23 01:41:38 CEST 2009
On Tue, Sep 22, 2009 at 11:50:42PM +0200, Vitor Sessak wrote:
> mru wrote:
>> Author: mru
>> Date: Tue Sep 22 02:48:41 2009
>> New Revision: 19955
>> Log:
>> Add some dsputil functions useful for AAC decoder
>> Modified:
>> trunk/libavcodec/dsputil.c
>> trunk/libavcodec/dsputil.h
>> Modified: trunk/libavcodec/dsputil.c
>> ==============================================================================
>> --- trunk/libavcodec/dsputil.c Mon Sep 21 23:00:18 2009 (r19954)
>> +++ trunk/libavcodec/dsputil.c Tue Sep 22 02:48:41 2009 (r19955)
>> @@ -4089,6 +4089,80 @@ void ff_vector_fmul_window_c(float *dst,
>> }
>
> [...]
>
>> +static float scalarproduct_float_c(const float *v1, const float *v2, int
>> len)
>> +{
>> + float p = 0.0;
>> + int i;
>> +
>> + for (i = 0; i < len; i++)
>> + p += v1[i] * v2[i];
>> +
>> + return p;
>> +}
>> +
>
> I suggest moving ff_dot_productf() from celp_math.c to here instead of
> duplicating it.
no objection but i think dsp is getting somewhet bloated, it maybe should be
split one day ...
of course iam also not suggesting to overdo it and end up with a huge mess
of a hundread contexts ...
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- 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-cvslog/attachments/20090923/d457d296/attachment.pgp>
More information about the ffmpeg-cvslog
mailing list