shithub: libvpx

Download patch

ref: c60ef810a167b123ddd85dc7bfebceee6e080fe5
parent: 8caba8565ac03426e541930c5a09205877c0f18d
parent: 46aed7b8d0b5f6f33d047c47a229f0f93033e39e
author: Yunqing Wang <[email protected]>
date: Mon Sep 15 14:50:19 EDT 2014

Merge "Set the skip flag to 1 for skippable blocks"

--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -3161,6 +3161,10 @@
     vp9_zero(best_tx_diff);
   }
 
+  // TODO(yunqingwang): Moving this line in front of the above best_filter_diff
+  // updating code causes PSNR loss. Need to figure out the confliction.
+  x->skip |= best_mode_skippable;
+
   store_coding_context(x, ctx, best_mode_index, best_pred_diff,
                        best_tx_diff, best_filter_diff, best_mode_skippable);