summaryrefslogtreecommitdiff
path: root/build
AgeCommit message (Collapse)Author
2011-05-06Merge "neon fast quantizer updated"Johann
2011-05-06neon fast quantizer updatedTero Rintaluoma
vp8_fast_quantize_b_neon function updated and further optimized. - match current C implementation of fast quantizer - updated to use asm_enc_offsets for structure members - updated ads2gas scripts to handle alignment issues Change-Id: I5cbad9c460ad8ddb35d2970a8684cc620711c56d
2011-05-05Merge "Runtime detection of available processor cores."Yunqing Wang
2011-05-02build: change LDFLAGS/CFLAGS ordering.Ronald S. Bultje
Always use CFLAGS/LDFLAGS that point to headers and libvpx.a inside our build tree before ones from the environment, which could reference headers or libs outside the build tree. This fixes issue 307. Change-Id: I34d176b8c21098f6da5ea71f0147d3c49283cc45
2011-04-21make two compiler options explicit for Visual Studio projectsYaowu Xu
This patch changes the release configuration of MS VS projects to explicitly use two compiler options "Maximize Speed (/O2)" and "Favor fast code(/Ot)". Change-Id: I0bf8343d9ca195851332b91ec69c69ee4e31ce2a
2011-04-15added -fomit-frame-pointer flag for gcc buildsScott LaVarnway
According to the docs, this should have been enabled, but the disassembled output shows otherwise. This improved the encode/decode performance. Change-Id: I45ad7e6d299b89ac3166d7ef7da75b74994344c6
2011-04-14update configure for ios sdk 4.3Joshua Bleecher Snyder
update for the latest version of the ios sdk. adding usr/lib/system fixes a missing libcache.dylib issue make isysroot path more DRY Change-Id: Ib748ef3dac3cac2e4848fbffa1e9a0112eac826b
2011-04-01support obj_int_extract on cygwinJohann
cygwin doesn't support _sopen. drop down to the lowest common denominator and merge main for all platforms. this also opens the door for supporting multiple object formats with a single binary. Change-Id: I7cd45091639d447434e6d5db2e19cfc9988f8630
2011-03-31Runtime detection of available processor cores.Attila Nagy
Detect the number of available cores and limit the thread allocation accordingly. On decoder side limit the number of threads to the max number of token partition. Core detetction works on Windows and Posix platforms, which define _SC_NPROCESSORS_ONLN or _SC_NPROC_ONLN. Change-Id: I76cbe37c18d3b8035e508b7a1795577674efc078
2011-03-24use asm_offsets with vp8_regular_quantize_b_sse2Johann
remove helper function and avoid shadowing all the arguments to the stack on 64bit systems when running with --good --cpu-used=0: ~2% on linux x86 and x86_64 ~2% on win32 x86 msys and visual studio more on darwin10 x86_64 significantly more on x86_64-win64-vs9 Change-Id: Ib7be12edf511fbf2922f191afd5b33b19a0c4ae6
2011-03-16Remove echoing in obj_int_extract ruleAttila Nagy
Change-Id: I9965170b40e2f32e9d84895c33a529b0d7dacdc1
2011-03-15Avoid misspelling "dependent".Gaute Strokkenes
Change-Id: Ib0c280e1fcfd977e11e4390807b2c8077a87500c
2011-03-14obj_int_extract: win64 does not prefix symbolsJohann
obj_int_extract was unconditionally skipping the first character in the symbol. make sure it's actually an '_' first Change-Id: Icfe527eb8a0028faeabaa1dcedf8cd8f51c92754
2011-03-10obj_int_extract for Visual StudioJohann
Enable extraction of assembly offsets from compiled examples in MSVS. This will allow us to remove some stub functions from x86 assembly since we will be able to reliably determine structure offsets at compile time. see ARM code for examples: vp8/encoder/arm/armv5te/ vpx_scale/arm/neon/ Change-Id: I1852dc6b56ede0bf1dddb5552196222a7c6a902f
2011-03-08fix obj_int_extract for MinGWJohann
failed to find headers in the source directory output to stdout instead of a hardcoded file MinGW doesn't support _sopen_s _fstat catches non-existant files Change-Id: I24e0aacc6f6f26e6bcfc25f9ee7821aa3c8cc7e7
2011-03-0864bit mach-o supportJohann
enable parsing 64bit mach-o files (OS X) also fixes --enable-debug issue! Change-Id: I250ee69745cd2365e3e63264f9365cd58fbb6678
2011-03-0864bit elf supportJohann
enable parsing 64bit elf files Change-Id: I7981f4769cf1b822f288fe2e32166254e4394bab
2011-03-04Merge "change CFLAGS for 64 bit icc builds"Johann
2011-03-02clean up msvs project generationJohann
add visual studio 9 to --help remove cpp, cxx, hpp, hxx files from filter add the ability to target project names. this will be necessary to enable obj_int_extract Change-Id: I407583320d8b67a0df40c07221838c42678792f7
2011-02-28change CFLAGS for 64 bit icc buildsJohn Koleszar
AMD64 only implies SSE2, not SSE3. There aren't any known cases where icc was generating SSE3 instructions since all the vectorizable code is already in handwritten asm, so this fix is included mostly for correctness. Fixes issue #259. Change-Id: I993335a4740b68b559035305fb52ca725a6beaff
2011-02-25Fix crash on Sparc Solaris.Aaron Watry
Sparc on Solaris requires memory copies in reconinter.c to be aligned. Change-Id: I6c5b75fb80d6fd501ae4b41b533c3109c2f32be2
2011-02-22purge wince configurationJohann
this has been broken since the initial release Change-Id: If0d4deb2de9f7d0c4c05641e2bbf9cc1bf11e171
2011-02-08Merge "build: Change to iOS SDK 4.2"Fritz Koenig
2011-02-08build: Change to iOS SDK 4.2Fritz Koenig
Brings configure/build system inline with current iOS SDK. Change-Id: If391693a80cab371f75708214f3882424ead9e96
2011-02-07move one of the offset filesJohann
common/arm/vpx_asm_offsets moves up a level. prepare for muxing with encoder/arm/vpx_vp8_enc_asm_offsets Change-Id: I89a04a5235447e66571995c9d9b4b6edcb038e24
2011-02-07Translates -g from LDFLAGS as --debug in armlink_adapter.shAttila Nagy
Change-Id: I23ad88db2149ab788ff39aed8624a7ef0e97da2e
2011-01-28Merge "Adds "armvX-none-rvct" targets"Johann
2011-01-28Adds "armvX-none-rvct" targetsTero Rintaluoma
Adds following targets to configure script to support RVCT compilation without operating system support (for Profiler or bare metal images). - armv5te-none-rvct - armv6-none-rvct - armv7-none-rvct To strip OS specific parts from the code "os_support"-config was added to script and CONFIG_OS_SUPPORT flag is used in the code to exclude OS specific parts such as OS specific includes and function calls for timers and threads etc. This was done to enable RVCT compilation for profiling purposes or running the image on bare metal target with Lauterbach. Removed separate AREA directives for READONLY data in armv6 and neon assembly files to fix the RVCT compilation. Otherwise "ldr <reg>, =label" syntax would have been needed to prevent linker errors. This syntax is not supported by older gnu assemblers. Change-Id: I14f4c68529e8c27397502fbc3010a54e505ddb43
2011-01-24configure.sh fix for visual studioJames Berry
-For targets with external build systems like visual studio CC is not set so check_add_cflags will fail. Only call this function if extra_cflags is set. Change-Id: I3531bad69e9b6a59c5be1b0e8b6053ccccbc332c
2011-01-20Update configure scriptsAttila Nagy
Add --extra-cflags as config parameter for user defined extra CFLAGS. Add -g to asflags when debug enabled for arm targets. Change-Id: Ibdde7cfdda6736c1c1db45e6466bd08504a51f15
2010-12-22make yasm generate cv8 debug data on win32John Koleszar
Native Windows targets should use CV8 format debugging symbols, not DWARF. Change-Id: I9489163fcd9d749b72f6c70ecbce67a6f0790802
2010-11-16Add x86_64-darwin10-gcc target.tomfinegan
Adds native build configuration for Snow Leopard. Useful when users configure without arguments on OSX 10.6. Change-Id: I0bd63912a25bbfb9d4c8d58a781d0f390792429c
2010-10-27Full search SAD function optimization in SSE4.1Yunqing Wang
Use mpsadbw, and calculate 8 sad at once. Function list: vp8_sad16x16x8_sse4 vp8_sad16x8x8_sse4 vp8_sad8x16x8_sse4 vp8_sad8x8x8_sse4 vp8_sad4x4x8_sse4 (test clip: tulip) For best quality mode, this gave encoder a 5% performance boost. For good quality mode with speed=1, this gave encoder a 3% performance boost. Change-Id: I083b5a39d39144f88dcbccbef95da6498e490134
2010-10-25Add sparc-solaris-gcc as a build target.Aaron Watry
Solaris 10 requires -lposix4 to build successfully on gcc. I only have a Sparc machine to test with on Solaris 10, but this change leaves OpenSolaris x86 in a usable state w/ gnu-generic. I am of the belief that this change should fix Solaris 10 on Sparc, but will leave other Solaris architectures as is. If someone has an x86 Solaris 10 machine to test on, they may add x86-solaris-gcc to libvpx/configure and give it a go. Change-Id: I17a282028bb4d3e9fd8764159f95665160f7b62a
2010-10-25NASM: trailing slash for ASFLAGS includesJohn Koleszar
Fix out-of-tree builds using NASM. NASM expects its include paths to have a trailing slash. These aren't used used when doing in-tree builds (./configure) Change-Id: I38d469d15acb1b7e65733a2e5ca8c9d86fa4ad86
2010-10-05nasm: add configure supportJan Kratochvil
yasm has to be preferred as currently nasm produces marginally less efficient code (longer opcodes). Filed for nasm as: https://sourceforge.net/tracker/?func=detail&atid=106208&aid=3037462&group_id=6208 OTOH package should be built always the same, no matter which additional packages are / are not present on the system. As the package should be built with nasm (as yasm may not be available) we should not use yasm even if it is possibly available. nasm >= approx. 2.09 is required for the nasm compilation as the former versions had a section alignment bug. Provide nasm compatibility. No binary change by this patch with yasm on {x86_64,i686}-fedora13-linux-gnu. Few longer opcodes with nasm on {x86_64,i686}-fedora13-linux-gnu have been checked as safe. Change-Id: Icb0fe39c64bbcc3bcd7972e392fd03f3273340df
2010-09-24darwin-icc: build for specific SDKsJohn Koleszar
Add the missing -isysroot and -mmacosx-version-min flags to ICC builds. Fixes issue #185. Change-Id: I2fb37fcaaafef7122a61ced603569f4aa17f8bbc
2010-09-24configure: enable PIC for shared libs by defaultJohn Koleszar
Shared libs generally require PIC, so this saves a little typing at configure time. Change-Id: I357d70cc68434f3283fee78873052d2b7d77c777
2010-09-24configure: add --enable-smallJohn Koleszar
Build with -O2 rather than -O3, to dissuade the compiler from inlining so much. See issue #1. Change-Id: Iacb8ddb59125d3f01c5fea846b45a1c004c9aee0
2010-09-13configure: support for ppc32-linux-gccJohn Koleszar
Fixes issue 89. Thanks to josejx for the patch. Change-Id: I7e664fed703b49f2fb3af4c5e6ce1173742000c2
2010-09-13cosmetics: expand tabs in configureJohn Koleszar
Change-Id: I88ddb0afb56ef2be8184b56fe125ad938ead7a84
2010-09-09Use WebM in copyright notice for consistencyJohn Koleszar
Changes 'The VP8 project' to 'The WebM project', for consistency with other webmproject.org repositories. Fixes issue #97. Change-Id: I37c13ed5fbdb9d334ceef71c6350e9febed9bbba
2010-09-02Fix target detection on mingw32John Koleszar
gcc -dumpmachine returns only 'mingw32' Change-Id: I774d05a97c5131fc12009e436712c319e54490a5
2010-09-02Use -fno-common for mingwJohn Koleszar
Fixes http://code.google.com/p/webm/issues/detail?id=112 Thanks to Ramiro Polla for the issue/fix. Change-Id: I7f7b547a4ea3270e183f59280510066cc29a619e
2010-08-24Allow --cpu= to work for x86.Fritz Koenig
--cpu was already implemented for most of our embedded platforms, this just extends it to x86. Corner case for Atom processor as it doesn't respond to the --march= option under icc. Change-Id: I2d57a7a6e9d0b55c0059e9bc46cfc9bf9468c185
2010-08-02configure: support directories containing .oJohn Koleszar
Fixes http://code.google.com/p/webm/issues/detail?id=96 The regex which postprocesses the gcc make-deps (-M) output was too greedy and matching in the dependencies part of the rule rather than the target only. The patch provided with the issue was not correct, as it tried to match the .o at the end of the line, which isn't correct at least for my GCC version. This patch matches word characters instead of .* Thanks to raimue and the MacPorts community for isolating this issue. Change-Id: I28510da2252e03db910c017101d9db12e5945a27
2010-07-27configure: pass original arguments through to make distJohn Koleszar
When running configure automatically through the make dist target, reuse the arguments passed to the original configure command. Change-Id: I40e5b8384d6485a565b91e6d2356d5bc9c4c5928
2010-07-22msvs: fix install of codec sourcesJohn Koleszar
The libs.mk file must be installed for the vpx.vcproj file to be generated. It was being installed, but not in the src/ directory as expected. Also missed include files yasm.rules, quantize_x86.h Change-Id: Ic1a6f836e953bfc954d6e42a18c102a0114821eb
2010-07-22Change devenv.com command line.Tom Finegan
Change /build to -build to avoid problems when builds are run within msys bash shells. Change-Id: Ie68d72f702adad00d99be8a01c7a388c3af7657d
2010-07-22Add vs9 targets.Tom Finegan
Add targets x86-win32-vs9 and x86_64-win64-vs9 for support of Visual Studio 2008-- this removes the need to convert the vs8 projects before using them within the IDE. Change-Id: Idb83e2ae701e07d98db1be71638280a493d770a2