[x265] [PATCH] TComYuv::copyToPicLuma, blockcopy_pp asm code integration
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Tue Nov 12 09:44:15 CET 2013
# HG changeset patch
# User Praveen Tiwari
# Date 1384245844 -19800
# Node ID d5e30ab8c8b756dd5de2a6e8f455210cb517e28b
# Parent 1ca01c82609fbb173a665c31adf07c429806d4f1
TComYuv::copyToPicLuma, blockcopy_pp asm code integration
diff -r 1ca01c82609f -r d5e30ab8c8b7 source/Lib/TLibCommon/TComYuv.cpp
--- a/source/Lib/TLibCommon/TComYuv.cpp Mon Nov 11 15:46:00 2013 +0530
+++ b/source/Lib/TLibCommon/TComYuv.cpp Tue Nov 12 14:14:04 2013 +0530
@@ -111,13 +111,15 @@
width = m_width >> partDepth;
height = m_height >> partDepth;
+ int part = partitionFromSizes(width, height);
+
Pel* src = getLumaAddr(partIdx, width);
Pel* dst = destPicYuv->getLumaAddr(cuAddr, absZOrderIdx);
uint32_t srcstride = getStride();
uint32_t dststride = destPicYuv->getStride();
- primitives.blockcpy_pp(width, height, dst, dststride, src, srcstride);
+ primitives.luma_copy_pp[part](dst, dststride, src, srcstride);
}
void TComYuv::copyToPicChroma(TComPicYuv* destPicYuv, uint32_t cuAddr, uint32_t absZOrderIdx, uint32_t partDepth, uint32_t partIdx)
More information about the x265-devel
mailing list