Skip to content
Snippets Groups Projects
  1. Mar 21, 2011
  2. Mar 18, 2011
    • John Koleszar's avatar
      Increase static linkage, remove unused functions · 429dc676
      John Koleszar authored
      A large number of functions were defined with external linkage, even
      though they were only used from within one file. This patch changes
      their linkage to static and removes the vp8_ prefix from their names,
      which should make it more obvious to the reader that the function is
      contained within the current translation unit. Functions that were
      not referenced were removed.
      
      These symbols were identified by:
      
        $ nm -A libvpx.a | sort -k3 | uniq -c -f2 | grep ' [A-Z] ' \
          | sort | grep '^ *1 '
      
      Change-Id: I59609f58ab65312012c047036ae1e0634f795779
      429dc676
  3. Mar 17, 2011
    • Ralph Giles's avatar
      Set bounds from the array when iterating mmaps. · 18555734
      Ralph Giles authored
      The mmap allocation code in vp8_dx_iface.c was inconsistent.
      The static array vp8_mem_req_segs defines two descriptors,
      but only the first is real. The second is a sentinel and
      isn't actually allocated, so vpx_codec_alg_priv is declared
      with mmaps[NELEMENTS(vp8_mem_req_segs)-1]. Some functions
      use this reduced upper bound when iterating though the mmap
      array, but these two functions did not.
      
      Instead, this commit calls NELEMENTS(...->mmaps) to directly
      query the bounds of the dereferenced array.
      
      This fixes an array-bounds warning from gcc 4.6 on
      vp8_xma_set_mmap.
      
      Change-Id: I918e2721b401d134c1a9764c978912bdb3188be1
      18555734
    • Ralph Giles's avatar
      Remove commented-out VP6 code from vp8_finalize_mmaps · de5182ee
      Ralph Giles authored
      Change-Id: I48642c380353043bed96026f56de5908fcee270a
      de5182ee
    • John Koleszar's avatar
  4. Mar 16, 2011
  5. Mar 15, 2011
  6. Mar 14, 2011
  7. Mar 12, 2011
    • Rafael Ávila de Espíndola's avatar
      Fix build with xcode4 and simplify GLOBAL. · 52f6e28e
      Rafael Ávila de Espíndola authored
      Without this change I get link errors in firefox's libxul. It looks
      like the linker expect a particular pattern for getting the GOT. This
      patch changes webm to use the same pattern used by the compiler.
      
      Change-Id: Iea8c2e134ad45c1dc7d221ff885a8429bfa4e057
      52f6e28e
  8. Mar 11, 2011
  9. 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
    • Adrian Grange's avatar
      Added missing format specifier in print statement · 6daacdb7
      Adrian Grange authored
      Printout of firstpass stats for frame had one fewer
      format specifiers than arguments.
      
      Change-Id: I5a42c85aa79c471e1a70afd75e24a91546b7a1cd
      6daacdb7
    • Adrian Grange's avatar
      Removed firstpass motion map · ed40ff9e
      Adrian Grange authored
      The firstpass motion map consists of an 8-bit flag for
      each MB indicating how strongly the firstpass code
      believes it should be filtered during the second pass
      ARNR filtering.
      
      For long or large format material the motion map can
      become extremely large and hamper the operation of
      the encoding process.
      
      This change removes the motion map altogether, leaving
      the second pass to rely on the magnitude of the motion
      compensated error to determine the filter weight to
      use for the MB during ARNR filtering.
      
      Tests on the derf set indicate that the effect of this
      change is neutral, with some small wins and losses. The
      motion map has therefore been removed based on
      a cost/benefit evaluation.
      
      Change-Id: I53e07d236f5ce09a6f0c54e7c4ffbb490fb870f6
      ed40ff9e
    • James Berry's avatar
      Fix incorrect macroblock counts in twopass rate control · f3e9e2a0
      James Berry authored
      The previous calculation of macroblock count (w*h)/256
      is not correct when the width/height are not multiples of
      16. Use the precalculated macroblock count from
      cpi->common instead. This manifested itself as a divide
      by zero when the number of pixels was less than 256.
      num_mbs updated in estimate_max_q, estimate_q,
       estimate_kf_group_q, and estimate_cq
      
      Change-Id: I92ff98587864c801b1ee5485cfead964673a9973
      f3e9e2a0
  10. Mar 09, 2011
Loading