Displaying 4 results from an estimated 4 matches for "silk_fix_const".
2019 May 27
0
opus-1.3.1 patch for ARM Cortex-M4F (single precision)
...X.h 2018-09-26 14:49:41 +0800
+++ opus-1.3.1/silk/SigProc_FIX.h 2019-05-27 17:18:59 +0800
@@ -540,7 +540,7 @@ static OPUS_INLINE opus_int32 silk_ROR32
#define silk_max(a, b) (((a) > (b)) ? (a) : (b))
/* Macro to convert floating-point constants to fixed-point */
-#define SILK_FIX_CONST( C, Q ) ((opus_int32)((C) * ((opus_int64)1 << (Q)) + 0.5))
+#define SILK_FIX_CONST( C, Q ) ((opus_int32)((C) * ((opus_int64)1 << (Q)) + 0.5f))
/* silk_min() versions with typecast in the function call */
static OPUS_INLINE opus_int silk_min_int(opus_int a,...
2013 Feb 07
1
Bug report in burg_modified_fix( ) opus1.1-alpha
Hello Opus,
I?d like to report a bug in the fixed point OPUS code:
line 336 (or thereabouts), operand FIND_LPC_COND_FAC should be replaced with SILK_FIX_CONST(FIND_LPC_COND_FAC ,32), otherwise multiplication by zero typically occurs.
please confirm.
Cliff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20130207/6106ee47/attachment.htm
2016 Aug 26
2
[PATCH 9/9] Optimize silk_inner_prod_aligned_scale() for ARM NEON
...I Number of samples */
+ int arch /* I Architecture */
)
{
opus_int n, is10msFrame, denom_Q16, delta0_Q13, delta1_Q13;
@@ -98,8 +99,8 @@ void silk_stereo_LR_to_MS(
SILK_FIX_CONST( STEREO_RATIO_SMOOTH_COEF, 16 );
smooth_coef_Q16 = silk_SMULWB( silk_SMULBB( prev_speech_act_Q8, prev_speech_act_Q8 ), smooth_coef_Q16 );
- pred_Q13[ 0 ] = silk_stereo_find_predictor( &LP_ratio_Q14, LP_mid, LP_side, &state->mid_side_amp_Q0[ 0 ], frame_length, smooth_coef_Q1...
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