summaryrefslogtreecommitdiff
path: root/vp8/encoder/rdopt.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@google.com>2012-10-15 19:50:20 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2012-10-15 19:50:20 -0700
commitd5955a42317d845cb44f746422a2c36803cb67c2 (patch)
treee9d82c0e5665c857e0fc54293261572b242af9d6 /vp8/encoder/rdopt.c
parentdd3646466e410c9a4be5e716bc9e52c81521eda0 (diff)
parent23a64c890e99e7c70365f12694c76e8605a11f85 (diff)
downloadlibvpx-d5955a42317d845cb44f746422a2c36803cb67c2.tar
libvpx-d5955a42317d845cb44f746422a2c36803cb67c2.tar.gz
libvpx-d5955a42317d845cb44f746422a2c36803cb67c2.tar.bz2
libvpx-d5955a42317d845cb44f746422a2c36803cb67c2.zip
Merge "Remove test from B_MODE_INFO." into experimental
Diffstat (limited to 'vp8/encoder/rdopt.c')
-rw-r--r--vp8/encoder/rdopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/encoder/rdopt.c b/vp8/encoder/rdopt.c
index fe6b7de6d..bb2160701 100644
--- a/vp8/encoder/rdopt.c
+++ b/vp8/encoder/rdopt.c
@@ -1182,6 +1182,7 @@ static int64_t rd_pick_intra4x4block(VP8_COMP *cpi, MACROBLOCK *x, BLOCK *be,
// Do we need to do this for mode2 also?
if (mode == B_LD_PRED || mode == B_VL_PRED)
continue;
+ b->bmi.as_mode.first = mode;
rate = bmode_costs[mode];
#if CONFIG_COMP_INTRA_PRED
@@ -1200,7 +1201,6 @@ static int64_t rd_pick_intra4x4block(VP8_COMP *cpi, MACROBLOCK *x, BLOCK *be,
#if CONFIG_HYBRIDTRANSFORM
if (active_ht) {
- b->bmi.as_mode.test = mode;
txfm_map(b, mode);
vp8_fht_c(be->src_diff, be->coeff, 32, b->bmi.as_mode.tx_type, 4);
vp8_ht_quantize_b_4x4(be, b);