search for: state_fxx

Displaying 4 results from an estimated 4 matches for "state_fxx".

2016 Aug 26
2
[PATCH 9/9] Optimize silk_inner_prod_aligned_scale() for ARM NEON
...+} 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.nFramesEncoded ], &psEnc->sStereo.mid_only_flags[ psEnc->state_Fxx[ 0 ].sCmn.nFramesEncoded ], MStargetRates_bps, Ta...
2019 Apr 01
2
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; + } +#ifndef DISABLE_FLOAT_API + else if (st->use_dtx) { + /* DTX determined by Opus. */ + *value = st->nb_no_activity_frames >= NB_SPEECH_FRAMES_BEFORE_DTX; + } +#endi...
2019 Apr 08
3
API for checking whether the encoder is in DTX (PR #107)
...> > + *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 cha...
2019 Apr 05
0
API for checking whether the encoder is in DTX (PR #107)
...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, but this code looks only a...