Lines Matching refs:encControl
38 …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()
51 ( encControl->desiredInternalSampleRate != 12000 ) && in check_control_input()
52 ( encControl->desiredInternalSampleRate != 16000 ) ) || in check_control_input()
53 ( ( encControl->maxInternalSampleRate != 8000 ) && in check_control_input()
54 ( encControl->maxInternalSampleRate != 12000 ) && in check_control_input()
55 ( encControl->maxInternalSampleRate != 16000 ) ) || in check_control_input()
56 ( ( encControl->minInternalSampleRate != 8000 ) && in check_control_input()
57 ( encControl->minInternalSampleRate != 12000 ) && in check_control_input()
58 ( encControl->minInternalSampleRate != 16000 ) ) || in check_control_input()
59 ( encControl->minInternalSampleRate > encControl->desiredInternalSampleRate ) || in check_control_input()
60 ( encControl->maxInternalSampleRate < encControl->desiredInternalSampleRate ) || in check_control_input()
61 ( encControl->minInternalSampleRate > encControl->maxInternalSampleRate ) ) { in check_control_input()
65 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()
72 if( encControl->packetLossPercentage < 0 || encControl->packetLossPercentage > 100 ) { in check_control_input()
76 if( encControl->useDTX < 0 || encControl->useDTX > 1 ) { in check_control_input()
80 if( encControl->useCBR < 0 || encControl->useCBR > 1 ) { in check_control_input()
84 if( encControl->useInBandFEC < 0 || encControl->useInBandFEC > 1 ) { in check_control_input()
88 if( encControl->nChannelsAPI < 1 || encControl->nChannelsAPI > ENCODER_NUM_CHANNELS ) { in check_control_input()
92 … if( encControl->nChannelsInternal < 1 || encControl->nChannelsInternal > ENCODER_NUM_CHANNELS ) { in check_control_input()
96 if( encControl->nChannelsInternal > encControl->nChannelsAPI ) { in check_control_input()
100 if( encControl->complexity < 0 || encControl->complexity > 10 ) { in check_control_input()