[x265] [PATCH 3 of 9] logical error fix (review comment)
nvijay.anand at trispacetech.com
nvijay.anand at trispacetech.com
Mon Aug 22 12:39:53 CEST 2016
# HG changeset patch
# User N Vijay Anand <nvijay.anand at trispacetech.com>
# Date 1469700281 -19800
# Thu Jul 28 15:34:41 2016 +0530
# Node ID a19731cbbd224ca642de1a9b8e5159a12fdf5fbf
# Parent 5556b9bbf097a020f2e32aa660740d0fdb48304b
logical error fix (review comment)
diff -r 5556b9bbf097 -r a19731cbbd22 source/encoder/motion.cpp
--- a/source/encoder/motion.cpp Wed Jul 27 22:31:27 2016 +0530
+++ b/source/encoder/motion.cpp Thu Jul 28 15:34:41 2016 +0530
@@ -655,7 +655,7 @@
/* re-measure full pel rounded MVP with SAD as search start point */
MV bmv = pmv.roundToFPel();
MV bmvStack[4] = {bmv, bmv, bmv, bmv};
- int bmvCostStack[4] = {0x7fff, 0x7fff, 0x7fff, 0x7fff};
+ int bmvCostStack[4] = {0x7fffffff, 0x7fffffff, 0x7fffffff, 0x7fffffff};
int bcost = bprecost;
if (pmv.isSubpel())
bcost = sad(fenc, FENC_STRIDE, fref + bmv.x + bmv.y * stride, stride) + mvcost(bmv << 2);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265-3.patch
Type: text/x-patch
Size: 924 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20160822/6075e412/attachment.bin>
More information about the x265-devel
mailing list