summaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)Author
2018-03-23configure: Add an arm64-win64-gcc targetMartin Storsjo
This configuration doesn't require any extra custom settings, since it only uses neon intrinsics that are handled automatically by the compiler (no external assembly). Change-Id: I35415c68f483a430c0672e060a7bbd09a3469512
2018-03-23configure: Add an armv7-win32-gcc targetMartin Storsjo
This builds for windows on arm, with llvm-mingw. The target triplet is named -gcc since that's how similar existing targets are named, even though it technically runs clang (via frontends named "$CROSS-gcc"). Assemble using $CC -c since there's no standalone assembler available (except perhaps llvm-mc). Change-Id: I2c9a319730afef73f811bad79f488dcdc244ab0d
2018-03-14remove spatial svc experimentJohann
Change-Id: Ifda11caaf992d10f2d93d6cd1d07b79b6047be05
2018-03-12autodetect macOS High SierraJohann
Add darwin17 target Change-Id: I349a2f6a0396c59269f567a03ae813e3e59ccefa
2018-03-05add worst-case frame size capJohann
The largest frame is currently in choose_partitioning: warning: stack frame size of 44156 bytes in function 'choose_partitioning' but adding HBD amplifies other things: warning: stack frame size of 51480 bytes in function 'dec_build_inter_predictors' Add some padding for sanitizer and variances between compilers. BUG=webm:1498 Change-Id: I0d94d4f94d25dafafca9d7484881c2ce5f8de371
2017-12-21Don't force inlining for msvc targets.Ralph Giles
INLINE is defined as __forceinline for vs* configs, but is the normal, compiler-discretion inline for gcc/clang configs. This makes many functions very large when building for windows targets, much larger than they are elsewhere. Use '__inline' as a consistent definition to get consistent function sizes. Although Visual Studio documentation says that 'inline' is only available in C+ code. This is probably incorrect, since Visual Studio 2017 accepts C99 'inline' even when passed /TC. Nevertheless, this commit uses the recommended '__inline' for consistency. Thanks to David Major for the diagnosis. Change-Id: Ib0b31a3afcea77822c84fe3c6cd452add66d825a
2017-11-03Support building AVX-512 and implement sadx4 for AVX-512Kyle Siefring
The added AVX-512 support requires the subset of AVX-512 added in Skylake-X. Change-Id: I39666b00d10bf96d06c709823663eb09b89265b7
2017-08-24Make sure diff is present at configure time.Tom Finegan
This avoids an endless build loop at vpx_version.h creation time when diff is not present. Change-Id: I16ae386dbdaf14f9a2b85e4c5d1aaa6c08f52a45
2017-07-31loongson mmi configuration patch.YinShiyou
enable loongson mmi optimization: ../configure --enable-mmi Change-Id: I7792c3adeac1d5b573917d7857bba6c1cc05fea5
2017-07-11Reintroduce fix for max qindex calculation of a gf intervalJim Bankoski
This reintroduces the fix: https://chromium-review.googlesource.com/c/422807/ and later reverted here: https://chromium-review.googlesource.com/c/447843/ BUG=webm:1355 This time behind a compile time flag : configure --disable-always_adjust_bpm configure --enable-always_adjust_bpm This should make side by side testing easier and let users of the lib pick which way they want to go. Change-Id: I7d7b37b83015dc001810af84c132cbc1e71ba8d6
2017-06-15configure: test for -Wparentheses-equalityJames Zern
Change-Id: I36de79c58461907deaea70d6131da9119bc0bc69
2017-05-23Add support for Visual Studio 2017Gregor Jasny
BUG=webm:1428 Change-Id: Iba98aef1159724d106cf39b94d7b69843d76cd48
2017-04-05configure: enable -Wshorten-64-to-32 for hbdJames Zern
Change-Id: I4041f3fc4aabc7a2251c44c75a477b659284c3cf
2017-03-24remove CONFIG_MISC_FIXESJames Zern
this belonged to vp10 with the changes now migrated to av1. Change-Id: Ie30ead3e7b71f465bc14136e1b6f156ea978c43f
2017-03-09Remove ppc-linux-gcc targetJohann
Change-Id: Iec2430966f54e2e5ba79f6bb703f47adde46479f
2017-03-08Add support for POWER8/VSXRafael de Lucena Valle
Add ppc, ppc64 and ppc64le on all_platforms and ARCH_LIST Add VSX flags and check for -mvsx Define empty setup_rtcd_internal Add Altivec detection based on: http://freevec.org/function/altivec_runtime_detection_linux Detect VSX at runtime when enabled Change-Id: I304f4d8c5fee0ff19b6483cd2e9cc50d6ddec472 Signed-off-by: Rafael de Lucena Valle <rafaeldelucena@gmail.com>
2017-01-27Add macOS Sierra support in configureJerome Jiang
BUG=webm:1367 Change-Id: I3000b6d9f93ec49ca86d08151348d33d86bf0034
2016-10-28Add tools/tiny_ssim for generating SSIM/PSNR.Peter Boström
Change-Id: Icc3e5aaa6636ffe17dc9da5f7a80afaccbde509a
2016-09-27configure: test for -Wshorten-64-to-32 in non hbd buildsJames Zern
provides msvc-like warnings for implicit conversions from 64-bit to 32-bit types --enable-vp9-highbitdepth still requires some work this also skips CXXFLAGS for now as some work would be needed to cleanup third_party/*.cc or split it from test/*.cc where it comes to flags. Change-Id: Ic9a095b73286eba5ed39bfc27ff69593748cbbf4
2016-09-27Expand -Wextra to more of the libraryJohann
Suppress warnings in third_party/. vp8 -Wclobbered issue is tracked here: BUG=webm:1246 BUG=webm:1069 Change-Id: I9b94bf546d7b690c26a59ae67967facdce8ec45b
2016-09-19Remove -fno-strict-aliasing flagJohann
The referenced bug was fixed by saving neon registers. That this had any effect was coincidental. Both chromium and Android build with clang and neither uses this flag. Change-Id: I470247d6fd9226fc207b42a187105581a94badc3
2016-09-15Documentation for building unit tests for AndroidJohann
BUG=webm:1258 Change-Id: Iea142f7b0df0e047720e8c5362464932de57d564
2016-08-31Enable -Wundef by defaultJohann
BUG=webm:1069 Change-Id: I43728f9fd007542718a55d5fdcbc63a8d2f86682
2016-08-04Remove armv6 targetJohann
Change-Id: I1fa81cc9cabf362a185fc3a53f1e58de533a41e5
2016-07-25configure: test for -Wfloat-conversionJames Zern
supported by clang, gcc-4.9+ Change-Id: I893766de7307fef9a8b68c0cfae137c9d3b0dbe8
2016-07-15configure: turn on all unused warnings by defaultJim Bankoski
Change-Id: I7f6cb446cd3ac57ac39835cf065d9501a66acd5b
2016-06-30configure: remove x86inc.asm distinctionJohann
BUG=b:29583530 Change-Id: I59a1192142e89a6a36b906f65a491a734e603617
2016-06-29configure: restore vs_version variableJames Zern
inadvertently lost in the final patchset of: 078dff7 configure: remove old visual studio support (<2010) this prevents an empty CONFIG_VS_VERSION and avoids make failure Change-Id: I529d52eca59329e2715309efd63d80f0e1fed462
2016-06-28configure: remove old visual studio support (<2010)James Zern
BUG=b/29583530 Change-Id: If08ce6ca352f377ac4db6b9b1909b507bba6d872
2016-06-22Add default flags for arm64/armv8 buildsJohann
Allows building simple targets with sane default flags. For example, using the Android arm64 toolchain from the NDK: https://developer.android.com/ndk/guides/standalone_toolchain.html ./build/tools/make-standalone-toolchain.sh --arch=arm64 \ --platform=android-24 --install-dir=/tmp/arm64 CROSS=/tmp/arm64/bin/aarch64-linux-android- \ ~/libvpx/configure --target=arm64-linux-gcc --disable-multithread BUG=webm:1143 Change-Id: I06f5a7564f5382cf1a4bad41aef4308566c53adf
2016-06-22Merge "remove vp10"James Zern
2016-06-17remove vp10James Zern
development has moved to the nextgenv2 branch and a snapshot from here was used to seed aomedia BUG=b/29457125 Change-Id: Iedaca11ec7870fb3a4e50b2c9ea0c2b056a0d3c0
2016-06-17Configuration: Use 'is_in' instead of echo | grepJohann
Change-Id: I38f7684969f12a624980f4e06698379a49e61bdf
2016-06-17Parse codec options in order of occurrence.Johann
Each time a codec is enabled or disabled with the umbrella --enable-vpN flag, set the encoder and decoder configurations as well. This was done as a post-processing step but doing that lost the order of the arguments. BUG=webm:1205 Change-Id: Ic629bfdd06acc04bc5a7227309f36bba54dad8b1
2016-05-12Add --enable-shared option to iosbuild.sh to build dynamic frameworkBrion Vibber
Also allows use of --enable-shared when configuring for Mac OS X, producing a bare .dylib. Enabling the shared framework bumps the iOS deployment target to 8.0, the minimum required to support dynamic framework deployment in apps. When not using --enable-shared, a static library for iOS 6.0+ will still be built. Minimum version settings have been moved into ios-version.sh so they can be updated in a single place. As with the static build, unless header search paths are manually tweaked, users must add a VPX prefix on includes, such as: #include <VPX/vpx/vpx_decoder.h> A module map for headers is not yet included as inttypes.h is not modular; this means that VPX cannot be used directly in Swift code, but can still be pulled in through an Objective-C wrapper. BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1092 Change-Id: I28fb06ce65e48ed167a88c14a7bfb2861989317e
2016-05-02configure.sh: Remove armv6-darwin target.Tom Finegan
- iOS SDKs no longer ship with armv6 support. - Our minimum iOS version means all target devices have neon. - Remove armv6 darwin LD workaround. - This removes a TODO. Change-Id: I2fcb5b82c96213364275475be021c7dd8459d5c0
2016-04-12configure: Add an arm64-linux-gcc target configurationMartin Storsjo
Change-Id: I23efc07572b2406ce5d9283340aef5aee8326280
2016-02-03configure: enable -Wunused-function by defaultJames Zern
when INLINE is defined and mips is not being targeted. otherwise keep the old --enable-extra-warnings behavior Change-Id: Iba576edbe5fca03efa56ce99eee11f9cafc573ad
2016-01-14Merge changes I6998e15f,I88891d9fJames Zern
* changes: Remove unused POSIX_MMAP references Remove unused stdint.h check
2016-01-08Remove experimental flag for ext_txDebargha Mukherjee
Also includes a bug fix. Change-Id: Ia49ed00f8ffd1531c10bcf89b1f497310ee7cb82
2016-01-08Modifies inter/intra coding to allow all tx typesDebargha Mukherjee
The nominal tx_type for a given mode is used as a context to encode the actual tx_type for intra. Results: derflr: -0.241% BDRATE hevcmr: -0.366% BDRATE Change-Id: Icfe7b0a58d79bc6497a06e3441779afec6e01e21
2016-01-05Merge "Assert no 8x4/4x8 partition for scaled references"Yaowu Xu
2016-01-04Assert no 8x4/4x8 partition for scaled referencesYaowu Xu
This commit adds a new configure option: --enable-better-hw-compatibility The purpose of the configure option is to provide information on known hardware decoder implementation bugs, so encoder implementers may choose to implement their encoders in a way to avoid triggering these decoder bugs. The WebM team were made aware of that a number of hardware decoders have trouble in handling the combination of scaled frame reference frame and 8x4 or 4x8 partitions. This commit added asserts to vp9 decoder, so when built with above configure option, the decoder can assert if an input bitstream triggers such decoder bug. Change-Id: I386204cfa80ed16b50ebde57f886121ed76200bf
2015-12-17Remove unused POSIX_MMAP referencesJohann
Change-Id: I6998e15f9ed2849a270033217c02e27c79ee8343
2015-12-17Remove unused stdint.h checkJohann
https://bugs.chromium.org/p/webm/issues/detail?id=1119 Change-Id: I88891d9f0be29ac6f845d2b470e5735dad16e693
2015-11-17configure: simplify x86 asm dependenciesJames Zern
--disable-XXX has the effect of disabling all extensions above it, e.g., --disable-ssse3 disables ssse3-avx2. Change-Id: If02b44ca71ee12e4acb12010db8593a7989f2a9d
2015-11-02Add target for Mac OS X 10.11 'El Capitan'Alex Converse
Change-Id: I174f5b41be384894e41b8e2926cbf8fd0f8e21b2
2015-10-21vp10: merge ext_ipred_bltr experiment into misc_fixes.Ronald S. Bultje
Change-Id: I2f2deb700748408b8278b7f5c29ee1f2e39785ec
2015-10-21vp10: merge universal_hp experiment into misc_fixes.Ronald S. Bultje
Change-Id: I79fc3c0594535adc0056339c929cff69b8188760
2015-10-16vp10: add extended-intra prediction edges experiment.Ronald S. Bultje
This experiment allows using full above/right edges for all transform sizes whenever available (for d45/d63), and adds bottom/left edges for d207. See issue 1043. Change-Id: I5cf7f345e783e8539bb6b6d2c9972fb1d6d0a78b