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:
0e43668
)
Fix: lpf semaphore was signaled in single threaded run
author
Attila Nagy
<attilanagy@google.com>
Wed, 30 Mar 2011 12:50:17 +0000
(15:50 +0300)
committer
Attila Nagy
<attilanagy@google.com>
Wed, 30 Mar 2011 12:55:29 +0000
(15:55 +0300)
After picking filter level, post the loopfilter semaphore
just when multiple threads are in use.
Change-Id: If7bfb64601d906adef703f454dafc25e978b93c6
vp8/encoder/onyx_if.c
patch
|
blob
|
history
diff --git
a/vp8/encoder/onyx_if.c
b/vp8/encoder/onyx_if.c
index
931c51a
..
be65545
100644
(file)
--- a/
vp8/encoder/onyx_if.c
+++ b/
vp8/encoder/onyx_if.c
@@
-3258,7
+3258,8
@@
void loopfilter_frame(VP8_COMP *cpi, VP8_COMMON *cm)
}
#if CONFIG_MULTITHREAD
- sem_post(&cpi->h_event_end_lpf); /* signal that we have set filter_level */
+ if (cpi->b_multi_threaded)
+ sem_post(&cpi->h_event_end_lpf); /* signal that we have set filter_level */
#endif
if (cm->filter_level > 0)