search for: silk_encode

Displaying 11 results from an estimated 11 matches for "silk_encode".

2014 Jan 31
1
Bug in getting result of check_control_input()
opus\silk\enc_API.c silk_Encode() 168: if( ( ret = check_control_input( encControl ) != 0 ) ) { priority of the '!=' operator is higher than '=' operator fix: if( ( ret = check_control_input( encControl ) ) != 0 ) {
2018 Sep 21
2
Opus 1.2.1 crash on silk/VAD.c:315
...bt #0 0x0000000000aaf38a in silk_VAD_GetNoiseLevels (pX=pX at entry=0x7f26740297a0, psSilk_VAD=psSilk_VAD at entry=0x15897c38) at silk/VAD.c:315 #1 0x0000000000aa4a9d in silk_VAD_GetSA_Q8_sse4_1 (psEncC=0x15897c18, pIn=<optimized out>) at silk/x86/VAD_sse.c:177 #2 0x0000000000a9f92b in silk_encode_do_VAD_FLP (psEnc=psEnc at entry=0x15897c18) at silk/float/encode_frame_FLP.c:51 #3 0x0000000000a9a40c in silk_Encode (encState=encState at entry=0x15897c18, encControl=encControl at entry=0x158935a8, samplesIn=0x7f267402a8a8, samplesIn at entry=0x7f267402a128, nSamplesIn=0, nSamplesIn at entr...
2019 Apr 01
2
API for checking whether the encoder is in DTX (PR #107)
...; + if (!value) + { + goto bad_arg; + } + *value = 0; + if (st->silk_mode.useDTX) { + /* DTX determined by Silk. */ + void *silk_enc = (char*)st+st->silk_enc_offset; + *value = ((silk_encoder*)silk_enc)->state_Fxx[0].sCmn.noSpeechCounter >= NB_SPEECH_FRAMES_BEFORE_DTX; + } +#ifndef DISABLE_FLOAT_API + else if (st->use_dtx) { + /* DTX determined by Opus. */ + *value = st->nb_no_activity_frames >= NB_SPEECH_FRAMES_BEFORE_...
2013 May 27
1
Empty buffer on encoder write byte
...`ec_enc_carry_out(_this=0x04232238, _c=61) + 42 at entenc.c:62 frame #1: 0x0018070a RTCClient`ec_enc_icdf [inlined] ec_enc_normalize(_this=0x04232238) + 24 at entenc.c:104 frame #2: 0x001806f2 RTCClient`ec_enc_icdf(_this=0x04232238) + 62 at entenc.c:172 frame #3: 0x001880c0 RTCClient`silk_encode_indices(psEncC=0x0422c1c0, psRangeEnc=0x04232238) + 232 at encode_indices.c:85 frame #4: 0x00192fee RTCClient`silk_encode_frame_FLP(psEnc=0x04239bb4, pnBytesOut=0x000027d8, psRangeEnc=0x04232238, condCoding=69435308) + 1886 at encode_frame_FLP.c:196 frame #5: 0x00187de8 RTCClient`silk_Enc...
2018 Sep 27
1
[Re:] Re: Opus 1.2.1 crash on silk/VAD.c:315
...eLevels >> (pX=pX at entry=0x7f26740297a0, >> psSilk_VAD=psSilk_VAD at entry=0x15897c38) at silk/VAD.c:315 >> #1 0x0000000000aa4a9d in silk_VAD_GetSA_Q8_sse4_1 (psEncC=0x15897c18, >> pIn=<optimized out>) at silk/x86/VAD_sse.c:177 >> #2 0x0000000000a9f92b in silk_encode_do_VAD_FLP >> (psEnc=psEnc at entry=0x15897c18) at silk/float/encode_frame_FLP.c:51 >> #3 0x0000000000a9a40c in silk_Encode >> (encState=encState at entry=0x15897c18, encControl=encControl at entry=0x158935a8, >> samplesIn=0x7f267402a8a8, samplesIn at entry=0x7f267402a1...
2019 Apr 08
3
API for checking whether the encoder is in DTX (PR #107)
...g; > > + } > > + *value = 0; > > + if (st->silk_mode.useDTX) { > > + /* DTX determined by Silk. */ > > + void *silk_enc = (char*)st+st->silk_enc_offset; > > + *value = > > ((silk_encoder*)silk_enc)->state_Fxx[0].sCmn.noSpeechCounter >= > > NB_SPEECH_FRAMES_BEFORE_DTX; > > + } > > > It looks like this does not have the same behavior as the code that > decides whether to produce a DTX frame. For example, in the case of > stereo the SILK D...
2017 Jun 27
0
[Windows]Issue with opus 1.2 : lnk2001
Hi, I got libopus 1.2 from the download page. I compiled it using visual studio 2015 with your configuration (Release). I integrated opus.lib and the new include files in my own solution, but when I compile, I found 28 link errors (lnk 2001): - silk_Encode - ec_enc_init - celt_inner_prod_sse - opus_select_arch - silk_InitEncoder - ec_enc_shrink - silk_log2lin - ec_enc_bit_logp - celt_encoder_get_size - celt_encoder_init - silk_lin2log - opus_custom_encoder_ctl - ec_enc_uint - silk_Get_Encoder_Size - celt_encode_with_ec - ec_enc_done - opus_fft_c - si...
2017 Oct 10
0
SILK-implementation some questions
...en 60 and 100 Hz" while form the other hand in the RFC 6716 is defined as: RFC 6716: "This is a second order Auto Regressive Moving Average (i.e., with poles and zeros) filter with a cut-off frequency around 50 Hz" and actually both of them are implemented one is in the function silk_Encode @enc_API file, and the second is in the function hp_cutoff @opus_encoder file. Therefore I'm right to guess that you are using both ? and what should be the most convenient reference to follow the implementation of OPUS and it is components such as CELT and SILK ? 2. according to and...
2018 Sep 27
0
Opus 1.2.1 crash on silk/VAD.c:315
...in silk_VAD_GetNoiseLevels > (pX=pX at entry=0x7f26740297a0, >     psSilk_VAD=psSilk_VAD at entry=0x15897c38) at silk/VAD.c:315 > #1  0x0000000000aa4a9d in silk_VAD_GetSA_Q8_sse4_1 (psEncC=0x15897c18, > pIn=<optimized out>) at silk/x86/VAD_sse.c:177 > #2  0x0000000000a9f92b in silk_encode_do_VAD_FLP > (psEnc=psEnc at entry=0x15897c18) at silk/float/encode_frame_FLP.c:51 > #3  0x0000000000a9a40c in silk_Encode > (encState=encState at entry=0x15897c18, encControl=encControl at entry=0x158935a8, >     samplesIn=0x7f267402a8a8, samplesIn at entry=0x7f267402a128, > nSample...
2019 Apr 05
0
API for checking whether the encoder is in DTX (PR #107)
...{ > +                goto bad_arg; > +            } > +            *value = 0; > +            if (st->silk_mode.useDTX) { > +                /* DTX determined by Silk. */ > +                void *silk_enc = (char*)st+st->silk_enc_offset; > +                *value = > ((silk_encoder*)silk_enc)->state_Fxx[0].sCmn.noSpeechCounter >= > NB_SPEECH_FRAMES_BEFORE_DTX; > +            } It looks like this does not have the same behavior as the code that decides whether to produce a DTX frame. For example, in the case of stereo the SILK DTX code considers both channels,...
2016 Aug 26
2
[PATCH 9/9] Optimize silk_inner_prod_aligned_scale() for ARM NEON
...0); + + for( ; i < len; i++ ) { + sum = silk_ADD_RSHIFT32( sum, silk_SMULBB( inVec1[ i ], inVec2[ i ] ), scale ); + } + return sum; +} diff --git a/silk/enc_API.c b/silk/enc_API.c index ba3db06..09fd551 100644 --- a/silk/enc_API.c +++ b/silk/enc_API.c @@ -411,7 +411,7 @@ opus_int silk_Encode( /* O Returns error co silk_stereo_LR_to_MS( &psEnc->sStereo, &psEnc->state_Fxx[ 0 ].sCmn.inputBuf[ 2 ], &psEnc->state_Fxx[ 1 ].sCmn.inputBuf[ 2 ], psEnc->sStereo.predIx[ psEnc->state_Fxx[ 0 ].sCmn...