summaryrefslogtreecommitdiff
path: root/build
AgeCommit message (Collapse)Author
2011-06-28Merge "respect alignment in arm asm files"Johann
2011-06-27respect alignment in arm asm filesJohann
Conversion script was discarding alignment. Also, set default alignment to 4 bytes. Change-Id: I1e9cbbb8c142bdf93df4e9aaccf967ed43dff906 https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/789198
2011-06-21configuration, support disabling any subset of ARM archAttila Nagy
Useful for leaving out any version specific asm files. Change-Id: I233514410eb9d7ca88d2d2c839673122c507fa99
2011-06-16Merge "gen_msvs_proj: write boolean for Debug attribute"John Koleszar
2011-06-15gen_msvs_proj: write boolean for Debug attributeJames Zern
Replace =1 with =true for yasm tool element. This aids in upgrading e.g., vs9 project files to vs10. build/x86-msvs/yasm.xml generated during conversion will require the Separator attribute to be removed for the build to complete successfully. Change-Id: If75c4f9a925529740048882003e9d766c5ac4f0c
2011-06-15Guard vpx_config.h against multiple inclusionsAttila Nagy
Change-Id: Iabe2be73af2b92c53687755b31b77448fba385d2
2011-06-14Update -linux-rvct targetsTero Rintaluoma
- Updated -linux-rvct targets to support RVDS 4.0 and later. - Changed optimization flag to -Otime because -O3 ruined performance for RVCT linux targets. - Added support for --enable-small for RVCT - RVCT created library should be able to link with GCC - Supports building shared linux libraries Change-Id: Ic62589950d86c3420fd4d908b8efb870806d1233
2011-06-08use GCC inline magicJohann
Better fix for #326. ICC happens to support the inline magic Change-Id: Ic367eea608c88d89475cb7b05d73500d2a1bc42b
2011-06-08Revert "Use shared object files for ELF"Johann
Broke RVCT. New magic coming for ICC. Stay tuned! This reverts commit c73eb2ffff674e4e9fa7d5209d531aeec6ac5edd
2011-06-06Use shared object files for ELFJohann
Fixes #326 Change-Id: I5f2a4257430ef62f674190acefd43a0474821288
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