Skip to content
Snippets Groups Projects
  1. Jun 22, 2011
  2. Jun 14, 2011
    • Tero Rintaluoma's avatar
      Update -linux-rvct targets · 5405bd97
      Tero Rintaluoma authored
      - 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
      5405bd97
  3. Jun 10, 2011
    • Tero Rintaluoma's avatar
      Fix make clean for asm offset files · 66533b1a
      Tero Rintaluoma authored
      Automatically created assembly offset files added to CLEAN-OBJS list
      for proper cleanup. This will fix following build error:
      1) Build for the workstation
      ./conigure
      make
      make clean
      2) Build for ARM platform
      ./configure --target=armv7-linux-gcc
      make ==> this will fail because it uses old asm_*_offset.asm files
      
      Change-Id: Id5275c470390ca81b8db086a15ad75af39b80703
      66533b1a
  4. Jun 08, 2011
  5. Jun 06, 2011
  6. Mar 31, 2011
    • Ralph Giles's avatar
      Generate a vpx.pc file for pkg-config. · 607f8420
      Ralph Giles authored
      Rules are added to libs.mk to generate a vpx.pc, which is
      installed as pkgconfig/vpx.pc under the target library directory.
      This also requires the install path prefix be exported directly
      in config.mk.
      
      Some systems use a tool called pkg-config to query information
      about intalled libraries or other resources, based on database
      files provided by the packages themselves at install time.
      
      Providing such a file for libvpx simplifies integration with
      other build systems, and provides an easy avenue for developers
      to test against their own builds of the library.
      
      Change-Id: I4e32a8fbb53fc331aa95eb207c63dd70a76d18ed
      607f8420
  7. Mar 24, 2011
    • Johann Koenig's avatar
      use asm_offsets with vp8_regular_quantize_b_sse2 · 8edaf6e2
      Johann Koenig authored
      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
      8edaf6e2
  8. Mar 10, 2011
    • Johann Koenig's avatar
      obj_int_extract for Visual Studio · 128d2c23
      Johann Koenig authored
      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
      128d2c23
  9. Feb 22, 2011
  10. Feb 08, 2011
    • Johann Koenig's avatar
      clarify *_offsets.asm differences · 40dcae9c
      Johann Koenig authored
      it's difficult to mux the *_offsets.c files because of header conflicts.
      make three instead, name them consistently and partititon the contents
      to allow building them as required.
      
      Change-Id: I8f9768c09279f934f44b6c5b0ec363f7943bb796
      40dcae9c
  11. Feb 07, 2011
    • Johann Koenig's avatar
      move one of the offset files · 3273c7b6
      Johann Koenig authored
      common/arm/vpx_asm_offsets moves up a level. prepare for muxing with
      encoder/arm/vpx_vp8_enc_asm_offsets
      
      Change-Id: I89a04a5235447e66571995c9d9b4b6edcb038e24
      3273c7b6
  12. Oct 25, 2010
    • Timothy B. Terriberry's avatar
      Add runtime CPU detection support for ARM. · b71962fd
      Timothy B. Terriberry authored
      The primary goal is to allow a binary to be built which supports
       NEON, but can fall back to non-NEON routines, since some Android
       devices do not have NEON, even if they are otherwise ARMv7 (e.g.,
       Tegra).
      The configure-generated flags HAVE_ARMV7, etc., are used to decide
       which versions of each function to build, and when
       CONFIG_RUNTIME_CPU_DETECT is enabled, the correct version is chosen
       at run time.
      In order for this to work, the CFLAGS must be set to something
       appropriate (e.g., without -mfpu=neon for ARMv7, and with
       appropriate -march and -mcpu for even earlier configurations), or
       the native C code will not be able to run.
      The ASFLAGS must remain set for the most advanced instruction set
       required at build time, since the ARM assembler will refuse to emit
       them otherwise.
      I have not attempted to make any changes to configure to do this
       automatically.
      Doing so will probably require the addition of new configure options.
      
      Many of the hooks for RTCD on ARM were already there, but a lot of
       the code had bit-rotted, and a good deal of the ARM-specific code
       is not integrated into the RTCD structs at all.
      I did not try to resolve the latter, merely to add the minimal amount
       of protection around them to allow RTCD to work.
      Those functions that were called based on an ifdef at the calling
       site were expanded to check the RTCD flags at that site, but they
       should be added to an RTCD struct somewhere in the future.
      The functions invoked with global function pointers still are, but
       these should be moved into an RTCD struct for thread safety (I
       believe every platform currently supported has atomic pointer
       stores, but this is not guaranteed).
      
      The encoder's boolhuff functions did not even have _c and armv7
       suffixes, and the correct version was resolved at link time.
      The token packing functions did have appropriate suffixes, but the
       version was selected with a define, with no associated RTCD struct.
      However, for both of these, the only armv7 instruction they actually
       used was rbit, and this was completely superfluous, so I reworked
       them to avoid it.
      The only non-ARMv4 instruction remaining in them is clz, which is
       ARMv5 (not even ARMv5TE is required).
      Considering that there are no ARM-specific configs which are not at
       least ARMv5TE, I did not try to detect these at runtime, and simply
       enable them for ARMv5 and above.
      
      Finally, the NEON register saving code was completely non-reentrant,
       since it saved the registers to a global, static variable.
      I moved the storage for this onto the stack.
      A single binary built with this code was tested on an ARM11 (ARMv6)
       and a Cortex A8 (ARMv7 w/NEON), for both the encoder and decoder,
       and produced identical output, while using the correct accelerated
       functions on each.
      I did not test on any earlier processors.
      
      Change-Id: I45cbd63a614f4554c3b325c45d46c0806f009eaa
      b71962fd
  13. Oct 13, 2010
  14. Sep 09, 2010
  15. Jul 22, 2010
    • John Koleszar's avatar
      msvs: fix install of codec sources · 4d86ef35
      John Koleszar authored
      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
      4d86ef35
  16. Jun 29, 2010
    • James Zern's avatar
      ARM WinCE VS8 build update · a23ec527
      James Zern authored
      The generated project is vpx.vcproj, change vpx_decoder references to
      match. Remove .rules file dependency as it will be pulled from the
      source tree.
      
      Change-Id: I679db2748b37adae3bafd764dba8575fc3abde72
      a23ec527
  17. Jun 18, 2010
    • John Koleszar's avatar
      cosmetics: trim trailing whitespace · 94c52e4d
      John Koleszar authored
      When the license headers were updated, they accidentally contained
      trailing whitespace, so unfortunately we have to touch all the files
      again.
      
      Change-Id: I236c05fade06589e417179c0444cb39b09e4200d
      94c52e4d
  18. Jun 14, 2010
  19. Jun 06, 2010
  20. Jun 05, 2010
    • John Koleszar's avatar
      shared library support (.so) · 7aa97a35
      John Koleszar authored
      This patch adds support for building shared libraries when configured
      with the --enable-shared switch.
      
      Building DLLs would require more invasive changes to the sample
      utilities than I want to make in this patch, since on Windows you can't
      use the address of an imported symbol in a static initializer. The best
      way to work around this is proably to build the codec interface mapping
      table with an init() function, but dll support is of questionable value
      anyway, since most windows users will probably use a media framework
      lib like webmdshow, which links this library in staticly.
      
      Change-Id: Iafb48900549b0c6b67f4a05d3b790b2643d026f4
      7aa97a35
  21. Jun 04, 2010
  22. May 27, 2010
    • John Koleszar's avatar
      configure: support --prefix, --libdir · 670af3aa
      John Koleszar authored
      Support --prefix, --libdir as a conventional way of specifying the default
      installation directories. libdir is required to be a subdirectory of prefix
      at this time.
      
      Change-Id: If45d9e3129efcde83c05b7766accc9017988e715
      670af3aa
  23. May 25, 2010
    • John Koleszar's avatar
      install includes in DIST_DIR/include/vpx, move vpx_codec/ to vpx/ · b7492341
      John Koleszar authored
      This renames the vpx_codec/ directory to vpx/, to allow applications
      to more consistently reference these includes with the vpx/ prefix.
      This allows the includes to be installed in /usr/local/include/vpx
      rather than polluting the system includes directory with an
      excessive number of includes.
      
      Change-Id: I7b0652a20543d93f38f421c60b0bbccde4d61b4f
      b7492341
  24. May 21, 2010
    • John Koleszar's avatar
      configure: remove HAVE_CONFIG_H · 1df0314e
      John Koleszar authored
      This doesn't play well with autotools, and the preprocessor magic is
      confusing and unhelpful in the vp8-only context.
      
      Change-Id: I2fcb57e6eb7876ecb58509da608dc21f26077ff1
      1df0314e
  25. May 18, 2010
Loading