Displaying 5 results from an estimated 5 matches for "silk_memcpy".
2016 Jul 06
1
opus Digest, Vol 90, Issue 4
...process_NLSFs.c b/silk/process_NLSFs.c
> index c27cf03..d9123ef 100644
> --- a/silk/process_NLSFs.c
> +++ b/silk/process_NLSFs.c
> @@ -100,6 +100,6 @@ void silk_process_NLSFs(
>
>      } else {
>          /* Copy LPC coefficients for first half from second half */
> -        silk_memcpy( PredCoef_Q12[ 0 ], PredCoef_Q12[ 1 ],
> psEncC->predictLPCOrder * sizeof( opus_int16 ) );
> +        silk_memmove( PredCoef_Q12[ 0 ], PredCoef_Q12[ 1 ],
> psEncC->predictLPCOrder * sizeof( opus_int16 ) );
>      }
>  }
> --
> 2.8.1
>
>
>
> -------------------...
2016 Jul 04
1
[PATCH] SILK: use silk_memmove for potentially overlapping areas
...(+), 1 deletion(-)
diff --git a/silk/process_NLSFs.c b/silk/process_NLSFs.c
index c27cf03..d9123ef 100644
--- a/silk/process_NLSFs.c
+++ b/silk/process_NLSFs.c
@@ -100,6 +100,6 @@ void silk_process_NLSFs(
 
     } else {
         /* Copy LPC coefficients for first half from second half */
-        silk_memcpy( PredCoef_Q12[ 0 ], PredCoef_Q12[ 1 ], psEncC->predictLPCOrder * sizeof( opus_int16 ) );
+        silk_memmove( PredCoef_Q12[ 0 ], PredCoef_Q12[ 1 ], psEncC->predictLPCOrder * sizeof( opus_int16 ) );
     }
 }
-- 
2.8.1
2016 Aug 23
0
[PATCH 8/8] Optimize silk_NSQ_del_dec() for ARM NEON
...tmp1_s32x4 );
+        vst1q_s32( psDelDec->RandState[ *smpl_buf_idx ],     tmp1_s32x4 );
+        vst1q_s32( psDelDec->RD_Q10,                         vld1q_s32( psSampleState[ 0 ].RD_Q10 ) );
+        delayedGain_Q10[ *smpl_buf_idx ] = Gain_Q10;
+    }
+    /* Update LPC states */
+    silk_memcpy( psDelDec->sLPC_Q14[ 0 ], psDelDec->sLPC_Q14[ length ], MAX_DEL_DEC_STATES * NSQ_LPC_BUF_LENGTH * sizeof(opus_int32) );
+
+    RESTORE_STACK;
+}
+
+static OPUS_INLINE void silk_SMULWB_8_neon(
+    const opus_int16 *a,
+    const int32x2_t  b,
+    opus_int32       *o
+)
+{
+    const int16x8_...
2016 Aug 23
2
[PATCH 7/8] Update NSQ_LPC_BUF_LENGTH macro.
NSQ_LPC_BUF_LENGTH is independent of DECISION_DELAY.
---
 silk/define.h | 4 ----
 1 file changed, 4 deletions(-)
diff --git a/silk/define.h b/silk/define.h
index 781cfdc..1286048 100644
--- a/silk/define.h
+++ b/silk/define.h
@@ -173,11 +173,7 @@ extern "C"
 
 #define MAX_MATRIX_SIZE                         MAX_LPC_ORDER /* Max of LPC Order and LTP order */
 
-#if( MAX_LPC_ORDER >
2016 Jul 14
6
Several patches of ARM NEON optimization
I rebased my previous 3 patches to the current master with minor changes.
Patches 1 to 3 replace all my previous submitted patches.
Patches 4 and 5 are new.
Thanks,
Linfeng Zhang