Ticket #35243: patch-src-modules-core-sse2.2.diff

File patch-src-modules-core-sse2.2.diff, 2.9 KB (added by ddennedy (Dan Dennedy), 9 years ago)
  • AUTHORS

    diff --git a/AUTHORS b/AUTHORS
    index d91b719..a7a5b15 100644
    a b MLT framework is maintained by: 
    55Dan Dennedy <dan@dennedy.org>
    66
    77MLT module authors and maintainers:
    8 
    98Charles Yates <charles.yates@pandora.be>
    109Dan Dennedy <dan@dennedy.org>
    1110Stephane Fillod (effectv)
    1211Marco Gittler <g.marco@freenet.de> (frei0r, oldfilm, qimage/kdenlivetitle)
    1312Jean-Baptiste Mardelle <jb@ader.ch> (kdenlive, qimage)
    1413Zachary Drew (motion_est)
     14Maksym Veremeyenko <verem@m1stereo.tv>
  • src/modules/core/Makefile

    diff --git a/src/modules/core/Makefile b/src/modules/core/Makefile
    index b86c7f1..3426039 100644
    a b OBJS = factory.o \ 
    4343           consumer_multi.o \
    4444           consumer_null.o
    4545
     46ifdef SSE2_FLAGS
     47ifdef ARCH_X86_64
     48OBJS += composite_line_yuv_sse2_simple.o
     49endif
     50endif
     51
    4652ASM_OBJS =
    4753
    4854SRCS := $(OBJS:.o=.c)
  • src/modules/core/composite_line_yuv_sse2_simple.c

    diff --git a/src/modules/core/composite_line_yuv_sse2_simple.c b/src/modules/core/composite_line_yuv_sse2_simple.c
    index 11f9159..f581fac 100644
    a b  
     1/*
     2 * composite_line_yuv_sse2_simple.c
     3 * Copyright (C) 2003-2004 Ushodaya Enterprises Limited
     4 * Author: Maksym Veremeyenko <verem@m1stereo.tv>
     5 *
     6 * This library is free software; you can redistribute it and/or
     7 * modify it under the terms of the GNU Lesser General Public
     8 * License as published by the Free Software Foundation; either
     9 * version 2.1 of the License, or (at your option) any later version.
     10 *
     11 * This library is distributed in the hope that it will be useful,
     12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     14 * Lesser General Public License for more details.
     15 *
     16 * You should have received a copy of the GNU Lesser General Public
     17 * License along with this library; if not, write to the Free Software
     18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     19 */
     20
     21#include <inttypes.h>
    122void composite_line_yuv_sse2_simple(uint8_t *dest, uint8_t *src, int width, uint8_t *alpha_b, uint8_t *alpha_a, int weight)
    223{
    324    const static unsigned char const1[] =
  • src/modules/core/transition_composite.c

    diff --git a/src/modules/core/transition_composite.c b/src/modules/core/transition_composite.c
    index 45d6a23..b0fd5b4 100644
    a b static inline uint8_t sample_mix( uint8_t dest, uint8_t src, int mix ) 
    366366/** Composite a source line over a destination line
    367367*/
    368368#if defined(USE_SSE) && defined(ARCH_X86_64)
    369 #include "composite_line_yuv_sse2_simple.c"
     369void composite_line_yuv_sse2_simple(uint8_t *dest, uint8_t *src, int width, uint8_t *alpha_b, uint8_t *alpha_a, int weight);
    370370#endif
    371371
    372372void composite_line_yuv( uint8_t *dest, uint8_t *src, int width, uint8_t *alpha_b, uint8_t *alpha_a, int weight, uint16_t *luma, int soft, uint32_t step )