CMSIS DSP library

Dependents:   KL25Z_FFT_Demo Hat_Board_v5_1 KL25Z_FFT_Demo_tony KL25Z_FFT_Demo_tony ... more

Fork of mbed-dsp by mbed official

Revision:
2:da51fb522205
Parent:
1:fdd22bb7aa52
Child:
3:7a284390b0ce
--- a/cmsis_dsp/FilteringFunctions/arm_conv_opt_q15.c	Wed Nov 28 12:30:09 2012 +0000
+++ b/cmsis_dsp/FilteringFunctions/arm_conv_opt_q15.c	Thu May 30 17:10:11 2013 +0100
@@ -2,12 +2,12 @@
 * Copyright (C) 2010 ARM Limited. All rights reserved.    
 *    
 * $Date:        15. February 2012  
-* $Revision:     V1.1.0  
+* $Revision: 	V1.1.0  
 *    
-* Project:         CMSIS DSP Library    
-* Title:        arm_conv_opt_q15.c    
+* Project: 	    CMSIS DSP Library    
+* Title:		arm_conv_opt_q15.c    
 *    
-* Description:    Convolution of Q15 sequences.      
+* Description:	Convolution of Q15 sequences.      
 *    
 * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0
 *  
@@ -61,7 +61,7 @@
  *    
  * \par Restrictions    
  *  If the silicon does not support unaligned memory access enable the macro UNALIGNED_SUPPORT_DISABLE    
- *    In this case input, output, scratch1 and scratch2 buffers should be aligned by 32-bit    
+ *	In this case input, output, scratch1 and scratch2 buffers should be aligned by 32-bit    
  *    
  *       
  * @details    
@@ -106,7 +106,7 @@
 
   q15_t a, b;
 
-#endif    /*    #ifndef UNALIGNED_SUPPORT_DISABLE    */
+#endif	/*	#ifndef UNALIGNED_SUPPORT_DISABLE	*/
 
   /* The algorithm implementation is based on the lengths of the inputs. */
   /* srcB is always made to slide across srcA. */
@@ -350,25 +350,25 @@
 
       acc3 = __SMLALDX(x3, y2, acc3);
 
-#else     
+#else	 
 
       /* Read four samples from smaller buffer */
-      a = *pIn2;
-      b = *(pIn2 + 1);
+	  a = *pIn2;
+	  b = *(pIn2 + 1);
 
 #ifndef ARM_MATH_BIG_ENDIAN
       y1 = __PKHBT(a, b, 16);
 #else
       y1 = __PKHBT(b, a, 16);
 #endif
-      
-      a = *(pIn2 + 2);
-      b = *(pIn2 + 3);
+	  
+	  a = *(pIn2 + 2);
+	  b = *(pIn2 + 3);
 #ifndef ARM_MATH_BIG_ENDIAN
       y2 = __PKHBT(a, b, 16);
 #else
       y2 = __PKHBT(b, a, 16);
-#endif                
+#endif				
 
       acc0 = __SMLALD(x1, y1, acc0);
 
@@ -382,8 +382,8 @@
 
       acc1 = __SMLALDX(x3, y1, acc1);
 
-      a = *pScr1;
-      b = *(pScr1 + 1);
+	  a = *pScr1;
+	  b = *(pScr1 + 1);
 
 #ifndef ARM_MATH_BIG_ENDIAN
       x1 = __PKHBT(a, b, 16);
@@ -405,8 +405,8 @@
 
       acc1 = __SMLALDX(x3, y2, acc1);
 
-      a = *(pScr1 + 2);
-      b = *(pScr1 + 3);
+	  a = *(pScr1 + 2);
+	  b = *(pScr1 + 3);
 
 #ifndef ARM_MATH_BIG_ENDIAN
       x2 = __PKHBT(a, b, 16);
@@ -422,7 +422,7 @@
 
       acc3 = __SMLALDX(x3, y2, acc3);
 
-#endif    /*    #ifndef UNALIGNED_SUPPORT_DISABLE    */
+#endif	/*	#ifndef UNALIGNED_SUPPORT_DISABLE	*/
 
       pIn2 += 4u;
       pScr1 += 4u;