[x265] [PATCH] TComYuv.cpp, use new luma_copy_ps asm primitives where feasible
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Tue Nov 12 13:28:23 CET 2013
# HG changeset patch
# User Praveen Tiwari
# Date 1384259293 -19800
# Node ID 9836ede305fad313f4282063887cc9d028c435a8
# Parent 694c0d3db925d4d0f8311a1e5a0a83b53ab99af7
TComYuv.cpp, use new luma_copy_ps asm primitives where feasible
diff -r 694c0d3db925 -r 9836ede305fa source/Lib/TLibCommon/TComYuv.cpp
--- a/source/Lib/TLibCommon/TComYuv.cpp Tue Nov 12 17:41:21 2013 +0530
+++ b/source/Lib/TLibCommon/TComYuv.cpp Tue Nov 12 17:58:13 2013 +0530
@@ -281,7 +281,8 @@
uint32_t srcstride = getStride();
uint32_t dststride = dstPicYuv->m_width;
- primitives.blockcpy_sp(width, height, dst, dststride, src, srcstride);
+ int part = partitionFromSizes(width, height);
+ primitives.luma_copy_ps[part](dst, dststride, src, srcstride);
}
void TComYuv::copyPartToPartChroma(TComYuv* dstPicYuv, uint32_t partIdx, uint32_t width, uint32_t height)
More information about the x265-devel
mailing list