search for: sub16

Displaying 9 results from an estimated 9 matches for "sub16".

Did you mean: sub1
2010 Nov 12
0
A Probably Bug of TWO_PATH Implementation in Speex1.2rc1 AEC
...t->Y+chan*N, st->y+chan*N); } See = 0; #ifdef TWO_PATH Dbf = 0; /* Difference in response, this is used to estimate the variance of our residual power estimate */ for (chan = 0; chan < C; chan++) { for (i=0;i<st->frame_size;i++) st->e[chan*N+i] = SUB16(st->e[chan*N+i+st->frame_size], st->y[chan*N+i+st->frame_size]); Dbf += 10+mdf_inner_prod(st->e+chan*N, st->e+chan*N, st->frame_size); } #endif for (chan = 0; chan < C; chan++) { for (i=0;i<st->frame_size;i++) st->e[chan*N+i] = SUB16(st->in...
2009 Nov 27
2
using reshape to do ANOVA mixed models
Hi, I just started with R and I found that there are many options to rearrange the data to do mixed models. I want to use the reshape function. I have 2 between subject variables and one within. I was able to change the data structure but still - the result of the aov functions are calculating everything as a within subject. the table looks like this: SerialNo breed treatment distance_1
2008 Feb 19
4
Patch for Analog Devices compiler & fixed-point AGC
...compute_psd16(st->bnk,st->gain_floor+N, st->gain_floor); /* Compute gain according to the Ephraim-Malah algorithm -- linear frequency */ for (i=0;i<N;i++) @@ -933,7 +933,7 @@ tmp = MULT16_16_P15(p,spx_sqrt(SHL32(EXTEND32(st->gain[i]),15))) + MULT16_16_P15(SUB16(Q15_ONE,p),spx_sqrt(SHL32(EXTEND32(st->gain_floor[i]),15))); st->gain2[i]=SQR16_Q15(tmp); } - filterbank_compute_psd16(st->bank,st->gain2+N, st->gain2); + filterbank_compute_psd16(st->bnk,st->gain2+N, st->gain2); } /* If noise suppress...
2009 Jan 14
0
[PATCH] Pitch now quantised at the band level, got rid of all the VQ code.
...const celt_uint16_t *codebook, int len, int entries) -{ - int i,j; - int ind = 0; - celt_word32_t min_dist=VERY_LARGE32; - int best_index=0; - for (i=0;i<entries;i++) - { - celt_word32_t dist=0; - const celt_pgain_t *inp = in; - j=0; do { - celt_pgain_t tmp1 = SUB16(*inp++,PGAIN_EVEN14(codebook, ind)); - celt_pgain_t tmp2 = SUB16(*inp++,PGAIN_ODD14(codebook, ind)); - ind++; - dist = MAC16_16(dist, tmp1, tmp1); - dist = MAC16_16(dist, tmp2, tmp2); - } while (++j<len>>1); - if (dist<min_dist) - { -...
2008 Feb 02
0
Patch to make analysis data available.
...spx_int32_t fend = (spx_int32_t) DIV32(MULT16_16(2000 * 2, st->ps_size), st->sampling_rate); + spx_word32_t Z = 0; + for(i = fstart; i<= fend; i++) + Z = ADD32(Z, EXTEND32(st->zeta[i])); + (*(spx_int32_t*)ptr) = (spx_int32_t) DIV32_16(MULT16_16(PSHR32(Z, SNR_SHIFT), 100), SUB16(fend, fstart)); + } + break; default: speex_warning_int("Unknown speex_preprocess_ctl request: ", request); return -1;
2004 Aug 06
0
[ANNOUNCE] PocketPC Port for speex-1.1.5 with sample code
...GAMMA_SCALING 1. #define GAIN_SCALING 1. #define GAIN_SCALING_1 1. #define LPC_SHIFT 0 #define SIG_SHIFT 0 #define VERY_SMALL 1e-30 #define PSHR(a,shift) (a) #define SHR(a,shift) (a) #define SHL(a,shift) (a) #define SATURATE(x,a) (x) #define ADD16(a,b) ((a)+(b)) #define SUB16(a,b) ((a)-(b)) #define ADD32(a,b) ((a)+(b)) #define SUB32(a,b) ((a)-(b)) #define ADD64(a,b) ((a)+(b)) #define MULT16_16_16(a,b) ((a)*(b)) #define MULT16_16(a,b) ((a)*(b)) #define MAC16_16(c,a,b) ((c)+(a)*(b)) #define MULT16_32_Q11(a,b) ((a)*(b)) #define MULT16_32_Q13(a,b) ((a)*...
2004 Aug 06
2
[ANNOUNCE] PocketPC Port for speex-1.1.5 with sample code
Hi Jean-Marc, Based on the wonderful Speex project, I've created SpeexOutLoud, essentially a Speex codec port for Windows Mobile 2003 devices. I've included a sample project intended to show the usage of SpeexOutLoud codec in a Pocket PC application based on .NET Compact Framework. I'd request you to please go through the attached build, and include it as a contribution to the
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...) #define SHL32(a,shift) (a) #define PSHR16(a,shift) (a) #define PSHR32(a,shift) (a) #define SATURATE16(x,a) (x) #define SATURATE32(x,a) (x) #define PSHR(a,shift) (a) #define SHR(a,shift) (a) #define SHL(a,shift) (a) #define SATURATE(x,a) (x) #define ADD16(a,b) ((a)+(b)) #define SUB16(a,b) ((a)-(b)) #define ADD32(a,b) ((a)+(b)) #define SUB32(a,b) ((a)-(b)) #define ADD64(a,b) ((a)+(b)) #define MULT16_16_16(a,b) ((a)*(b)) #define MULT16_16(a,b) ((spx_word32_t)(a)*(spx_word32_t)(b)) #define MAC16_16(c,a,b) ((c)+(spx_word32_t)(a)*(spx_word32_t)(b)) #define MULT16_32_Q11...
2013 Feb 14
1
[LLVMdev] LiveIntervals analysis problem
...e.body11.lr.ph ], [ %shr12.i, %while.body11 ] %14 = phi i16 [ %add.ptr1.promoted, %while.body11.lr.ph ], [ %conv6.10.i, %while.body11 ] %lost.1134 = phi i16 [ %lost.0.lcssa, %while.body11.lr.ph ], [ %conv15, %while.body11 ] %sc.addr.1133 = phi i32 [ %sc.addr.0.lcssa, %while.body11.lr.ph ], [ %sub16, %while.body11 ] %conv12 = zext i16 %14 to i32 %and = and i32 %conv12, 255 %conv13 = zext i16 %lost.1134 to i32 %or14 = or i32 %and, %conv13 %conv15 = trunc i32 %or14 to i16 %conv.i = zext i16 %shr12.i137 to i32 %shl.i80 = shl nuw nsw i32 %conv.i, 8 %shr12.i = lshr i16 %shr12.i137,...