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:
3653fb4
)
Remove redundant init of segment_counts in vp8_encode_frame
author
Attila Nagy
<attilanagy@google.com>
Fri, 17 Feb 2012 07:31:53 +0000
(09:31 +0200)
committer
Attila Nagy
<attilanagy@google.com>
Fri, 17 Feb 2012 07:51:24 +0000
(09:51 +0200)
segment_counts was zero init twice in the beginning of vp8_encode_frame.
Change-Id: Ibc29f6896dabd9aab1d0993f3941cf6876022e70
vp8/encoder/encodeframe.c
patch
|
blob
|
history
diff --git
a/vp8/encoder/encodeframe.c
b/vp8/encoder/encodeframe.c
index
10f5607
..
5eba5c6
100644
(file)
--- a/
vp8/encoder/encodeframe.c
+++ b/
vp8/encoder/encodeframe.c
@@
-688,11
+688,9
@@
void vp8_encode_frame(VP8_COMP *cpi)
xd->subpixel_predict16x16 = vp8_bilinear_predict16x16;
}
- // Reset frame count of inter 0,0 motion vector us
e
age.
+ // Reset frame count of inter 0,0 motion vector usage.
cpi->inter_zz_count = 0;
- vpx_memset(segment_counts, 0, sizeof(segment_counts));
-
cpi->prediction_error = 0;
cpi->intra_error = 0;
cpi->skip_true_count = 0;