projects
/
profile
/
ivi
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2b4316
)
fixed stride in vp8_temporal_filter_predictors_mb_c
author
James Berry
<jamesberry@google.com>
Wed, 9 Feb 2011 21:55:39 +0000
(16:55 -0500)
committer
James Berry
<jamesberry@google.com>
Wed, 9 Feb 2011 21:55:39 +0000
(16:55 -0500)
stride would not be calculated correctly for material
with odd sized frame widths.
Change-Id: I1710f6aef9ebb93d36249c9239c68c5baa9791f8
vp8/encoder/temporal_filter.c
patch
|
blob
|
history
diff --git
a/vp8/encoder/temporal_filter.c
b/vp8/encoder/temporal_filter.c
index
f28daaf
..
3c6d1a4
100644
(file)
--- a/
vp8/encoder/temporal_filter.c
+++ b/
vp8/encoder/temporal_filter.c
@@
-70,7
+70,7
@@
static void vp8_temporal_filter_predictors_mb_c
// U & V
mv_row >>= 1;
mv_col >>= 1;
- stride
>>=
1;
+ stride
= (stride + 1) >>
1;
offset = (mv_row >> 3) * stride + (mv_col >> 3);
uptr = u_mb_ptr + offset;
vptr = v_mb_ptr + offset;