1. 20 Dec, 2010 1 commit
  2. 17 Dec, 2010 4 commits
    • John Koleszar's avatar
      propagate user private data on decode · c49f49b1
      John Koleszar authored
      The pointer passed in the user_priv argument to vpx_codec_decode()
      should be propagated through to the corresponding output frame and
      made available in the image's user_priv member. Fixes issue #252
      
      Change-Id: I182746a6882c8549fb146b4a4fdb64f1789eb750
      c49f49b1
    • John Koleszar's avatar
    • John Koleszar's avatar
      Add psnr/ssim tuning option · b0da9b39
      John Koleszar authored
      Add a new encoder control, VP8E_SET_TUNING, to allow the application
      to inform the encoder that the material will benefit from certain
      tuning. Expose this control as the --tune option to vpxenc. The args
      helper is expanded to support enumerated arguments by name or value.
      
      Two tunings are provided by this patch, PSNR (default) and SSIM.
      Activity masking is made dependent on setting --tune=ssim, as the
      current implementation hurts speed (10%) and PSNR (2.7% avg,
      10% peak) too much for it to be a default yet.
      
      Change-Id: I110d969381c4805347ff5a0ffaf1a14ca1965257
      b0da9b39
    • Henrik Lundin's avatar
      Inform caller of decoder about updated references · 2a87491f
      Henrik Lundin authored
      Inform the caller of the decoder if a decoded frame updated last,
      golden, or altref frames, required for realtime communication
      proposed in document VP8 RTP payload format.
      
      Added a new vpx_codec_control called VP8D_GET_LAST_REF_UPDATES, to be
      called after vpx_codec_decode. The control will indicate which of the
      reference frames that were updated by setting the 3 LSBs in the input
      int (pointer).
      
      Change-Id: Iac9db60dac414356c7ffa0b0fede88cb91e11bd7
      2a87491f
  3. 16 Dec, 2010 2 commits
    • Scott LaVarnway's avatar
      Changed segmentation check order · 64baa8df
      Scott LaVarnway authored
      In SPLITMV, the 8x8 segment will be checked first.  If the 8x8 rd
      is better than the best, we check the other segments.  Otherwise
      bail.  Adjustments to the thresh_mult were necessary to make
      up for the initial quality loss.
      The performance improved by 20% (average) for good quality,
      speed 0 and speed 1, while the overall quality remained the same.
      
      Change-Id: I717aef401323c8a254fba3e9777d2a316c774cc3
      64baa8df
    • Scott LaVarnway's avatar
      Adjusted breakout RD for SPLITMV · 81cdeb71
      Scott LaVarnway authored
      vp8_rd_pick_best_mbsegmentation looks at y only.  The new
      breakout does not include the frame cost, the prob_skip_false
      cost, or the uv rate.  Performance improved by a few percent
      and the quality remained the same.
      
      Change-Id: I94ff013998ac51e8ecce7130870f7b6600758e15
      81cdeb71
  4. 15 Dec, 2010 1 commit
  5. 14 Dec, 2010 6 commits
  6. 13 Dec, 2010 6 commits
  7. 10 Dec, 2010 2 commits
  8. 09 Dec, 2010 3 commits
    • Fritz Koenig's avatar
      vp8 fast quantizer sse2 optimizations for eob. · e0cf330c
      Fritz Koenig authored
      Changed the end of block computation to use pmaxw.  Removed
      additional pushing and popping of registers that was not needed.
      
      Change-Id: I08cb9b424513cd8a2c7ad8cea53b4e2adc66ef98
      e0cf330c
    • John Koleszar's avatar
      fix uninitialized read in encode breakout · cb969895
      John Koleszar authored
      Change I3430820b performed an uninitialized read when
      encode_breakout == 0, since the sum and sse wouldn't be set:
      
         if(x->encode_breakout)
             VARIANCE_INVOKE(..., get16x16var)(..., &sum, &sse);
         if (cpi->active_map_enabled && x->active_ptr[0] == 0) {
             ...
         } else if (sse < x->encode_breakout)
      
      Change-Id: I915eb76d1227b4b6d1137a0dedf2c143860098a2
      cb969895
    • Paul Wilkins's avatar
      Correct q_low and q_high limits for the recode loop · c63fc881
      Paul Wilkins authored
      Corrected the initial Q range limits for the recode loop
      to reflect the current allowed range for the frame.
      
      In experimental work on constrained quality this bug was
      causing unnecessary recodes.
      
      Change-Id: I7e256fbfa681293b0223fe21ec329933d76c229f
      c63fc881
  9. 08 Dec, 2010 2 commits
  10. 07 Dec, 2010 4 commits
  11. 06 Dec, 2010 4 commits
  12. 04 Dec, 2010 2 commits
    • Paul Wilkins's avatar
      Merge "Change to inter_minq table." · ccb03484
      Paul Wilkins authored
      ccb03484
    • Paul Wilkins's avatar
      Change to inter_minq table. · cec6a596
      Paul Wilkins authored
      The inter_minq table controls the range of quantizers available
      for a particular frame in two pass relative to a max Q value.
      
      The changes reduces the range somewhat. The effect of this
      was a small increase (0.3% average) in psnr for the test set
      but it should also help encode speed somewhat for higher
      quality modes as it will reduce the number of iterations in the
      recode loop.
      
      The change damps the range of quantizers available locally
      within a section of a clip and should therefore help keep quality
      more uniform. If there is systematic overshoot or undershoot the
      range can shift gradually to accommodate. However, there is
      some increased risk of overshoot or undershoot against the target
      bit rate in VBR mode and this risk will be more pronounced for short
      clips.
      
      The change damps the range of quantizers available locally
      within a section of a clip and should therefore help keep quality
      more uniform. If there is systematic overshoot or undershoot the
      range can shift gradually to accommodate. However, there is
      some increased risk of overshoot or undershoot against the
      target bit rate in VBR mode and this risk will be more
      pronounced for short clips.
      
      Change-Id: I84465567d49ae767c6c73ff2a2aac30c895adb52
      cec6a596
  13. 03 Dec, 2010 2 commits
    • Yunqing Wang's avatar
      Improve MV prediction accuracy to achieve performance gain · c3bbb291
      Yunqing Wang authored
      Add vp8_mv_pred() to better predict starting MV for NEWMV
      mode in vp8_rd_pick_inter_mode(). Set different search
      ranges according to MV prediction accuracy, which improves
      encoder performance without hurting the quality. Also,
      as Yaowu suggested, using diamond search result as full
      search starting point and therefore adjusting(reducing)
      full search range helps the performance.
      
      Change-Id: Ie4a3c8df87e697c1f4f6e2ddb693766bba1b77b6
      c3bbb291
    • John Koleszar's avatar
      Merge 'Add simple version of activity masking.' · 5e76dfcc
      John Koleszar authored
      Merge commit 'refs/changes/79/779/2' of
          https://review.webmproject.org/p/libvpx
      
      Conflicts:
      	vp8/encoder/encodeintra.c
      	vp8/encoder/encodemb.c
      
      Change-Id: Id607063fabe92d99eeb3c380e8ca670b01bfb3ef
      5e76dfcc
  14. 01 Dec, 2010 1 commit
    • Fritz Koenig's avatar
      Set refresh_alt_ref_frame on keyframe encode. · 9c8ad79f
      Fritz Koenig authored
      On a keyframe alt ref and golden are refreshed.  The flag was
      not being set and so on the frame after a keyframe, motion
      search would occur on the alt ref frame.  This is not necessary
      because the alt ref frame identical to the last frame in this
      scenario.
      
      Handle corner case where a forward alt-ref frame is put
      directly after a keyframe.
      
      Change-Id: I9be4cf290d694f8cf2f9a31852014b5ccf1504d3
      9c8ad79f