[FFmpeg-devel] [PATCH] ff_shift (left shift with allowed negative offset) implementation

Måns Rullgård mans
Sat May 10 16:38:32 CEST 2008


Diego Biurrun <diego at biurrun.de> writes:

> On Sat, May 10, 2008 at 02:29:59PM +0100, M?ns Rullg?rd wrote:
>> Diego Biurrun <diego at biurrun.de> writes:
>> 
>> > On Sat, May 10, 2008 at 01:48:28PM +0700, Vladimir Voroshilov wrote:
>> >> 
>> >> Code in attached patch is used in several places of G.729 code.
>> >> Michael asked me to make implement it as separate routine.
>> >> So here is it.
>> >> Is patch (routine/file name)  ok ?
>> >> 
>> >> --- a/libavcodec/acelp_math.h
>> >> +++ b/libavcodec/acelp_math.h
>> >> @@ -69,4 +69,13 @@ static int sum_of_squares(const int16_t* speech, int length, int offset, int shi
>> >>  
>> >> +/**
>> >> + * \brief Shift value left or right depending on sign of offset parameter
>> >
>> > .
>> 
>> And the winner of the prize for Shortest Reply is....
>> 
>> > Diego
>
> \o/
>
> And that is a record that I will keep for eternity ;-)
>
> Diego
>

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list