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:
6e156a4
)
Fix input MV for full search
author
Yunqing Wang
<yunqingwang@google.com>
Fri, 8 Apr 2011 20:15:26 +0000
(16:15 -0400)
committer
Yunqing Wang
<yunqingwang@google.com>
Fri, 8 Apr 2011 20:29:41 +0000
(16:29 -0400)
Input MV needs to be modified to full-pixel precision.
Change-Id: Ic5d78e41bf27077e325024332b9fe89f76c44f0c
vp8/encoder/rdopt.c
patch
|
blob
|
history
diff --git
a/vp8/encoder/rdopt.c
b/vp8/encoder/rdopt.c
index
aa097b7
..
863b6d4
100644
(file)
--- a/
vp8/encoder/rdopt.c
+++ b/
vp8/encoder/rdopt.c
@@
-1190,7
+1190,12
@@
static void rd_check_segment(VP8_COMP *cpi, MACROBLOCK *x,
// Should we do a full search (best quality only)
if ((cpi->compressor_speed == 0) && (bestsme >> sseshift) > 4000)
{
- thissme = cpi->full_search_sad(x, c, e, bsi->mvp,
+ MV full_mvp;
+
+ full_mvp.row = bsi->mvp->row >>3;
+ full_mvp.col = bsi->mvp->col >>3;
+
+ thissme = cpi->full_search_sad(x, c, e, &full_mvp,
sadpb / 4, 16, v_fn_ptr, x->mvcost, bsi->ref_mv);
if (thissme < bestsme)