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:
ae63ce2
)
Fixed stride bug in segmentation code
author
Adrian Grange
<agrange@google.com>
Thu, 15 Dec 2011 20:27:38 +0000
(12:27 -0800)
committer
Adrian Grange
<agrange@google.com>
Thu, 15 Dec 2011 20:27:38 +0000
(12:27 -0800)
mode_info_context is padded with an additional column of data, so
mode_info_stride should be used to move between rows rather than
mb_cols.
Change-Id: I598559a2cd9df1c486d64aaeccf76b76a7ecf21c
vp8/encoder/segmentation.c
patch
|
blob
|
history
diff --git
a/vp8/encoder/segmentation.c
b/vp8/encoder/segmentation.c
index
516a415
..
9a89bc6
100644
(file)
--- a/
vp8/encoder/segmentation.c
+++ b/
vp8/encoder/segmentation.c
@@
-237,7
+237,7
@@
void choose_segmap_coding_method( VP8_COMP *cpi )
if (mb_row != 0)
{
pred_context +=
- (xd->mode_info_context-cm->m
b_cols
)->
+ (xd->mode_info_context-cm->m
ode_info_stride
)->
mbmi.seg_id_predicted;
}