Searched refs:audioEncoder (Results 1 – 2 of 2) sorted by relevance
347 MediaCodec audioEncoder = null; in extractDecodeEditEncodeMux() local380 audioEncoder = createAudioEncoder(audioEncoderName, outputAudioFormat); in extractDecodeEditEncodeMux()394 audioEncoder, in extractDecodeEditEncodeMux()469 if (audioEncoder != null) { in extractDecodeEditEncodeMux()470 audioEncoder.stop(); in extractDecodeEditEncodeMux()471 audioEncoder.release(); in extractDecodeEditEncodeMux()702 MediaCodec audioEncoder, in doExtractDecodeEditEncodeMux() argument727 audioEncoderInputBuffers = audioEncoder.getInputBuffers(); in doExtractDecodeEditEncodeMux()728 audioEncoderOutputBuffers = audioEncoder.getOutputBuffers(); in doExtractDecodeEditEncodeMux()1006 int encoderInputBufferIndex = audioEncoder.dequeueInputBuffer(TIMEOUT_USEC); in doExtractDecodeEditEncodeMux()[all …]
1164 MediaCodec audioEncoder = null; in testCreateAudioDecoderAndEncoder() local1168 audioEncoder = MediaCodec.createEncoderByType(MIME_TYPE_AUDIO); in testCreateAudioDecoderAndEncoder()1172 audioEncoder.configure(encoderFormat, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in testCreateAudioDecoderAndEncoder()1173 audioEncoder.start(); in testCreateAudioDecoderAndEncoder()1192 if (audioEncoder != null) { in testCreateAudioDecoderAndEncoder()1194 audioEncoder.stop(); in testCreateAudioDecoderAndEncoder()1195 audioEncoder.release(); in testCreateAudioDecoderAndEncoder()