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 silk_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
160 if (encControl->reducedDependency) in silk_Encode()
168 if( ( ret = check_control_input( encControl ) ) != 0 ) { in silk_Encode()
174 encControl->switchReady = 0; in silk_Encode()
176 if( encControl->nChannelsInternal > psEnc->nChannelsInternal ) { in silk_Encode()
193 …transition = (encControl->payloadSize_ms != psEnc->state_Fxx[ 0 ].sCmn.PacketSize_ms) || (psEnc->n… in silk_Encode()
195 psEnc->nChannelsAPI = encControl->nChannelsAPI; in silk_Encode()
196 psEnc->nChannelsInternal = encControl->nChannelsInternal; in silk_Encode()
198 nBlocksOf10ms = silk_DIV32( 100 * nSamplesIn, encControl->API_sampleRate ); in silk_Encode()
209 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
62 if( psEncC->allow_bandwidth_switch || encControl->opusCanSwitch ) { in silk_control_audio_bandwidth()
74 if( encControl->opusCanSwitch ) { in silk_control_audio_bandwidth()
82 encControl->switchReady = 1; in silk_control_audio_bandwidth()
84encControl->maxBits -= encControl->maxBits * 5 / ( encControl->payloadSize_ms + 5 ); in silk_control_audio_bandwidth()
96 if( encControl->opusCanSwitch ) { in silk_control_audio_bandwidth()
110 encControl->switchReady = 1; in silk_control_audio_bandwidth()
112encControl->maxBits -= encControl->maxBits * 5 / ( encControl->payloadSize_ms + 5 ); in silk_control_audio_bandwidth()
Dcontrol_codec.c67 …silk_EncControlStruct *encControl, /* I Control structure … in silk_control_encoder() argument
76 psEnc->sCmn.useDTX = encControl->useDTX; in silk_control_encoder()
77 psEnc->sCmn.useCBR = encControl->useCBR; in silk_control_encoder()
78 psEnc->sCmn.API_fs_Hz = encControl->API_sampleRate; in silk_control_encoder()
79 psEnc->sCmn.maxInternal_fs_Hz = encControl->maxInternalSampleRate; in silk_control_encoder()
80 psEnc->sCmn.minInternal_fs_Hz = encControl->minInternalSampleRate; in silk_control_encoder()
81 psEnc->sCmn.desiredInternal_fs_Hz = encControl->desiredInternalSampleRate; in silk_control_encoder()
82 psEnc->sCmn.useInBandFEC = encControl->useInBandFEC; in silk_control_encoder()
83 psEnc->sCmn.nChannelsAPI = encControl->nChannelsAPI; in silk_control_encoder()
84 psEnc->sCmn.nChannelsInternal = encControl->nChannelsInternal; in silk_control_encoder()
[all …]
DAPI.h78 …silk_EncControlStruct *encControl, /* I Control status …
Dmain.h132 …silk_EncControlStruct *encControl /* I Control structure …
138 …silk_EncControlStruct *encControl /* I Control structure …
/external/libopus/silk/fixed/
Dmain_FIX.h83 …silk_EncControlStruct *encControl, /* I Control structure …
/external/libopus/silk/float/
Dmain_FLP.h81 …silk_EncControlStruct *encControl, /* I Control structure …