[x265] [PATCH] TComYuv::copyToPartYuv, asm integration for blockcopy_pp

praveen at multicorewareinc.com praveen at multicorewareinc.com
Fri Nov 15 15:31:18 CET 2013


# HG changeset patch
# User Praveen Tiwari
# Date 1384525870 -19800
# Node ID a089e7fc1509e44a8f338fffa8443a5e5d1a5a43
# Parent  6a9869846bb84b5d18932d9d258b14840d54010d
TComYuv::copyToPartYuv, asm integration for blockcopy_pp

diff -r 6a9869846bb8 -r a089e7fc1509 source/Lib/TLibCommon/TComYuv.cpp
--- a/source/Lib/TLibCommon/TComYuv.cpp	Fri Nov 15 19:22:46 2013 +0530
+++ b/source/Lib/TLibCommon/TComYuv.cpp	Fri Nov 15 20:01:10 2013 +0530
@@ -189,8 +189,7 @@
     uint32_t srcstride = getStride();
     uint32_t dststride = dstPicYuv->getStride();
 
-    int part = partitionFromSizes(m_width, m_height);
-    primitives.luma_copy_pp[part](dst, dststride, src, srcstride);
+    primitives.luma_copy_pp[m_part](dst, dststride, src, srcstride);
 }
 
 void TComYuv::copyToPartChroma(TComYuv* dstPicYuv, uint32_t uiDstPartIdx)
@@ -203,8 +202,8 @@
     uint32_t srcstride = getCStride();
     uint32_t dststride = dstPicYuv->getCStride();
 
-    primitives.blockcpy_pp(m_cwidth, m_cheight, dstU, dststride, srcU, srcstride);
-    primitives.blockcpy_pp(m_cwidth, m_cheight, dstV, dststride, srcV, srcstride);
+    primitives.chroma_copy_pp[m_csp][m_part](dstU, dststride, srcU, srcstride);
+    primitives.chroma_copy_pp[m_csp][m_part](dstV, dststride, srcV, srcstride);
 }
 
 void TComYuv::copyPartToYuv(TComYuv* dstPicYuv, uint32_t partIdx)


More information about the x265-devel mailing list