Lines Matching refs:mEncoder
150 OPUS_ENC_DATA_TYPE* mEncoder = nullptr; member in Codec
211 mEncoder = OPUS_ENC_CREATE_API(sampleRate, mChannels, application, &err); in initEncoder()
215 OPUS_ENC_CTL_API(mEncoder, OPUS_SET_APPLICATION(application)); in initEncoder()
219 OPUS_ENC_CTL_API(mEncoder, OPUS_SET_COMPLEXITY(complexity)); in initEncoder()
223 OPUS_ENC_CTL_API(mEncoder, OPUS_SET_DTX(setDTX)); in initEncoder()
227 OPUS_ENC_CTL_API(mEncoder, OPUS_SET_SIGNAL(signal)); in initEncoder()
231 OPUS_ENC_CTL_API(mEncoder, OPUS_SET_VBR(setVBR)); in initEncoder()
235 OPUS_ENC_CTL_API(mEncoder, OPUS_SET_VBR_CONSTRAINT(setVBRConstraint)); in initEncoder()
241 OPUS_ENC_CTL_API(mEncoder, OPUS_SET_BITRATE(bitRate)); in initEncoder()
246 OPUS_ENC_CTL_API(mEncoder, OPUS_SET_FORCE_CHANNELS(forceChannel)); in initEncoder()
250 OPUS_ENC_CTL_API(mEncoder, OPUS_SET_MAX_BANDWIDTH(maxBandwidth)); in initEncoder()
254 OPUS_ENC_CTL_API(mEncoder, OPUS_SET_INBAND_FEC(setInbandFec)); in initEncoder()
258 OPUS_ENC_CTL_API(mEncoder, OPUS_SET_PACKET_LOSS_PERC(pktLoss)); in initEncoder()
262 OPUS_ENC_CTL_API(mEncoder, OPUS_SET_LSB_DEPTH(lsbDepth)); in initEncoder()
266 OPUS_ENC_CTL_API(mEncoder, OPUS_SET_PREDICTION_DISABLED(setPredDisable)); in initEncoder()
270 OPUS_ENC_CTL_API(mEncoder, OPUS_SET_EXPERT_FRAME_DURATION(frameSizeEnum)); in initEncoder()
293 (void)OPUS_ENC_ENCODE_API(mEncoder, &inputBuffer[offset], frameSize, packet, kMaxPacket); in encodeFrames()
299 if (mEncoder) { in deInitEncoder()
300 OPUS_ENC_DESTROY_API(mEncoder); in deInitEncoder()
301 mEncoder = nullptr; in deInitEncoder()