1. 17 Mar, 2011 - 3 commits
    • 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
  2. 16 Mar, 2011 - 2 commits
  3. 15 Mar, 2011 - 2 commits
  4. 14 Mar, 2011 - 5 commits
  5. 12 Mar, 2011 - 1 commit
    • 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
  6. 11 Mar, 2011 - 19 commits
  7. 10 Mar, 2011 - 4 commits
    • Johann's avatar
      obj_int_extract for Visual Studio · 128d2c23
      Johann 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
  8. 09 Mar, 2011 - 4 commits