[x265-commits] [x265] search: fixup
Steve Borho
steve at borho.org
Sun Nov 9 07:30:24 CET 2014
details: http://hg.videolan.org/x265/rev/1e04e178a349
branches:
changeset: 8815:1e04e178a349
user: Steve Borho <steve at borho.org>
date: Sun Nov 09 00:30:09 2014 -0600
description:
search: fixup
diffstat:
source/encoder/search.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 9687a9d1205a -r 1e04e178a349 source/encoder/search.cpp
--- a/source/encoder/search.cpp Sat Nov 08 13:53:32 2014 -0600
+++ b/source/encoder/search.cpp Sun Nov 09 00:30:09 2014 -0600
@@ -2202,8 +2202,8 @@ bool Search::predInterSearch(Mode& inter
if (bTryZero)
{
/* coincident blocks of the two reference pictures */
- pixel *ref0 = m_slice->m_mref[0][interMode.bestME[0].ref].getLumaAddr(cu.m_cuAddr, m_puAbsPartIdx);
- pixel *ref1 = m_slice->m_mref[1][interMode.bestME[1].ref].getLumaAddr(cu.m_cuAddr, m_puAbsPartIdx);
+ pixel *ref0 = m_slice->m_mref[0][interMode.bestME[0].ref].getLumaAddr(cu.m_cuAddr, cuGeom.encodeIdx + m_puAbsPartIdx);
+ pixel *ref1 = m_slice->m_mref[1][interMode.bestME[1].ref].getLumaAddr(cu.m_cuAddr, cuGeom.encodeIdx + m_puAbsPartIdx);
intptr_t refStride = slice->m_mref[0][0].lumaStride;
primitives.pixelavg_pp[partEnum](tmpPredYuv.m_buf[0], tmpPredYuv.m_size, ref0, refStride, ref1, refStride, 32);
More information about the x265-commits
mailing list