[x265] [PATCH 2 of 2] Modification on Horizontal filter
deepthidevaki at multicorewareinc.com
deepthidevaki at multicorewareinc.com
Fri Jun 28 15:17:11 CEST 2013
# HG changeset patch
# User Deepthi Devaki
# Date 1372425065 -19800
# Node ID c17f04f68701dd0799f914a4d493ab50fbcfc536
# Parent 7f1f8f3b77069aea10a3d4c54e0a8a9554e7bf19
Modification on Horizontal filter
diff -r 7f1f8f3b7706 -r c17f04f68701 source/common/vec/ipfilter8.inc
--- a/source/common/vec/ipfilter8.inc Fri Jun 28 16:35:33 2013 +0530
+++ b/source/common/vec/ipfilter8.inc Fri Jun 28 18:41:05 2013 +0530
@@ -1059,9 +1059,9 @@
memcpy(pp + y * pDstStride, pp, block_width + marginX * 2);
// Extending top rows
- pe -= ((block_height - 1) * dstStride);
- pi -= ((block_height - 1) * dstStride);
- pp -= ((block_height - 1) * dstStride);
+ pe = pDstA - marginX;
+ pi = pDstB - marginX;
+ pp = pDstC - marginX;
for (int y = 1; y <= marginY; y++)
memcpy(pe - y * pDstStride, pe, block_width + marginX * 2);
for (int y = 1; y <= marginY; y++)
@@ -1360,9 +1360,9 @@
memcpy(pp + y * pDstStride, pp, block_width + marginX * 2);
// Extending top rows
- pe -= ((block_height - 1) * dstStride);
- pi -= ((block_height - 1) * dstStride);
- pp -= ((block_height - 1) * dstStride);
+ pe = pDstA - marginX;
+ pi = pDstB - marginX;
+ pp = pDstC - marginX;
for (int y = 1; y <= marginY; y++)
memcpy(pe - y * pDstStride, pe, block_width + marginX * 2);
for (int y = 1; y <= marginY; y++)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xhevc_deepthid-2.patch
Type: text/x-patch
Size: 1388 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20130628/f5358290/attachment.bin>
More information about the x265-devel
mailing list