Home
last modified time | relevance | path

Searched refs:payloadSize_ms (Results 1 – 8 of 8) sorted by relevance

/external/libopus/silk/
Dcheck_control_input.c65 if( encControl->payloadSize_ms != 10 && in check_control_input()
66 encControl->payloadSize_ms != 20 && in check_control_input()
67 encControl->payloadSize_ms != 40 && in check_control_input()
68 encControl->payloadSize_ms != 60 ) { in check_control_input()
Dcontrol.h66 opus_int payloadSize_ms; member
132 opus_int payloadSize_ms; member
Denc_API.c120 encStatus->payloadSize_ms = state_Fxx[ 0 ].sCmn.PacketSize_ms; in silk_QueryEncoder()
193 …transition = (encControl->payloadSize_ms != psEnc->state_Fxx[ 0 ].sCmn.PacketSize_ms) || (psEnc->n… in silk_Encode()
213 tmp_payloadSize_ms = encControl->payloadSize_ms; in silk_Encode()
214 encControl->payloadSize_ms = 10; in silk_Encode()
229 … if( 1000 * (opus_int32)nSamplesIn > encControl->payloadSize_ms * encControl->API_sampleRate ) { in silk_Encode()
386 … nBits = silk_DIV32_16( silk_MUL( encControl->bitRate, encControl->payloadSize_ms ), 1000 ); in silk_Encode()
394 if( encControl->payloadSize_ms == 10 ) { in silk_Encode()
521 …BitsExceeded -= silk_DIV32_16( silk_MUL( encControl->bitRate, encControl->payloadSize_ms ), 1000 ); in silk_Encode()
532 psEnc->timeSinceSwitchAllowed_ms += encControl->payloadSize_ms; in silk_Encode()
552 encControl->payloadSize_ms = tmp_payloadSize_ms; in silk_Encode()
Dcontrol_audio_bandwidth.c84 … encControl->maxBits -= encControl->maxBits * 5 / ( encControl->payloadSize_ms + 5 ); in silk_control_audio_bandwidth()
112 … encControl->maxBits -= encControl->maxBits * 5 / ( encControl->payloadSize_ms + 5 ); in silk_control_audio_bandwidth()
Ddec_API.c129 if( decControl->payloadSize_ms == 0 ) { in silk_Decode()
133 } else if( decControl->payloadSize_ms == 10 ) { in silk_Decode()
136 } else if( decControl->payloadSize_ms == 20 ) { in silk_Decode()
139 } else if( decControl->payloadSize_ms == 40 ) { in silk_Decode()
142 } else if( decControl->payloadSize_ms == 60 ) { in silk_Decode()
Dcontrol_codec.c113 ret += silk_setup_fs( psEnc, fs_kHz, encControl->payloadSize_ms ); in silk_control_encoder()
/external/libopus/src/
Dopus_decoder.c352 st->DecControl.payloadSize_ms = IMAX(10, 1000 * audiosize / st->Fs); in opus_decode_frame()
Dopus_encoder.c203 st->silk_mode.payloadSize_ms = 20; in opus_encoder_init()
1575 st->silk_mode.payloadSize_ms = 1000 * frame_size / st->Fs; in opus_encode_native()