Home
last modified time | relevance | path

Searched refs:audioEncoder (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DExtractDecodeEditEncodeMuxTest.java349 MediaCodec audioEncoder = null; in extractDecodeEditEncodeMux() local
382 audioEncoder = createAudioEncoder(audioEncoderName, outputAudioFormat); in extractDecodeEditEncodeMux()
396 audioEncoder, in extractDecodeEditEncodeMux()
471 if (audioEncoder != null) { in extractDecodeEditEncodeMux()
472 audioEncoder.stop(); in extractDecodeEditEncodeMux()
473 audioEncoder.release(); in extractDecodeEditEncodeMux()
712 MediaCodec audioEncoder, in doExtractDecodeEditEncodeMux() argument
737 audioEncoderInputBuffers = audioEncoder.getInputBuffers(); in doExtractDecodeEditEncodeMux()
738 audioEncoderOutputBuffers = audioEncoder.getOutputBuffers(); in doExtractDecodeEditEncodeMux()
1012 int encoderInputBufferIndex = audioEncoder.dequeueInputBuffer(TIMEOUT_USEC); in doExtractDecodeEditEncodeMux()
[all …]
DMediaCodecTest.java1575 MediaCodec audioEncoder = null; in testCreateAudioDecoderAndEncoder() local
1579 audioEncoder = MediaCodec.createEncoderByType(MIME_TYPE_AUDIO); in testCreateAudioDecoderAndEncoder()
1583 audioEncoder.configure(encoderFormat, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in testCreateAudioDecoderAndEncoder()
1584 audioEncoder.start(); in testCreateAudioDecoderAndEncoder()
1603 if (audioEncoder != null) { in testCreateAudioDecoderAndEncoder()
1605 audioEncoder.stop(); in testCreateAudioDecoderAndEncoder()
1606 audioEncoder.release(); in testCreateAudioDecoderAndEncoder()