On Nov 18, 2013, at 10:18 AM, prav...@multicorewareinc.com wrote: > # HG changeset patch > # User Praveen Tiwari > # Date 1384791507 -19800 > # Node ID 4c5daf21c1583cae93dbdf404a1b68aeced6b690 > # Parent a5f618af8d963efafaa8581f4484066b13f4f614 > asm integration for blockcopy_ps > > diff -r a5f618af8d96 -r 4c5daf21c158 source/Lib/TLibCommon/TComYuv.cpp > --- a/source/Lib/TLibCommon/TComYuv.cpp Mon Nov 18 21:26:46 2013 +0530 > +++ b/source/Lib/TLibCommon/TComYuv.cpp Mon Nov 18 21:48:27 2013 +0530 > @@ -365,7 +365,8 @@ > uint32_t srcstride = getCStride(); > uint32_t dststride = dstPicYuv->m_cwidth; > > - primitives.blockcpy_sp(width, height, dstU, dststride, srcU, > srcstride); > + int part = partitionFromSizes(width << 1, height << 1);
same here, you can't assume luma partitions are twice widht/height of chroma > + primitives.chroma_copy_ps[m_csp][part](dstU, dststride, srcU, > srcstride); > } > else if (chromaId == 1) > { > @@ -375,7 +376,8 @@ > uint32_t srcstride = getCStride(); > uint32_t dststride = dstPicYuv->m_cwidth; > > - primitives.blockcpy_sp(width, height, dstV, dststride, srcV, > srcstride); > + int part = partitionFromSizes(width << 1, height << 1); > + primitives.chroma_copy_ps[m_csp][part](dstV, dststride, srcV, > srcstride); > } > else > { > @@ -387,8 +389,9 @@ > 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); > + int part = partitionFromSizes(width << 1, height << 1); > + primitives.chroma_copy_ps[m_csp][part](dstU, dststride, srcU, > srcstride); > + primitives.chroma_copy_ps[m_csp][part](dstV, dststride, srcV, > srcstride); > } > } > > _______________________________________________ > x265-devel mailing list > x265-devel@videolan.org > https://mailman.videolan.org/listinfo/x265-devel
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ x265-devel mailing list x265-devel@videolan.org https://mailman.videolan.org/listinfo/x265-devel