[FFmpeg-devel] AMR-NB decoder

Robert Swain robert.swain
Sun Aug 9 17:13:32 CEST 2009


2009/8/9 Colin McQuillan <m.niloc at googlemail.com>:
> 2009/8/8 Michael Niedermayer <michaelni at gmx.at>:
>> On Sat, Aug 08, 2009 at 04:09:39PM +0100, Colin McQuillan wrote:
>>> Index: libavcodec/acelp_vectors.h
>>> ===================================================================
>>> --- libavcodec/acelp_vectors.h ? ? ? ?(revision 19574)
>>> +++ libavcodec/acelp_vectors.h ? ? ? ?(working copy)
>>> @@ -164,4 +164,22 @@
>>> ?void ff_weighted_vector_sumf(float *out, const float *in_a, const float *in_b,
>>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? float weight_coeff_a, float weight_coeff_b, int length);
>>>
>>> +/**
>>> + * Set the energy of a vector by scaling
>>> + *
>>> + * @param v_out output vector
>>> + * @param v_in vector to set energy of
>>> + * @param energy new energy
>>
>>> + * @param length vectors length
>>
>> i dont like how you use the term length here, the length of a vector is
>> something different
>
> Here it meant the number of elements. To avoid confusion, I can
> instead call it the number of samples in a signal.

Or nel (number of elements) or something similar if we have any kind
of convention.

Regards,
Rob



More information about the ffmpeg-devel mailing list