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
140 opus_int payloadSize_ms; member
Denc_API.c120 encStatus->payloadSize_ms = state_Fxx[ 0 ].sCmn.PacketSize_ms; in silk_QueryEncoder()
194 …transition = (encControl->payloadSize_ms != psEnc->state_Fxx[ 0 ].sCmn.PacketSize_ms) || (psEnc->n… in silk_Encode()
224 tmp_payloadSize_ms = encControl->payloadSize_ms; in silk_Encode()
225 encControl->payloadSize_ms = 10; in silk_Encode()
240 … if( 1000 * (opus_int32)nSamplesIn > encControl->payloadSize_ms * encControl->API_sampleRate ) { in silk_Encode()
396 … nBits = silk_DIV32_16( silk_MUL( encControl->bitRate, encControl->payloadSize_ms ), 1000 ); in silk_Encode()
404 if( encControl->payloadSize_ms == 10 ) { in silk_Encode()
530 …BitsExceeded -= silk_DIV32_16( silk_MUL( encControl->bitRate, encControl->payloadSize_ms ), 1000 ); in silk_Encode()
541 psEnc->timeSinceSwitchAllowed_ms += encControl->payloadSize_ms; in silk_Encode()
561 encControl->payloadSize_ms = tmp_payloadSize_ms; in silk_Encode()
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_audio_bandwidth.c90 … encControl->maxBits -= encControl->maxBits * 5 / ( encControl->payloadSize_ms + 5 ); in silk_control_audio_bandwidth()
118 … encControl->maxBits -= encControl->maxBits * 5 / ( encControl->payloadSize_ms + 5 ); in silk_control_audio_bandwidth()
Dcontrol_codec.c112 ret += silk_setup_fs( psEnc, fs_kHz, encControl->payloadSize_ms ); in silk_control_encoder()
/external/libopus/src/
Dopus_decoder.c90payloadSize_ms == 0 || st->DecControl.payloadSize_ms == 10 || st->DecControl.payloadSize_ms == 20 … in validate_opus_decoder()
375 st->DecControl.payloadSize_ms = IMAX(10, 1000 * audiosize / st->Fs); in opus_decode_frame()
Dopus_encoder.c221 st->silk_mode.payloadSize_ms = 20; in opus_encoder_init()
1747 st->silk_mode.payloadSize_ms = 1000 * frame_size / st->Fs; in opus_encode_native()