[x265] [PATCH] TComYuv::copyToPicChroma, blockcopy_pp asm integration

praveen at multicorewareinc.com praveen at multicorewareinc.com
Mon Nov 18 14:14:52 CET 2013


# HG changeset patch
# User Praveen Tiwari
# Date 1384780472 -19800
# Node ID 024d6ddf57596b6f77100b3bdcac555ddbec7c0a
# Parent  2321ebe0bf64e5f3c0034076c7edb3ecbcd48039
TComYuv::copyToPicChroma, blockcopy_pp asm integration

diff -r 2321ebe0bf64 -r 024d6ddf5759 source/Lib/TLibCommon/TComYuv.cpp
--- a/source/Lib/TLibCommon/TComYuv.cpp	Mon Nov 18 11:32:06 2013 +0530
+++ b/source/Lib/TLibCommon/TComYuv.cpp	Mon Nov 18 18:44:32 2013 +0530
@@ -140,8 +140,10 @@
     uint32_t srcstride = getCStride();
     uint32_t dststride = destPicYuv->getCStride();
 
-    primitives.blockcpy_pp(width, height, dstU, dststride, srcU, srcstride);
-    primitives.blockcpy_pp(width, height, dstV, dststride, srcV, srcstride);
+    int part = partitionFromSizes(width, height);
+
+    primitives.luma_copy_pp[part](dstU, dststride, srcU, srcstride);
+    primitives.luma_copy_pp[part](dstV, dststride, srcV, srcstride);
 }
 
 void TComYuv::copyFromPicYuv(TComPicYuv* srcPicYuv, uint32_t cuAddr, uint32_t absZOrderIdx)


More information about the x265-devel mailing list