Home
last modified time | relevance | path

Searched refs:nFramesPerPacket (Results 1 – 6 of 6) sorted by relevance

/external/libopus/silk/
Ddec_API.c131 channel_state[ n ].nFramesPerPacket = 1; in silk_Decode()
134 channel_state[ n ].nFramesPerPacket = 1; in silk_Decode()
137 channel_state[ n ].nFramesPerPacket = 1; in silk_Decode()
140 channel_state[ n ].nFramesPerPacket = 2; in silk_Decode()
143 channel_state[ n ].nFramesPerPacket = 3; in silk_Decode()
178 for( i = 0; i < channel_state[ n ].nFramesPerPacket; i++ ) { in silk_Decode()
187 if( channel_state[ n ].nFramesPerPacket == 1 ) { in silk_Decode()
190 …_dec_icdf( psRangeDec, silk_LBRR_flags_iCDF_ptr[ channel_state[ n ].nFramesPerPacket - 2 ], 8 ) + … in silk_Decode()
191 for( i = 0; i < channel_state[ n ].nFramesPerPacket; i++ ) { in silk_Decode()
200 for( i = 0; i < channel_state[ 0 ].nFramesPerPacket; i++ ) { in silk_Decode()
Denc_API.c256 for( i = 0; i < psEnc->state_Fxx[ 0 ].sCmn.nFramesPerPacket; i++ ) { in silk_Encode()
343 …iCDF[ 0 ] = 256 - silk_RSHIFT( 256, ( psEnc->state_Fxx[ 0 ].sCmn.nFramesPerPacket + 1 ) * encContr… in silk_Encode()
350 for( i = 0; i < psEnc->state_Fxx[ n ].sCmn.nFramesPerPacket; i++ ) { in silk_Encode()
354 if( LBRR_symbol && psEnc->state_Fxx[ n ].sCmn.nFramesPerPacket > 1 ) { in silk_Encode()
355 … LBRR_symbol - 1, silk_LBRR_flags_iCDF_ptr[ psEnc->state_Fxx[ n ].sCmn.nFramesPerPacket - 2 ], 8 ); in silk_Encode()
360 for( i = 0; i < psEnc->state_Fxx[ 0 ].sCmn.nFramesPerPacket; i++ ) { in silk_Encode()
402 nBits = silk_DIV32_16( nBits, psEnc->state_Fxx[ 0 ].sCmn.nFramesPerPacket ); in silk_Encode()
510 … > 0 && psEnc->state_Fxx[ 0 ].sCmn.nFramesEncoded == psEnc->state_Fxx[ 0 ].sCmn.nFramesPerPacket) { in silk_Encode()
513 for( i = 0; i < psEnc->state_Fxx[ n ].sCmn.nFramesPerPacket; i++ ) { in silk_Encode()
521 …patch_initial_bits( psRangeEnc, flags, ( psEnc->state_Fxx[ 0 ].sCmn.nFramesPerPacket + 1 ) * encCo… in silk_Encode()
Dstructs.h201 opus_int nFramesPerPacket; member
282 opus_int nFramesPerPacket; member
Dcontrol_codec.c216 psEnc->sCmn.nFramesPerPacket = 1; in silk_setup_fs()
226 psEnc->sCmn.nFramesPerPacket = silk_DIV32_16( PacketSize_ms, MAX_FRAME_LENGTH_MS ); in silk_setup_fs()
/external/libopus/silk/float/
DLTP_scale_ctrl_FLP.c44 round_loss = psEnc->sCmn.PacketLoss_perc + psEnc->sCmn.nFramesPerPacket; in silk_LTP_scale_ctrl_FLP()
/external/libopus/silk/fixed/
DLTP_scale_ctrl_FIX.c45 round_loss = psEnc->sCmn.PacketLoss_perc + psEnc->sCmn.nFramesPerPacket; in silk_LTP_scale_ctrl_FIX()