OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:psDec
(Results
1 - 11
of
11
) sorted by null
/external/libopus/silk/
init_decoder.c
38
silk_decoder_state *
psDec
/* I/O Decoder state pointer */
42
silk_memset(
psDec
, 0, sizeof( silk_decoder_state ) );
45
psDec
->first_frame_after_reset = 1;
46
psDec
->prev_gain_Q16 = 65536;
49
silk_CNG_Reset(
psDec
);
52
silk_PLC_Reset(
psDec
);
decoder_set_fs.c
36
silk_decoder_state *
psDec
, /* I/O Decoder state pointer */
44
silk_assert(
psDec
->nb_subfr == MAX_NB_SUBFR ||
psDec
->nb_subfr == MAX_NB_SUBFR/2 );
47
psDec
->subfr_length = silk_SMULBB( SUB_FRAME_LENGTH_MS, fs_kHz );
48
frame_length = silk_SMULBB(
psDec
->nb_subfr,
psDec
->subfr_length );
51
if(
psDec
->fs_kHz != fs_kHz ||
psDec
->fs_API_hz != fs_API_Hz ) {
53
ret += silk_resampler_init( &
psDec
->resampler_state, silk_SMULBB( fs_kHz, 1000 ), fs_API_Hz, 0 );
55
psDec
->fs_API_hz = fs_API_Hz
[
all
...]
decode_frame.c
40
silk_decoder_state *
psDec
, /* I/O Pointer to Silk decoder state */
53
L =
psDec
->frame_length;
61
( lostFlag == FLAG_DECODE_LBRR &&
psDec
->LBRR_flags[
psDec
->nFramesDecoded ] == 1 ) )
69
silk_decode_indices(
psDec
, psRangeDec,
psDec
->nFramesDecoded, lostFlag, condCoding );
74
silk_decode_pulses( psRangeDec, pulses,
psDec
->indices.signalType,
75
psDec
->indices.quantOffsetType,
psDec
->frame_length );
80
silk_decode_parameters(
psDec
, psDecCtrl, condCoding )
[
all
...]
decode_parameters.c
36
silk_decoder_state *
psDec
, /* I/O State */
46
silk_gains_dequant( psDecCtrl->Gains_Q16,
psDec
->indices.GainsIndices,
47
&
psDec
->LastGainIndex, condCoding == CODE_CONDITIONALLY,
psDec
->nb_subfr );
52
silk_NLSF_decode( pNLSF_Q15,
psDec
->indices.NLSFIndices,
psDec
->psNLSF_CB );
55
silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 1 ], pNLSF_Q15,
psDec
->LPC_order );
59
if(
psDec
->first_frame_after_reset == 1 ) {
60
psDec
->indices.NLSFInterpCoef_Q2 = 4;
63
if(
psDec
->indices.NLSFInterpCoef_Q2 < 4 )
[
all
...]
decode_indices.c
36
silk_decoder_state *
psDec
, /* I/O State */
51
if( decode_LBRR ||
psDec
->VAD_flags[ FrameIndex ] ) {
56
psDec
->indices.signalType = (opus_int8)silk_RSHIFT( Ix, 1 );
57
psDec
->indices.quantOffsetType = (opus_int8)( Ix & 1 );
65
psDec
->indices.GainsIndices[ 0 ] = (opus_int8)ec_dec_icdf( psRangeDec, silk_delta_gain_iCDF, 8 );
68
psDec
->indices.GainsIndices[ 0 ] = (opus_int8)silk_LSHIFT( ec_dec_icdf( psRangeDec, silk_gain_iCDF[
psDec
->indices.signalType ], 8 ), 3 );
69
psDec
->indices.GainsIndices[ 0 ] += (opus_int8)ec_dec_icdf( psRangeDec, silk_uniform8_iCDF, 8 );
73
for( i = 1; i <
psDec
->nb_subfr; i++ ) {
74
psDec
->indices.GainsIndices[ i ] = (opus_int8)ec_dec_icdf( psRangeDec, silk_delta_gain_iCDF, 8 )
[
all
...]
PLC.h
44
silk_decoder_state *
psDec
/* I/O Decoder state */
48
silk_decoder_state *
psDec
, /* I/O Decoder state */
56
silk_decoder_state *
psDec
, /* I/O decoder state */
decode_core.c
39
silk_decoder_state *
psDec
, /* I/O Decoder state */
56
silk_assert(
psDec
->prev_gain_Q16 != 0 );
58
ALLOC( sLTP,
psDec
->ltp_mem_length, opus_int16 );
59
ALLOC( sLTP_Q15,
psDec
->ltp_mem_length +
psDec
->frame_length, opus_int32 );
60
ALLOC( res_Q14,
psDec
->subfr_length, opus_int32 );
61
ALLOC( sLPC_Q14,
psDec
->subfr_length + MAX_LPC_ORDER, opus_int32 );
63
offset_Q10 = silk_Quantization_Offsets_Q10[
psDec
->indices.signalType >> 1 ][
psDec
->indices.quantOffsetType ];
65
if(
psDec
->indices.NLSFInterpCoef_Q2 < 1 << 2 )
[
all
...]
CNG.c
63
silk_decoder_state *
psDec
/* I/O Decoder state */
68
NLSF_step_Q15 = silk_DIV32_16( silk_int16_MAX,
psDec
->LPC_order + 1 );
70
for( i = 0; i <
psDec
->LPC_order; i++ ) {
72
psDec
->sCNG.CNG_smth_NLSF_Q15[ i ] = NLSF_acc_Q15;
74
psDec
->sCNG.CNG_smth_Gain_Q16 = 0;
75
psDec
->sCNG.rand_seed = 3176576;
80
silk_decoder_state *
psDec
, /* I/O Decoder state */
89
silk_CNG_struct *psCNG = &
psDec
->sCNG;
92
if(
psDec
->fs_kHz != psCNG->fs_kHz ) {
94
silk_CNG_Reset(
psDec
);
[
all
...]
PLC.c
42
silk_decoder_state *
psDec
, /* I/O Decoder state */
47
silk_decoder_state *
psDec
, /* I/O Decoder state */
55
silk_decoder_state *
psDec
/* I/O Decoder state */
58
psDec
->sPLC.pitchL_Q8 = silk_LSHIFT(
psDec
->frame_length, 8 - 1 );
59
psDec
->sPLC.prevGain_Q16[ 0 ] = SILK_FIX_CONST( 1, 16 );
60
psDec
->sPLC.prevGain_Q16[ 1 ] = SILK_FIX_CONST( 1, 16 );
61
psDec
->sPLC.subfr_length = 20;
62
psDec
->sPLC.nb_subfr = 2;
66
silk_decoder_state *
psDec
, /* I/O Decoder state *
[
all
...]
dec_API.c
100
silk_decoder *
psDec
= ( silk_decoder * )decState;
101
silk_decoder_state *channel_state =
psDec
->channel_state;
119
if( decControl->nChannelsInternal >
psDec
->nChannelsInternal ) {
123
stereo_to_mono = decControl->nChannelsInternal == 1 &&
psDec
->nChannelsInternal == 2 &&
160
if( decControl->nChannelsAPI == 2 && decControl->nChannelsInternal == 2 && (
psDec
->nChannelsAPI == 1 ||
psDec
->nChannelsInternal == 1 ) ) {
161
silk_memset(
psDec
->sStereo.pred_prev_Q13, 0, sizeof(
psDec
->sStereo.pred_prev_Q13 ) );
162
silk_memset(
psDec
->sStereo.sSide, 0, sizeof(
psDec
->sStereo.sSide ) )
[
all
...]
main.h
388
silk_decoder_state *
psDec
/* I/O Decoder state pointer */
393
silk_decoder_state *
psDec
, /* I/O Decoder state pointer */
402
silk_decoder_state *
psDec
, /* I/O Pointer to Silk decoder state */
413
silk_decoder_state *
psDec
, /* I/O State */
422
silk_decoder_state *
psDec
, /* I/O State */
429
silk_decoder_state *
psDec
, /* I/O Decoder state */
451
silk_decoder_state *
psDec
/* I/O Decoder state */
456
silk_decoder_state *
psDec
, /* I/O Decoder state */
Completed in 306 milliseconds