On Sat, Jul 14, 2012 at 09:25:58PM -0700, Ronald S. Bultje wrote:
> From: "Ronald S. Bultje" <[email protected]>
>
> This is consistent with names of other files that contain x86 SIMD
> optimizations (MMX and up).
> ---
> libswscale/rgb2rgb.c | 2 +-
> libswscale/x86/Makefile | 2 +-
> libswscale/x86/rgb2rgb.c | 144
> ------------------------------------------
> libswscale/x86/rgb2rgb_mmx.c | 144
> ++++++++++++++++++++++++++++++++++++++++++
> 4 files changed, 146 insertions(+), 146 deletions(-)
> delete mode 100644 libswscale/x86/rgb2rgb.c
> create mode 100644 libswscale/x86/rgb2rgb_mmx.c
You are missing -M from your git-send-email invocation to detect
renames.
> diff --git a/libswscale/rgb2rgb.c b/libswscale/rgb2rgb.c
> index 14b595f..f802082 100644
> --- a/libswscale/rgb2rgb.c
> +++ b/libswscale/rgb2rgb.c
> @@ -129,7 +129,7 @@ void sws_rgb2rgb_init(void)
> {
> rgb2rgb_init_c();
> if (HAVE_MMX)
> - rgb2rgb_init_x86();
> + rgb2rgb_init_mmx();
> }
I don't think this is better; all those _mmx names for generic x86
init functions are badly chosen.
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel