media/libspeex_resampler/update.sh
author Boris Chiou <boris.chiou@gmail.com>
Mon, 18 Mar 2019 18:04:58 +0000
changeset 464927 067a9dac440ab23f16c8034f104911a80773705a
parent 347149 c8df499e005abc1438c394dfa72257e369097d7d
permissions -rw-r--r--
Bug 1425837 - Part 5: AnimationInfo::HasTransformAnimation should check other OMTA transform-like properties r=hiro This function was added for B2G actually, to check if the layer has OMTA for painting high-res layer. However, It's worth to let it also check other OMTA transform-like properties. Depends on D22565 Differential Revision: https://phabricator.services.mozilla.com/D19636

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# Usage: ./update.sh <speexdsp_directory>
#
# Copies the needed files from a directory containing the original
# speexdsp sources.

set -e -x

cp $1/libspeexdsp/resample.c src
cp $1/libspeexdsp/resample_sse.h src/resample_sse.c
cp $1/libspeexdsp/resample_neon.h src/resample_neon.c
cp $1/libspeexdsp/arch.h src
cp $1/libspeexdsp/stack_alloc.h src
cp $1/libspeexdsp/fixed_generic.h src
cp $1/include/speex/speex_resampler.h src
cp $1/AUTHORS .
cp $1/COPYING .

# apply outstanding local patches
patch -p3 < outside-speex.patch
patch -p3 < simd-detect-runtime.patch
patch -p3 < set-skip-frac.patch
patch -p3 < hugemem.patch
patch -p3 < remove-empty-asm-clobber.patch
patch -p3 < set-rate-overflow-no-return.patch