[x265] [PATCH] blockcpy_pp replaced with asm code
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Wed Nov 13 13:35:39 CET 2013
# HG changeset patch
# User Praveen Tiwari
# Date 1384346129 -19800
# Node ID 7317f6d3680792951d74969fb2567dbe833b340f
# Parent 16daee5e879e6a3b269fb79301dba60f8809543c
blockcpy_pp replaced with asm code
diff -r 16daee5e879e -r 7317f6d36807 source/Lib/TLibCommon/TComYuv.cpp
--- a/source/Lib/TLibCommon/TComYuv.cpp Wed Nov 13 17:39:41 2013 +0530
+++ b/source/Lib/TLibCommon/TComYuv.cpp Wed Nov 13 18:05:29 2013 +0530
@@ -137,8 +137,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 << 1, height << 1);
+
+ primitives.chroma_copy_pp[part](dstU, dststride, srcU, srcstride);
+ primitives.chroma_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