Index: source/libvpx/vp9/encoder/vp9_encodeframe.c |
=================================================================== |
--- source/libvpx/vp9/encoder/vp9_encodeframe.c (revision 207064) |
+++ source/libvpx/vp9/encoder/vp9_encodeframe.c (working copy) |
@@ -23,7 +23,6 @@ |
#include "vp9/encoder/vp9_segmentation.h" |
#include "vp9/encoder/vp9_encodeintra.h" |
#include "vp9/common/vp9_reconinter.h" |
-#include "vp9/common/vp9_invtrans.h" |
#include "vp9/encoder/vp9_rdopt.h" |
#include "vp9/common/vp9_findnearmv.h" |
#include "vp9/common/vp9_reconintra.h" |
@@ -603,6 +602,8 @@ |
MACROBLOCK *const x = &cpi->mb; |
MACROBLOCKD *const xd = &x->e_mbd; |
+ x->rd_search = 1; |
+ |
if (bsize < BLOCK_SIZE_SB8X8) |
if (xd->ab_index != 0) |
return; |
@@ -1975,6 +1976,7 @@ |
const int mis = cm->mode_info_stride; |
const int bwl = mi_width_log2(bsize); |
const int bw = 1 << bwl, bh = 1 << mi_height_log2(bsize); |
+ x->rd_search = 0; |
if (cm->frame_type == KEY_FRAME) { |
if (cpi->oxcf.tuning == VP8_TUNE_SSIM) { |