Skip to content
Snippets Groups Projects
  1. Apr 27, 2012
  2. Apr 26, 2012
  3. Apr 25, 2012
    • Attila Nagy's avatar
      Fix loopfilter race condition in multithreaded encoder · 3939e85b
      Attila Nagy authored
      Race was introduced by https://gerrit.chromium.org/gerrit/15563.
      
      If loopfilter related config params were changed between frames, or
      after a KEY frame, there could be a mismatch between encoder's and
      decoder's recontructed image. In worst case, when frame buffers are
      reallocated because of a size change, the loopfilter could
      do an invalid data access (segmentation fault).
      
      Fixes:
      Sync with the loopfilter before applying any encoder changes in
      vp8_change_config().
      Moved the loopfilter synching to the top of
      encode_frame_to_data_rate() so that it's done before any alteration of
      the encoder.
      
      Change-Id: Ide5245d2a2aeed78752de750c0110bc4b46f5b7b
      3939e85b
  4. Apr 23, 2012
  5. Apr 20, 2012
    • Takanori MATSUURA's avatar
      Use LIBSUBDIR for vpx.pc. · a7eea3e2
      Takanori MATSUURA authored
      Change-Id: Ibba635696e8c23086e5d3c0e8452ab97c460d7d7
      a7eea3e2
    • John Koleszar's avatar
      multi-res: restore v1.0.0 API · d72c536e
      John Koleszar authored
      Move the notion of 0 bitrate implying skip deeper into the codec,
      rather than doing it at the multi-encoder API level. This preserves
      v1.0.0 ABI compatibility, rather than forcing a bump to v2.0.0 over a
      minor change. Also, this allows the case where the application can
      selectively enable and disable the larger resolution(s) without having
      to reinitialize the codec instace (for instance, if no target is
      receiving the full resolution stream).
      
      It's not clear how deep to push this check. It may be valuable to
      allow the framerate adaptation code to run, for example. Currently put
      the check as early as possible for simplicity, should reevaluate this
      as this feature gains real use.
      
      Change-Id: I371709b8c6b52185a1c71a166a131ecc244582f0
      d72c536e
    • John Koleszar's avatar
      vp8_change_config: don't force kf with spatial resampling · 8e858f90
      John Koleszar authored
      Look for changes in the codec's configured w/h instead of its active
      w/h when forcing keyframes. Otherwise calls to vp8_change_config()
      will force a keyframe when spatial resampling is active.
      
      Change-Id: Ie0d20e70507004e714ad40b640aa5b434251eb32
      8e858f90
  6. Apr 19, 2012
    • John Koleszar's avatar
      rtcd: serialize function pointer initialization · c311b3b3
      John Koleszar authored
      Ensure that RTCD function pointers are set at most once, to silence
      some data race warnings. Implementation provided for POSIX threads and
      Win32, with the prior unsynchronized behavior left in place for other
      platforms.
      
      Change-Id: I65c5856df43ef67043b3d5f26ddafddd8fcb2f7e
      c311b3b3
  7. Apr 16, 2012
    • John Koleszar's avatar
      correct alt-ref contribution to frame rate · 21173e19
      John Koleszar authored
      When producing an invisible ARF, the time stamp counters aren't
      updated since the last time stamp is seen by the codec twice. The
      prior code was trapping this case with refresh_alt_ref, but this isn't
      correct for other uses of the ARF. Instead, use the show_frame flag.
      
      Change-Id: If67fff7c6c66a3606698e34e2fb5731f56b4a223
      21173e19
  8. Apr 12, 2012
  9. Apr 10, 2012
    • Deb Mukherjee's avatar
      Fixes to disable MFQE when there is motion. · 6b33ca39
      Deb Mukherjee authored
      This patch includes:
      1. fixes to disable block based termporal mixing when motion
      is detected (because this version of mfqe only handles zero motion).
      2. The criterion used for determining whether to mix or
      not are changed to use squared differences rather than
      absolute differences.
      3. Additional checks on color mismatch and excessive block
      flatness added. If the block as decoded has very low activity
      it is unlikely to yield benefits for mixing.
      
      Change-Id: I07331e5ab5ba64844c56e84b1a4b7de823eac6cb
      6b33ca39
    • Deb Mukherjee's avatar
  10. Apr 04, 2012
  11. Apr 03, 2012
    • John Koleszar's avatar
      MFQE: apply threshold to subblocks and chroma. · 8106df8f
      John Koleszar authored
      In cases where you have a flat background occluded by a moving object
      of similar luminosity in the foreground, it was likely that the
      foreground blocks would persist for a few frames after the background
      is uncovered. This is particularly noticable when the object has a
      different color than the background, so add the chroma planes in as an
      additional check.
      
      In addition, for block sizes of 8 and 16, the luma threshold is
      applied on four subblocks independently, which helps when only part of
      the background in the block has been uncovered.
      
      This fixes issue #392, which includes a test clip to reproduce the
      issue.
      
      BUG=392
      
      Change-Id: I2bd7b2b0e25e912dcac342e5ad6e8914f5afd302
      8106df8f
  12. Apr 02, 2012
  13. Mar 30, 2012
    • James Zern's avatar
      tools/wrap-commit-msg.py: fix file truncation · 00794a93
      James Zern authored
      truncate() operates from the current file pointer position. On at least
      Linux specifying 0 without resetting the pointer will pad the file with
      zeros to the current offset.
      
      Change-Id: Ide704a1097f46c0c530f27212bb12e923f93e2d6
      00794a93
  14. Mar 29, 2012
  15. Mar 28, 2012
    • John Koleszar's avatar
      FTFY: an automated style corrector · cb265a49
      John Koleszar authored
      This is a utility for applying a limited amount of style correction on
      a change-by-change basis. Rather than a big-bang reformatting, this
      tool attempts to only correct the style in diff hunks that you touch.
      This should make the cosmetic changes small enough that we can mix them
      with functional changes without destroying the diffs, and there's an
      escape hatch for separating the reformatting to a second commit for
      purists and cases where it hurts readability.
      
      At this time, the script requires a clean working tree, so run it after
      you've commited your changes. Run without arguments, the style
      corrections will be applied and left unstaged in your working copy. It
      also supports the --amend option, which will automatically amend your
      HEAD with the corrected style, and --commit, which will create a new
      change dependent on your HEAD that contains only the whitespace changes.
      
      There are a number of ways this could be applied in an automated manner
      if this proves to be useful, either on a project-wide or per-user
      basis. This doesn't buy anything in terms of real code quality, the
      intent here would be to keep formatting nits out of review comments in
      favor of more meaningful ones and help people whose habitual style
      doesn't match the baseline.
      
      Requires astyle[1] 1.24 or newer.
        [1]: http://astyle.sourceforge.net/
      
      Change-Id: I2fb3434de8479655e9811f094029bb90e5d757e1
      cb265a49
Loading