Home
last modified time | relevance | path

Searched defs:mediaCodec (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/media/tests/LoudnessCodecApiTest/src/com/android/loudnesscodecapitest/
DLoudnessCodecControllerTest.java110 final MediaCodec mediaCodec = createAndConfigureMediaCodec(); in getLoudnessCodecParams_callsAudioServiceGetLoudness() local
125 final MediaCodec mediaCodec = createAndConfigureMediaCodec(); in release_stopCodecUpdates() local
140 final MediaCodec mediaCodec = createAndConfigureMediaCodec(); in addMediaCodecTwice_triggersIAE() local
154 final MediaCodec mediaCodec = MediaCodec.createDecoderByType("audio/mpeg"); in addUnconfiguredMediaCodec_returnsFalse() local
166 final MediaCodec mediaCodec = createAndConfigureMediaCodec(); in removeAddedMediaCodecAfterSetTrack_callsAudioServiceRemoveCodec() local
181 final MediaCodec mediaCodec = createAndConfigureMediaCodec(); in addMediaCodec_callsAudioServiceAdd() local
194 final MediaCodec mediaCodec = createAndConfigureMediaCodec(); in removeMediaCodec_callsAudioServiceRemove() local
239 final MediaCodec mediaCodec = MediaCodec.createDecoderByType(mime); in createAndConfigureMediaCodec() local
/frameworks/base/media/java/android/media/
DLoudnessCodecController.java82 default Bundle onLoudnessCodecUpdate(@NonNull MediaCodec mediaCodec, in onLoudnessCodecUpdate()
206 public boolean addMediaCodec(@NonNull MediaCodec mediaCodec) { in addMediaCodec()
251 public void removeMediaCodec(@NonNull MediaCodec mediaCodec) { in removeMediaCodec()
301 public Bundle getLoudnessCodecParams(@NonNull MediaCodec mediaCodec) { in getLoudnessCodecParams()
348 private static LoudnessCodecInfo getCodecInfo(@NonNull MediaCodec mediaCodec) { in getCodecInfo()
/frameworks/av/media/tests/benchmark/src/native/encoder/
DEncoder.cpp24 void Encoder::onInputAvailable(AMediaCodec *mediaCodec, int32_t bufIdx) { in onInputAvailable()
117 void Encoder::onOutputAvailable(AMediaCodec *mediaCodec, int32_t bufIdx, in onOutputAvailable()
141 void Encoder::onFormatChanged(AMediaCodec *mediaCodec, AMediaFormat *format) { in onFormatChanged()
149 void Encoder::onError(AMediaCodec *mediaCodec, media_status_t err) { in onError()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DDecoder.cpp44 void Decoder::onInputAvailable(AMediaCodec *mediaCodec, int32_t bufIdx) { in onInputAvailable()
92 void Decoder::onOutputAvailable(AMediaCodec *mediaCodec, int32_t bufIdx, in onOutputAvailable()
125 void Decoder::onFormatChanged(AMediaCodec *mediaCodec, AMediaFormat *format) { in onFormatChanged()
133 void Decoder::onError(AMediaCodec *mediaCodec, media_status_t err) { in onError()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DAudioTrackDecoder.java62 MediaCodec mediaCodec; in initMediaCodec() local
DGpuVideoTrackDecoder.java90 MediaCodec mediaCodec; in initMediaCodec() local
DCpuVideoTrackDecoder.java68 MediaCodec mediaCodec = findDecoderCodec(format, new int[] { in initMediaCodec() local
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DDecoder.java322 private void onInputAvailable(int inputBufferId, MediaCodec mediaCodec) { in onInputAvailable()
355 MediaCodec mediaCodec, int outputBufferId, BufferInfo outputBufferInfo) { in onOutputAvailable()
DEncoder.java323 private void onOutputAvailable(MediaCodec mediaCodec, int outputBufferId, in onOutputAvailable()
361 private void onInputAvailable(MediaCodec mediaCodec, int inputBufferId) throws IOException { in onInputAvailable()
DFrameReleaseQueue.java147 public void setMediaCodec(MediaCodec mediaCodec) { in setMediaCodec()