[FFmpeg-devel] [PATCH] ff_shift (left shift with allowed negative offset) implementation
Sat May 10 09:20:14 CEST 2008
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
More information about the ffmpeg-devel