Home
last modified time | relevance | path

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

/external/libopus/silk/
Dcheck_control_input.c38 …silk_EncControlStruct *encControl /* I Control structure … in check_control_input() argument
41 celt_assert( encControl != NULL ); in check_control_input()
43 if( ( ( encControl->API_sampleRate != 8000 ) && in check_control_input()
44 ( encControl->API_sampleRate != 12000 ) && in check_control_input()
45 ( encControl->API_sampleRate != 16000 ) && in check_control_input()
46 ( encControl->API_sampleRate != 24000 ) && in check_control_input()
47 ( encControl->API_sampleRate != 32000 ) && in check_control_input()
48 ( encControl->API_sampleRate != 44100 ) && in check_control_input()
49 ( encControl->API_sampleRate != 48000 ) ) || in check_control_input()
50 ( ( encControl->desiredInternalSampleRate != 8000 ) && in check_control_input()
[all …]
Denc_API.c142 …silk_EncControlStruct *encControl, /* I Control status … in silk_Encode() argument
161 if (encControl->reducedDependency) in silk_Encode()
169 if( ( ret = check_control_input( encControl ) ) != 0 ) { in silk_Encode()
175 encControl->switchReady = 0; in silk_Encode()
177 if( encControl->nChannelsInternal > psEnc->nChannelsInternal ) { in silk_Encode()
194 …transition = (encControl->payloadSize_ms != psEnc->state_Fxx[ 0 ].sCmn.PacketSize_ms) || (psEnc->n… in silk_Encode()
196 psEnc->nChannelsAPI = encControl->nChannelsAPI; in silk_Encode()
197 psEnc->nChannelsInternal = encControl->nChannelsInternal; in silk_Encode()
199 nBlocksOf10ms = silk_DIV32( 100 * nSamplesIn, encControl->API_sampleRate ); in silk_Encode()
216 for( n = 0; n < encControl->nChannelsInternal; n++ ) { in silk_Encode()
[all …]
Dcontrol_audio_bandwidth.c38 …silk_EncControlStruct *encControl /* I Control structure … in silk_control_audio_bandwidth() argument
68 if( psEncC->allow_bandwidth_switch || encControl->opusCanSwitch ) { in silk_control_audio_bandwidth()
80 if( encControl->opusCanSwitch ) { in silk_control_audio_bandwidth()
88 encControl->switchReady = 1; in silk_control_audio_bandwidth()
90encControl->maxBits -= encControl->maxBits * 5 / ( encControl->payloadSize_ms + 5 ); in silk_control_audio_bandwidth()
102 if( encControl->opusCanSwitch ) { in silk_control_audio_bandwidth()
116 encControl->switchReady = 1; in silk_control_audio_bandwidth()
118encControl->maxBits -= encControl->maxBits * 5 / ( encControl->payloadSize_ms + 5 ); in silk_control_audio_bandwidth()
Dcontrol_codec.c60 const silk_EncControlStruct *encControl /* I */
67 …silk_EncControlStruct *encControl, /* I Control structure … in silk_control_encoder() argument
75 psEnc->sCmn.useDTX = encControl->useDTX; in silk_control_encoder()
76 psEnc->sCmn.useCBR = encControl->useCBR; in silk_control_encoder()
77 psEnc->sCmn.API_fs_Hz = encControl->API_sampleRate; in silk_control_encoder()
78 psEnc->sCmn.maxInternal_fs_Hz = encControl->maxInternalSampleRate; in silk_control_encoder()
79 psEnc->sCmn.minInternal_fs_Hz = encControl->minInternalSampleRate; in silk_control_encoder()
80 psEnc->sCmn.desiredInternal_fs_Hz = encControl->desiredInternalSampleRate; in silk_control_encoder()
81 psEnc->sCmn.useInBandFEC = encControl->useInBandFEC; in silk_control_encoder()
82 psEnc->sCmn.nChannelsAPI = encControl->nChannelsAPI; in silk_control_encoder()
[all …]
DAPI.h78 …silk_EncControlStruct *encControl, /* I Control status …
Dmain.h136 …silk_EncControlStruct *encControl /* I Control structure …
142 …silk_EncControlStruct *encControl /* I Control structure …
/external/libopus/silk/fixed/
Dmain_FIX.h92 …silk_EncControlStruct *encControl, /* I Control structure …
/external/libopus/silk/float/
Dmain_FLP.h82 …silk_EncControlStruct *encControl, /* I Control structure …