search for: tempin

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

Did you mean: telpin
2006 Nov 14
3
the secret (?) language of lists
A couple days ago, Mark Leeds asked about a solution that would basically stagger two lists, a and b, to return a list in the form of a[1], b[1], a[2], b[2], a[3].... In particular, the summary of his question was in reference to lists defined by x <- 5 tempin <- seq(1,1411, by=30) a <- tempin b <- tempin + x I offered the following function everyOther <- function(tempin, x){ tempout <- array(data=NA, dim=length(tempin)*2) tempout[seq(1,length(tempin)*2, by=2)]<-tempin tempout[seq(2,length(tempin)*2, by=2)]<-tempin+x...
2006 Nov 12
7
I think a simple question
I have index ( of a vector ) values of say tempin<-c(1 31 61 91 121 all the way upto 1411) What I want is a function that takes in a number say, x = 5, and gives me an new vector of tempout<-1 6 31 36 91 96 121 126 .......... 1411 1416 This can't be so hard but I can't get it and I've honestly tried. Obviously, t...
2015 Jan 29
2
[RFC PATCH v1 2/2] armv7(float): Optimize encode usecase using NE10 library
...const kiss_fft_cpx *fin, > + kiss_fft_cpx *fout) Again, these are mis-aligned. > +{ > + ne10_fft_cfg_float32_t cfg = (ne10_fft_cfg_float32_t)st->priv; > + VARDECL(ne10_fft_cpx_float32_t, temp); > + VARDECL(ne10_fft_cpx_float32_t, tempin); Just another note on API design... the _t suffix is reserved by POSIX, and should never be used by user code. It's unlikely to cause issues with these long type names, but I have certainly seen it cause issues elsewhere (and using the style encourages others to do it). > + SAVE_STAC...
2015 Jan 29
0
[RFC PATCH v1 2/2] armv7(float): Optimize encode usecase using NE10 library
...side. Can you please make these changes on NE10 side? 1. Remove usage of _t in ne10_fft_cfg_float32_t and ne10_fft_cpx_float32_t -------from comment---- ne10_fft_cfg_float32_t cfg = (ne10_fft_cfg_float32_t)st->priv; + VARDECL(ne10_fft_cpx_float32_t, temp); + VARDECL(ne10_fft_cpx_float32_t, tempin); Just another note on API design... the _t suffix is reserved by POSIX, and should never be used by user code. It's unlikely to cause issues with these long type names, but I have certainly seen it cause issues elsewhere (and using the style encourages others to do it). ------- It should be f...
2015 Feb 03
2
opus Digest, Vol 72, Issue 17
...> ne10_fft_state_float32_t ------> will become ---> ne10_fft_state_float32 > ne10_fft_cfg_float32_t -----> will become ----> ne10_fft_cfg_float32 > > 2. Provide scaling as argument to ne10_fft_c2c_1d_float32_neon() and > remove need for one buffer on stack (ALLOC(tempin, st->nfft, > ne10_fft_cpx_float32_t);). We will still need cfg->buffer. So, peak stack usage > goes up by ~3.8K instead of ~7.5K. > > Hope to get the RFCv2 by end of next week. -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be pr...
2015 Jan 20
6
[RFC PATCH v1 0/2] Encode optimize using libNE10
Hello opus-dev, I've been cooking up this patchset to integrate NE10 library into opus. Current patchset focuses on encode use case mainly effecting performance of clt_mdct_forward() and opus_fft() (for float only) Glad to report the following on Encode use case: (Measured on my Beaglebone Black Cortex-A8 board) - Performance improvement for encode use case ~= 12.34% (Based on time -p
2015 Jan 30
1
[RFC PATCH v1 2/2] armv7(float): Optimize encode usecase using NE10 library
Viswanath Puttagunta wrote: > Is the peak stack usage a complete blocker in current form? Since this only affects people who enable NE10, I don't think this is a blocker.
2015 Feb 04
0
opus Digest, Vol 72, Issue 17
...t_state_float32_t ------> will become ---> ne10_fft_state_float32 >> ne10_fft_cfg_float32_t -----> will become ----> ne10_fft_cfg_float32 >> >> 2. Provide scaling as argument to ne10_fft_c2c_1d_float32_neon() and >> remove need for one buffer on stack (ALLOC(tempin, st->nfft, >> ne10_fft_cpx_float32_t);). We will still need cfg->buffer. So, peak stack usage >> goes up by ~3.8K instead of ~7.5K. >> >> Hope to get the RFCv2 by end of next week. > > -- IMPORTANT NOTICE: The contents of this email and any attachments are confid...
2015 Jan 20
0
[RFC PATCH v1 2/2] armv7(float): Optimize encode usecase using NE10 library
...+void opus_fft_float_neon(const kiss_fft_state *st, + const kiss_fft_cpx *fin, + kiss_fft_cpx *fout) +{ + ne10_fft_cfg_float32_t cfg = (ne10_fft_cfg_float32_t)st->priv; + VARDECL(ne10_fft_cpx_float32_t, temp); + VARDECL(ne10_fft_cpx_float32_t, tempin); + SAVE_STACK; + int N2 = st->nfft >> 1; + float32x4_t inq, outq; + float32x2_t scale; + float *in = (float *)fin; + float *out; + int i; + ALLOC(temp, st->nfft, ne10_fft_cpx_float32_t); + ALLOC(tempin, st->nfft, ne10_fft_cpx_float32_t); + + out = (float *)tempin...