projects
/
profile
/
ivi
/
libvpx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add psnr/ssim tuning option
[profile/ivi/libvpx.git]
/
vp8
/
encoder
/
ethreading.c
diff --git
a/vp8/encoder/ethreading.c
b/vp8/encoder/ethreading.c
index
0611d5b
..
2cd24da
100644
(file)
--- a/
vp8/encoder/ethreading.c
+++ b/
vp8/encoder/ethreading.c
@@
-115,7
+115,8
@@
THREAD_FUNCTION thread_encoding_proc(void *p_data)
x->rddiv = cpi->RDDIV;
x->rdmult = cpi->RDMULT;
- activity_sum += vp8_activity_masking(cpi, x);
+ if(cpi->oxcf.tuning == VP8_TUNE_SSIM)
+ activity_sum += vp8_activity_masking(cpi, x);
// Is segmentation enabled
// MB level adjutment to quantizer