Home
last modified time | relevance | path

Searched refs:mediaFormat (Results 1 – 10 of 10) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DMediaCodecAudioRenderer.java304 MediaFormat mediaFormat = in configureCodec() local
306 codec.configure(mediaFormat, /* surface= */ null, crypto, /* flags= */ 0); in configureCodec()
309 passthroughMediaFormat = mediaFormat; in configureCodec()
400 MediaFormat mediaFormat; in onOutputMediaFormatChanged() local
402 mediaFormat = passthroughMediaFormat; in onOutputMediaFormatChanged()
405 mediaFormat.getInteger(MediaFormat.KEY_CHANNEL_COUNT), in onOutputMediaFormatChanged()
406 mediaFormat.getString(MediaFormat.KEY_MIME)); in onOutputMediaFormatChanged()
408 mediaFormat = outputMediaFormat; in onOutputMediaFormatChanged()
415 int channelCount = mediaFormat.getInteger(MediaFormat.KEY_CHANNEL_COUNT); in onOutputMediaFormatChanged()
416 int sampleRate = mediaFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE); in onOutputMediaFormatChanged()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/
DMediaCodecVideoRenderer.java535 MediaFormat mediaFormat = in configureCodec() local
552 codec.configure(mediaFormat, surface, crypto, 0); in configureCodec()
849 long presentationTimeUs, long releaseTimeNs, Format format, MediaFormat mediaFormat) { in notifyFrameMetadataListener() argument
852 presentationTimeUs, releaseTimeNs, format, mediaFormat); in notifyFrameMetadataListener()
1170 private static void configureTunnelingV21(MediaFormat mediaFormat, int tunnelingAudioSessionId) { in configureTunnelingV21() argument
1171 mediaFormat.setFeatureEnabled(CodecCapabilities.FEATURE_TunneledPlayback, true); in configureTunnelingV21()
1172 mediaFormat.setInteger(MediaFormat.KEY_AUDIO_SESSION_ID, tunnelingAudioSessionId); in configureTunnelingV21()
1198 MediaFormat mediaFormat = new MediaFormat(); in getMediaFormat() local
1200 mediaFormat.setString(MediaFormat.KEY_MIME, codecMimeType); in getMediaFormat()
1201 mediaFormat.setInteger(MediaFormat.KEY_WIDTH, format.width); in getMediaFormat()
[all …]
DVideoFrameMetadataListener.java39 @Nullable MediaFormat mediaFormat); in onVideoFrameAboutToBeRendered() argument
/external/webrtc/sdk/android/tests/src/org/webrtc/
DHardwareVideoEncoderTest.java161 MediaFormat mediaFormat = fakeMediaCodecWrapper.getConfiguredFormat(); in testInit() local
162 assertThat(mediaFormat).isNotNull(); in testInit()
163 assertThat(mediaFormat.getInteger(MediaFormat.KEY_WIDTH)) in testInit()
165 assertThat(mediaFormat.getInteger(MediaFormat.KEY_HEIGHT)) in testInit()
167 assertThat(mediaFormat.getString(MediaFormat.KEY_MIME)) in testInit()
DAndroidVideoDecoderTest.java229 MediaFormat mediaFormat = fakeMediaCodecWrapper.getConfiguredFormat(); in testInit() local
230 assertThat(mediaFormat).isNotNull(); in testInit()
231 assertThat(mediaFormat.getInteger(MediaFormat.KEY_WIDTH)) in testInit()
233 assertThat(mediaFormat.getInteger(MediaFormat.KEY_HEIGHT)) in testInit()
235 assertThat(mediaFormat.getString(MediaFormat.KEY_MIME)) in testInit()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/
DMediaCodecAsyncCallback.java139 public void onOutputFormatChanged(MediaCodec mediaCodec, MediaFormat mediaFormat) { in onOutputFormatChanged() argument
141 formats.add(mediaFormat); in onOutputFormatChanged()
DMediaCodecRenderer.java1777 MediaFormat mediaFormat = codecAdapter.getOutputFormat(); in processOutputMediaFormat() local
1779 && mediaFormat.getInteger(MediaFormat.KEY_WIDTH) == ADAPTATION_WORKAROUND_SLICE_WIDTH_HEIGHT in processOutputMediaFormat()
1780 && mediaFormat.getInteger(MediaFormat.KEY_HEIGHT) in processOutputMediaFormat()
1787 mediaFormat.setInteger(MediaFormat.KEY_CHANNEL_COUNT, 1); in processOutputMediaFormat()
1789 onOutputMediaFormatChanged(codec, mediaFormat); in processOutputMediaFormat()
/external/exoplayer/tree/extensions/flac/src/main/java/com/google/android/exoplayer2/ext/flac/
DFlacExtractor.java267 Format mediaFormat = in outputFormat() local
278 output.format(mediaFormat); in outputFormat()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/spherical/
DSceneRenderer.java150 @Nullable MediaFormat mediaFormat) { in onVideoFrameAboutToBeRendered() argument
/external/exoplayer/tree/demos/gl/src/main/java/com/google/android/exoplayer2/gldemo/
DVideoProcessingGLSurfaceView.java288 @Nullable MediaFormat mediaFormat) { in onVideoFrameAboutToBeRendered() argument