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:
af12c23
)
enc: save entropy probs only when needed for refresh
author
Attila Nagy
<attilanagy@google.com>
Mon, 10 Oct 2011 08:14:07 +0000
(11:14 +0300)
committer
Attila Nagy
<attilanagy@google.com>
Mon, 10 Oct 2011 10:44:54 +0000
(13:44 +0300)
Previous entropy probs need to be saved (and restored) only when
current updates are not propagated.
Change-Id: Ie6ee0543066e30874e56258be0a6b7d2dd2fdb2b
vp8/encoder/bitstream.c
patch
|
blob
|
history
diff --git
a/vp8/encoder/bitstream.c
b/vp8/encoder/bitstream.c
index
cea8e12
..
a4d05fb
100644
(file)
--- a/
vp8/encoder/bitstream.c
+++ b/
vp8/encoder/bitstream.c
@@
-1784,9
+1784,9
@@
void vp8_pack_bitstream(VP8_COMP *cpi, unsigned char *dest, unsigned long *size)
vp8_clear_system_state(); //__asm emms;
- //************************************************
- // save a copy for later refresh
+ if (pc->refresh_entropy_probs == 0)
{
+ // save a copy for later refresh
vpx_memcpy(&cpi->common.lfc, &cpi->common.fc, sizeof(cpi->common.fc));
}