Home
last modified time | relevance | path

Searched refs:getTrackType (Results 1 – 25 of 27) sorted by relevance

12

/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeRenderer.java96 if (MimeTypes.getTrackType(format.sampleMimeType) != getTrackType()) { in render()
101 MimeTypes.getTrackType(format.sampleMimeType), getTrackType())), in render()
144 int trackType = MimeTypes.getTrackType(format.sampleMimeType); in supportsFormat()
145 return trackType != C.TRACK_TYPE_UNKNOWN && trackType == getTrackType() in supportsFormat()
DDefaultRenderersFactoryAsserts.java64 assertThat(renderer.getTrackType()).isNotEqualTo(type); in assertExtensionRendererCreated()
77 assertThat(renderer.getTrackType()).isNotEqualTo(type); in assertExtensionRendererCreated()
DFakeAdaptiveMediaPeriod.java149 MimeTypes.getTrackType(trackSelection.getSelectedFormat().sampleMimeType), in createSampleStream()
DFakeChunkSource.java135 int trackType = MimeTypes.getTrackType(selectedFormat.sampleMimeType);
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DMediaPeriodHolder.java306 if (rendererCapabilities[i].getTrackType() != C.TRACK_TYPE_NONE) { in applyTrackSelection()
389 if (rendererCapabilities[i].getTrackType() == C.TRACK_TYPE_NONE) { in disassociateNoSampleRenderersWithEmptySampleStream()
402 if (rendererCapabilities[i].getTrackType() == C.TRACK_TYPE_NONE in associateNoSampleRenderersWithEmptySampleStream()
DSimpleExoPlayer.java532 if (renderer.getTrackType() == C.TRACK_TYPE_VIDEO) { in setVideoScalingMode()
704 if (renderer.getTrackType() == C.TRACK_TYPE_AUDIO) { in setAudioAttributes()
739 if (renderer.getTrackType() == C.TRACK_TYPE_AUDIO) { in setAudioSessionId()
761 if (renderer.getTrackType() == C.TRACK_TYPE_AUDIO) { in setAuxEffectInfo()
808 if (renderer.getTrackType() == C.TRACK_TYPE_AUDIO) { in setSkipSilenceEnabled()
973 if (renderer.getTrackType() == C.TRACK_TYPE_VIDEO) { in setVideoFrameMetadataListener()
990 if (renderer.getTrackType() == C.TRACK_TYPE_VIDEO) { in clearVideoFrameMetadataListener()
1005 if (renderer.getTrackType() == C.TRACK_TYPE_CAMERA_MOTION) { in setCameraMotionListener()
1022 if (renderer.getTrackType() == C.TRACK_TYPE_CAMERA_MOTION) { in clearCameraMotionListener()
1847 if (renderer.getTrackType() == C.TRACK_TYPE_VIDEO) { in setVideoSurfaceInternal()
[all …]
DRendererCapabilities.java274 int getTrackType(); in getTrackType() method
DRenderer.java207 int getTrackType(); in getTrackType() method
DNoSampleRenderer.java38 public final int getTrackType() { in getTrackType() method in NoSampleRenderer
DBaseRenderer.java54 public final int getTrackType() { in getTrackType() method in BaseRenderer
DDefaultLoadControl.java423 targetBufferSize += getDefaultBufferSize(renderers[i].getTrackType()); in calculateTargetBufferBytes()
DExoPlayerImpl.java820 return renderers[index].getTrackType(); in getRendererType()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/trackselection/
DMappingTrackSelectorTest.java179 public int getTrackType() { in getTrackType() method in MappingTrackSelectorTest.FakeRendererCapabilities
186 return MimeTypes.getTrackType(format.sampleMimeType) == trackType in supportsFormat()
DDefaultTrackSelectorTest.java1556 public int getTrackType() { in getTrackType() method in DefaultTrackSelectorTest.FakeRendererCapabilities
1563 return MimeTypes.getTrackType(format.sampleMimeType) == trackType in supportsFormat()
1605 public int getTrackType() { in getTrackType() method in DefaultTrackSelectorTest.FakeMappedRendererCapabilities
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/
DMappingTrackSelector.java379 MimeTypes.getTrackType(group.getFormat(0).sampleMimeType) == C.TRACK_TYPE_METADATA; in selectTracks()
408 rendererTrackTypes[i] = rendererCapabilities[i].getTrackType(); in selectTracks()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DMimeTypes.java380 public static int getTrackType(@Nullable String mimeType) { in getTrackType() method in MimeTypes
438 return getTrackType(getMediaMimeType(codec)); in getTrackTypeOfCodec()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DDefaultTrackNameProvider.java144 int trackType = MimeTypes.getTrackType(format.sampleMimeType); in inferPrimaryTrackType()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/
DMediaCodecRenderer.java1049 codecAdapter = new DedicatedThreadAsyncMediaCodecAdapter(codec, getTrackType()); in initCodec()
1052 codecAdapter = new MultiLockAsyncMediaCodecAdapter(codec, getTrackType()); in initCodec()
1058 codec, /* enableAsynchronousQueueing= */ true, getTrackType()); in initCodec()
1064 codec, /* enableAsynchronousQueueing= */ true, getTrackType()); in initCodec()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsSampleStreamWrapper.java1293 int sampleTrackType = MimeTypes.getTrackType(sampleFormat.sampleMimeType);
1336 int manifestFormatTrackType = MimeTypes.getTrackType(manifestFormatMimeType);
1338 return manifestFormatTrackType == MimeTypes.getTrackType(sampleFormatMimeType);
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DSingleSampleMediaPeriod.java373 MimeTypes.getTrackType(format.sampleMimeType), in maybeNotifyDownstreamFormat()
DSampleQueue.java810 playbackLooper, MimeTypes.getTrackType(newFormat.sampleMimeType)); in onFormatResult()
DProgressiveMediaPeriod.java511 MimeTypes.getTrackType(trackFormat.sampleMimeType), in maybeNotifyDownstreamFormat()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DPlaybackStatsListener.java678 int trackType = MimeTypes.getTrackType(trackSelection.getFormat(0).sampleMimeType); in onTracksChanged()
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastPlayer.java768 int trackType = MimeTypes.getTrackType(mediaTrack.getContentType()); in updateTracksAndSelectionsAndNotifyIfChanged()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/
DFormat.java1371 int trackType = MimeTypes.getTrackType(sampleMimeType); in withManifestFormatInfo()

12