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
/
encodeframe.c
diff --git
a/vp8/encoder/encodeframe.c
b/vp8/encoder/encodeframe.c
index
2002735
..
1528389
100644
(file)
--- a/
vp8/encoder/encodeframe.c
+++ b/
vp8/encoder/encodeframe.c
@@
-497,7
+497,8
@@
void encode_mb_row(VP8_COMP *cpi,
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