projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaf33d7
)
Fix lingering x->skip settings if static_threshold is used.
author
Ronald S. Bultje
<rbultje@google.com>
Mon, 15 Apr 2013 19:50:32 +0000
(12:50 -0700)
committer
Ronald S. Bultje
<rbultje@google.com>
Mon, 15 Apr 2013 20:39:07 +0000
(13:39 -0700)
Keyframes don't set this variable, so it would use the last set
values from inter frames.
Change-Id: Ie1ef45ece2c44b21b5d55f6cea9f7d6e7a445692
vp9/encoder/vp9_rdopt.c
patch
|
blob
|
history
diff --git
a/vp9/encoder/vp9_rdopt.c
b/vp9/encoder/vp9_rdopt.c
index
9d1cada
..
8cf52f7
100644
(file)
--- a/
vp9/encoder/vp9_rdopt.c
+++ b/
vp9/encoder/vp9_rdopt.c
@@
-4169,6
+4169,7
@@
void vp9_rd_pick_intra_mode_sb(VP9_COMP *cpi, MACROBLOCK *x,
int64_t txfm_cache[NB_TXFM_MODES], err;
int i;
+ ctx->skip = 0;
xd->mode_info_context->mbmi.mode = DC_PRED;
err = rd_pick_intra_sby_mode(cpi, x, &rate_y, &rate_y_tokenonly,
&dist_y, &y_skip, bsize, txfm_cache);
@@
-4218,6
+4219,7
@@
void vp9_rd_pick_intra_mode(VP9_COMP *cpi, MACROBLOCK *x,
TX_SIZE txfm_size_16x16, txfm_size_8x8;
int i;
+ x->mb_context[xd->sb_index][xd->mb_index].skip = 0;
mbmi->ref_frame = INTRA_FRAME;
mbmi->mode = DC_PRED;
for (i = 0; i <= TX_8X8; i++) {