[x265] [PATCH] Used memory align macro in ipfilter16.inc for compatibility with other compilers

deepthidevaki at multicorewareinc.com deepthidevaki at multicorewareinc.com
Fri Jul 5 12:37:27 CEST 2013


# HG changeset patch
# User Deepthi Devaki
# Date 1373020603 -19800
# Node ID 02dd22a1a62e0f5ed6ef5634ff6a028454ee4b64
# Parent  bf00c76a537d61ff3c4460ed750665d9898989c6
Used memory align macro in ipfilter16.inc for compatibility with other compilers.

diff -r bf00c76a537d -r 02dd22a1a62e source/common/vec/ipfilter16.inc
--- a/source/common/vec/ipfilter16.inc	Thu Jul 04 14:30:37 2013 +0530
+++ b/source/common/vec/ipfilter16.inc	Fri Jul 05 16:06:43 2013 +0530
@@ -47,7 +47,7 @@
     offset +=  IF_INTERNAL_OFFS << IF_FILTER_PREC;
     maxVal = (1 << bitDepth) - 1;
 
-    __declspec(align(16)) int cm[8][4];
+    ALIGN_VAR_16(int, cm[8][4]);
     for (int i = 0; i < N; i++)
     {
         cm[i][0] = coeff[i];
@@ -243,7 +243,7 @@
     offset = 1 << (shift - 1);
     maxVal = (1 << bitDepth) - 1;
 
-    __declspec(align(16)) int cm[8][4];
+    ALIGN_VAR_16(int, cm[8][4]);
     for (int i = 0; i < N; i++)
     {
         cm[i][0] = coeff[i];
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xhevc_deepthid.patch
Type: text/x-patch
Size: 949 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20130705/5402c23f/attachment.bin>


More information about the x265-devel mailing list