[FFmpeg-devel] [PATCH 03/12] Add vector_clipf_interleave() function to dsputil

Michael Niedermayer michaelni
Tue Sep 29 03:33:37 CEST 2009


On Sun, Sep 27, 2009 at 11:49:19AM +0100, Mans Rullgard wrote:
[...]
> diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
> index 8af06ff..86ea1d0 100644
> --- a/libavcodec/dsputil.h
> +++ b/libavcodec/dsputil.h
> @@ -399,6 +399,9 @@ typedef struct DSPContext {
>                                      int step, int len);
>      void (*int32_to_float_fmul_scalar)(float *dst, const int *src, float mul, int len);
>      void (*vector_clipf)(float *dst /* align 16 */, const float *src /* align 16 */, float min, float max, int len /* align 16 */);
> +    void (*vector_clipf_interleave)(float *dst, const float **src,
> +                                    float min, float max, int len,
> +                                    int channels);

i think all pointers should require 16byte alignment

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

> ... defining _GNU_SOURCE...
For the love of all that is holy, and some that is not, don't do that.
-- Luca & Mans
-------------- 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/20090929/1d045682/attachment.pgp>



More information about the ffmpeg-devel mailing list