[x265] [PATCH] blockcopy_ps, asm integration
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Tue Nov 19 15:02:08 CET 2013
# HG changeset patch
# User Praveen Tiwari
# Date 1384869720 -19800
# Node ID 3354bed68a35e8e7af5c66bd13cffc574228246f
# Parent 64fd92a0ef556e894769c259d49513d335eadd49
blockcopy_ps, asm integration
diff -r 64fd92a0ef55 -r 3354bed68a35 source/Lib/TLibCommon/TComYuv.cpp
--- a/source/Lib/TLibCommon/TComYuv.cpp Tue Nov 19 19:15:19 2013 +0530
+++ b/source/Lib/TLibCommon/TComYuv.cpp Tue Nov 19 19:32:00 2013 +0530
@@ -360,6 +360,8 @@
void TComYuv::copyPartToPartChroma(TShortYUV* dstPicYuv, uint32_t partIdx, uint32_t width, uint32_t height, uint32_t chromaId)
{
+ width, height; // To avoid build error, can't eliminate overloaded version present
+
if (chromaId == 0)
{
Pel* srcU = getCbAddr(partIdx);
@@ -368,7 +370,7 @@
uint32_t srcstride = getCStride();
uint32_t dststride = dstPicYuv->m_cwidth;
- primitives.blockcpy_sp(width, height, dstU, dststride, srcU, srcstride);
+ primitives.chroma_copy_ps[m_csp][m_part](dstU, dststride, srcU, srcstride);
}
else if (chromaId == 1)
{
@@ -378,7 +380,7 @@
uint32_t srcstride = getCStride();
uint32_t dststride = dstPicYuv->m_cwidth;
- primitives.blockcpy_sp(width, height, dstV, dststride, srcV, srcstride);
+ primitives.chroma_copy_ps[m_csp][m_part](dstV, dststride, srcV, srcstride);
}
else
{
@@ -390,8 +392,8 @@
uint32_t srcstride = getCStride();
uint32_t dststride = dstPicYuv->m_cwidth;
- primitives.blockcpy_sp(width, height, dstU, dststride, srcU, srcstride);
- primitives.blockcpy_sp(width, height, dstV, dststride, srcV, srcstride);
+ primitives.chroma_copy_ps[m_csp][m_part](dstU, dststride, srcU, srcstride);
+ primitives.chroma_copy_ps[m_csp][m_part](dstV, dststride, srcV, srcstride);
}
}
More information about the x265-devel
mailing list