search for: pitch_search

Displaying 6 results from an estimated 6 matches for "pitch_search".

2010 Sep 08
1
Celt 0.7.1 Fixed math
Hi, I'm using Celt 0.7.1 in fixed math mode. In the celt_encode function, if the variable has_pitch is true, the function pitch_search is called. Within this function the find_best_pitch subfunction is called. Here the variable "float score;" is defined. Is this right? I was expecting not to see any float declaration in the fixed math code. Is it possible to redefine it as integer? Cheers Riccardo Riccardo Micci Se...
2015 Feb 26
3
[RFC PATCH v2] Encode optimize using libNe10
...elt_autocorr': /home/tterribe/src/xiph/git/xiph/opus/build/../celt/celt_lpc.c:285: undefined reference to `CELT_PITCH_XCORR_IMPL' /home/tterribe/src/xiph/git/xiph/opus/build/../celt/celt_lpc.c:285: undefined reference to `CELT_PITCH_XCORR_IMPL' celt/tests/test_unit_dft.o: In function `pitch_search': /home/tterribe/src/xiph/git/xiph/opus/build/../celt/pitch.c:358: undefined reference to `CELT_PITCH_XCORR_IMPL' /home/tterribe/src/xiph/git/xiph/opus/build/../celt/pitch.c:358: undefined reference to `CELT_PITCH_XCORR_IMPL' collect2: error: ld returned 1 exit status The configure...
2015 Feb 26
0
[RFC PATCH v2] Encode optimize using libNe10
.../home/tterribe/src/xiph/git/xiph/opus/build/../celt/celt_lpc.c:285: > undefined reference to `CELT_PITCH_XCORR_IMPL' > /home/tterribe/src/xiph/git/xiph/opus/build/../celt/celt_lpc.c:285: > undefined reference to `CELT_PITCH_XCORR_IMPL' > celt/tests/test_unit_dft.o: In function `pitch_search': > /home/tterribe/src/xiph/git/xiph/opus/build/../celt/pitch.c:358: undefined > reference to `CELT_PITCH_XCORR_IMPL' > /home/tterribe/src/xiph/git/xiph/opus/build/../celt/pitch.c:358: undefined > reference to `CELT_PITCH_XCORR_IMPL' > collect2: error: ld returned 1 exit...
2013 May 23
2
ASM runtime detection and optimizations
...{ VARDECL( opus_val16, lp_pitch_buf ); ALLOC( lp_pitch_buf, DECODE_BUFFER_SIZE>>1, opus_val16 ); - pitch_downsample(decode_mem, lp_pitch_buf, DECODE_BUFFER_SIZE, C); + pitch_downsample(decode_mem, lp_pitch_buf, DECODE_BUFFER_SIZE, C, st->arch); pitch_search(lp_pitch_buf+(PLC_PITCH_LAG_MAX>>1), lp_pitch_buf, DECODE_BUFFER_SIZE-PLC_PITCH_LAG_MAX, PLC_PITCH_LAG_MAX-PLC_PITCH_LAG_MIN, &pitch_index); @@ -496,7 +499,7 @@ static void celt_decode_lost(CELTDecoder * OPUS_RESTRICT st, opus_val16 * OPUS_R...
2016 Sep 13
4
[PATCH 12/15] Replace call of celt_inner_prod_c() (step 1)
...amp2Log2(mode, effEnd, end, bandE, bandLogE, C); /* Compensate for the scaling of short vs long mdcts */ for (i=0;i<C*nbEBands;i++) diff --git a/celt/pitch.c b/celt/pitch.c index bf46e7d..f944a33 100644 --- a/celt/pitch.c +++ b/celt/pitch.c @@ -378,7 +378,7 @@ void pitch_search(const opus_val16 * OPUS_RESTRICT x_lp, opus_val16 * OPUS_RESTR for (j=0;j<len>>1;j++) sum += SHR32(MULT16_16(x_lp[j],y[i+j]), shift); #else - sum = celt_inner_prod_c(x_lp, y+i, len>>1); + sum = celt_inner_prod(x_lp, y+i, len>>1, arch); #endif...
2015 Feb 04
4
[RFC PATCH v2] Encode optimize using libNe10
Changes from RFC PATCH v1: - passing arch parameter explicitly - reduced stack usage by ~3.5K by using scaled NE10 fft version - moved all optimization array functions to arm_celt_map.c - Other cleanups pointed out by Timothy Phil, As you mentioned earlier, could you please address all compile and linker errors/warnings coming out of Ne10 library? You can find my working Ne10 repo at [1] You