Hi,

On Sun, Aug 5, 2012 at 9:52 PM, Justin Ruggles <justin.rugg...@gmail.com> wrote:
> ---
>  libavresample/x86/audio_convert.asm    |  123 
> ++++++++++++++++++++++++++++++++
>  libavresample/x86/audio_convert_init.c |   14 ++++
>  2 files changed, 137 insertions(+), 0 deletions(-)
>
> diff --git a/libavresample/x86/audio_convert.asm 
> b/libavresample/x86/audio_convert.asm
> index 4a92952..ee05efc 100644
> --- a/libavresample/x86/audio_convert.asm
> +++ b/libavresample/x86/audio_convert.asm
> @@ -260,6 +260,129 @@ INIT_XMM avx
>  CONV_S16P_TO_S16_2CH
>  %endif
>
> +;------------------------------------------------------------------------------
> +; void ff_conv_s16p_to_s16_6ch(int16_t *dst, int16_t *const *src, int len,
> +;                              int channels);
> +;------------------------------------------------------------------------------
> +
> +;------------------------------------------------------------------------------
> +; NOTE: In the 6-channel functions, len could be used as an index on x86-64
> +;       instead of just a counter, which would avoid incrementing the
> +;       pointers, but the extra complexity and amount of code is not worth
> +;       the small gain. On x86-32 there are not enough registers to use len
> +;       as an index without keeping two of the pointers on the stack and
> +;       loading them in each iteration.
> +;------------------------------------------------------------------------------

Hm ... Well OK then.

Ronald
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to