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

chen chenm003 at 163.com
Mon Nov 18 14:55:59 CET 2013


At 2013-11-18 21:14:52,praveen at multicorewareinc.com wrote:
># 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);
width/height is Chroma size
 
>+
>+    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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20131118/0adf6bc3/attachment.html>


More information about the x265-devel mailing list