[x264-devel] commit: Avoid a redundant qpel check in lookahead with subme <= 1. ( Jason Garrett-Glaser )
git at videolan.org
git at videolan.org
Wed May 26 19:39:33 CEST 2010
x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Fri May 21 13:07:12 2010 -0700| [23e92b58c0e4d15123fcb17929b531f1cf6f8dd6] | committer: Jason Garrett-Glaser
Avoid a redundant qpel check in lookahead with subme <= 1.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=23e92b58c0e4d15123fcb17929b531f1cf6f8dd6
---
encoder/me.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/encoder/me.c b/encoder/me.c
index a35da53..77073cc 100644
--- a/encoder/me.c
+++ b/encoder/me.c
@@ -852,7 +852,7 @@ static void refine_subpel( x264_t *h, x264_me_t *m, int hpel_iters, int qpel_ite
break;
}
- if( !b_refine_qpel )
+ if( !b_refine_qpel && (h->pixf.mbcmp_unaligned[0] != h->pixf.fpelcmp[0] || b_chroma_me) )
{
bcost = COST_MAX;
COST_MV_SATD( bmx, bmy, -1 );
More information about the x264-devel
mailing list