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

praveen at multicorewareinc.com praveen at multicorewareinc.com
Mon Nov 18 15:04:14 CET 2013


# HG changeset patch
# User Praveen Tiwari
# Date 1384783447 -19800
# Node ID b353d170c54f0e33a8869c413be226a48deb1f5c
# Parent  68d8ca28ac05b93accc6931abd576a56b621a492
blockcopy_pp asm integration, TComYuv::copyToPicChroma

diff -r 68d8ca28ac05 -r b353d170c54f source/Lib/TLibCommon/TComYuv.cpp
--- a/source/Lib/TLibCommon/TComYuv.cpp	Mon Nov 18 19:15:32 2013 +0530
+++ b/source/Lib/TLibCommon/TComYuv.cpp	Mon Nov 18 19:34:07 2013 +0530
@@ -140,10 +140,10 @@
     uint32_t srcstride = getCStride();
     uint32_t dststride = destPicYuv->getCStride();
 
-    int part = partitionFromSizes(width, height);
+    int part = partitionFromSizes(width << 1, height << 1);
 
-    primitives.luma_copy_pp[part](dstU, dststride, srcU, srcstride);
-    primitives.luma_copy_pp[part](dstV, dststride, srcV, srcstride);
+    primitives.chroma_copy_pp[m_csp][part](dstU, dststride, srcU, srcstride);
+    primitives.chroma_copy_pp[m_csp][part](dstV, dststride, srcV, srcstride);
 }
 
 void TComYuv::copyFromPicYuv(TComPicYuv* srcPicYuv, uint32_t cuAddr, uint32_t absZOrderIdx)


More information about the x265-devel mailing list