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:
f7869c8
)
vp8 denoising: add bias factor to zero_mv sse.
author
Marco Paniconi
<marpan@google.com>
Mon, 16 Jun 2014 18:29:02 +0000
(11:29 -0700)
committer
Marco Paniconi
<marpan@google.com>
Mon, 16 Jun 2014 22:22:15 +0000
(15:22 -0700)
Change-Id: I95818754424e89f0d56c6d9c0c5709e6f84fa46a
vp8/encoder/denoising.c
patch
|
blob
|
history
diff --git
a/vp8/encoder/denoising.c
b/vp8/encoder/denoising.c
index
5616bda
..
0f2e5f1
100644
(file)
--- a/
vp8/encoder/denoising.c
+++ b/
vp8/encoder/denoising.c
@@
-276,7
+276,11
@@
void vp8_denoiser_denoise_mb(VP8_DENOISER *denoiser,
MB_MODE_INFO saved_mbmi;
MACROBLOCKD *filter_xd = &x->e_mbd;
MB_MODE_INFO *mbmi = &filter_xd->mode_info_context->mbmi;
- int sse_diff = zero_mv_sse - best_sse;
+ int sse_diff = 0;
+ // Bias on zero motion vector sse.
+ int zero_bias = 95;
+ zero_mv_sse = (unsigned int)((int64_t)zero_mv_sse * zero_bias / 100);
+ sse_diff = zero_mv_sse - best_sse;
saved_mbmi = *mbmi;