shithub: libvpx

Download patch

ref: d4713f1d508a5ad3dfebb528c9ef9441eff05ee6
parent: 55a79f6bf78cf341d374cf048948e71d2b0c9e6b
author: Deb Mukherjee <[email protected]>
date: Fri Sep 26 11:43:55 EDT 2014

Fix a bug introduced in a previous patch on highbd

Change-Id: Ice692334f75157446a44a6e81503cada977934f4

--- a/vp9/encoder/vp9_encodemb.c
+++ b/vp9/encoder/vp9_encodemb.c
@@ -277,7 +277,6 @@
       base_bits = dct_value_cost[x];
 
       if (shortcut) {
-        dx -= (dequant_ptr[rc != 0] + sz) ^ sz;
 #if CONFIG_VP9_HIGHBITDEPTH
         if (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) {
           dx -= ((dequant_ptr[rc != 0] >> (xd->bd - 8)) + sz) ^ sz;