Home
last modified time | relevance | path

Searched refs:trackType (Results 1 – 25 of 46) sorted by relevance

12

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/
DDedicatedThreadAsyncMediaCodecAdapter.java73 /* package */ DedicatedThreadAsyncMediaCodecAdapter(MediaCodec codec, int trackType) { in DedicatedThreadAsyncMediaCodecAdapter() argument
77 trackType, in DedicatedThreadAsyncMediaCodecAdapter()
78 new HandlerThread(createThreadLabel(trackType))); in DedicatedThreadAsyncMediaCodecAdapter()
90 MediaCodec codec, boolean enableAsynchronousQueueing, int trackType) { in DedicatedThreadAsyncMediaCodecAdapter() argument
94 trackType, in DedicatedThreadAsyncMediaCodecAdapter()
95 new HandlerThread(createThreadLabel(trackType))); in DedicatedThreadAsyncMediaCodecAdapter()
102 int trackType, in DedicatedThreadAsyncMediaCodecAdapter() argument
110 bufferEnqueuer = new AsynchronousMediaCodecBufferEnqueuer(codec, trackType); in DedicatedThreadAsyncMediaCodecAdapter()
259 private static String createThreadLabel(int trackType) { in createThreadLabel() argument
261 if (trackType == C.TRACK_TYPE_AUDIO) { in createThreadLabel()
[all …]
DMultiLockAsyncMediaCodecAdapter.java110 /* package */ MultiLockAsyncMediaCodecAdapter(MediaCodec codec, int trackType) { in MultiLockAsyncMediaCodecAdapter() argument
114 trackType, in MultiLockAsyncMediaCodecAdapter()
115 new HandlerThread(createThreadLabel(trackType))); in MultiLockAsyncMediaCodecAdapter()
127 MediaCodec codec, boolean enableAsynchronousQueueing, int trackType) { in MultiLockAsyncMediaCodecAdapter() argument
131 trackType, in MultiLockAsyncMediaCodecAdapter()
132 new HandlerThread(createThreadLabel(trackType))); in MultiLockAsyncMediaCodecAdapter()
139 int trackType, in MultiLockAsyncMediaCodecAdapter() argument
153 bufferEnqueuer = new AsynchronousMediaCodecBufferEnqueuer(codec, trackType); in MultiLockAsyncMediaCodecAdapter()
374 private static String createThreadLabel(int trackType) { in createThreadLabel() argument
376 if (trackType == C.TRACK_TYPE_AUDIO) { in createThreadLabel()
[all …]
DAsynchronousMediaCodecBufferEnqueuer.java68 public AsynchronousMediaCodecBufferEnqueuer(MediaCodec codec, int trackType) { in AsynchronousMediaCodecBufferEnqueuer() argument
71 new HandlerThread(createThreadLabel(trackType)), in AsynchronousMediaCodecBufferEnqueuer()
282 private static String createThreadLabel(int trackType) { in createThreadLabel() argument
284 if (trackType == C.TRACK_TYPE_AUDIO) { in createThreadLabel()
286 } else if (trackType == C.TRACK_TYPE_VIDEO) { in createThreadLabel()
289 labelBuilder.append("Unknown(").append(trackType).append(")"); in createThreadLabel()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DMediaSourceEventListener.java214 int trackType, in loadStarted() argument
224 trackType, in loadStarted()
254 int trackType, in loadCompleted() argument
264 trackType, in loadCompleted()
294 int trackType, in loadCanceled() argument
304 trackType, in loadCanceled()
337 int trackType, in loadError() argument
349 trackType, in loadError()
378 public void upstreamDiscarded(int trackType, long mediaStartTimeUs, long mediaEndTimeUs) { in upstreamDiscarded() argument
382 trackType, in upstreamDiscarded()
[all …]
DMediaLoadData.java31 public final int trackType; field in MediaLoadData
77 int trackType, in MediaLoadData() argument
84 this.trackType = trackType; in MediaLoadData()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/chunk/
DSingleSampleMediaChunk.java34 private final int trackType; field in SingleSampleMediaChunk
62 int trackType, in SingleSampleMediaChunk() argument
75 this.trackType = trackType; in SingleSampleMediaChunk()
97 TrackOutput trackOutput = output.track(0, trackType); in load()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDashUtil.java115 DataSource dataSource, int trackType, Representation representation) throws IOException { in loadSampleFormat() argument
116 ChunkExtractorWrapper extractorWrapper = loadInitializationData(dataSource, trackType, in loadSampleFormat()
137 DataSource dataSource, int trackType, Representation representation) throws IOException { in loadChunkIndex() argument
138 ChunkExtractorWrapper extractorWrapper = loadInitializationData(dataSource, trackType, in loadChunkIndex()
158 DataSource dataSource, int trackType, Representation representation, boolean loadIndex) in loadInitializationData() argument
164 ChunkExtractorWrapper extractorWrapper = newWrappedExtractor(trackType, representation.format); in loadInitializationData()
198 private static ChunkExtractorWrapper newWrappedExtractor(int trackType, Format format) { in newWrappedExtractor() argument
205 return new ChunkExtractorWrapper(extractor, trackType, format); in newWrappedExtractor()
DDefaultDashChunkSource.java85 int trackType, in createDashChunkSource() argument
101 trackType, in createDashChunkSource()
114 private final int trackType; field in DefaultDashChunkSource
154 int trackType, in DefaultDashChunkSource() argument
165 this.trackType = trackType; in DefaultDashChunkSource()
182 trackType, in DefaultDashChunkSource()
383 trackType,
510 int trackType,
525 trackSelectionData, startTimeUs, endTimeUs, firstSegmentNum, trackType, trackFormat);
618 int trackType,
[all …]
DDashMediaPeriod.java459 .selectEmbeddedTrack(positionUs, trackGroupInfo.trackType); in selectNewStreams()
767 trackGroupInfo.trackType, in buildSampleStream()
775 trackGroupInfo.trackType, in buildSampleStream()
913 public final int trackType; field in DashMediaPeriod.TrackGroupInfo
922 int trackType, in primaryTrack() argument
928 trackType, in primaryTrack()
973 int trackType, in TrackGroupInfo() argument
980 this.trackType = trackType; in TrackGroupInfo()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/trackselection/
DMappingTrackSelectorTest.java167 private final int trackType; field in MappingTrackSelectorTest.FakeRendererCapabilities
169 public FakeRendererCapabilities(int trackType) { in FakeRendererCapabilities() argument
170 this.trackType = trackType; in FakeRendererCapabilities()
175 return "FakeRenderer(" + Util.getTrackTypeString(trackType) + ")"; in getName()
180 return trackType; in getTrackType()
186 return MimeTypes.getTrackType(format.sampleMimeType) == trackType in supportsFormat()
DDefaultTrackSelectorTest.java1520 private final int trackType; field in DefaultTrackSelectorTest.FakeRendererCapabilities
1530 FakeRendererCapabilities(int trackType) { in FakeRendererCapabilities() argument
1532 trackType, in FakeRendererCapabilities()
1545 FakeRendererCapabilities(int trackType, @Capabilities int supportValue) { in FakeRendererCapabilities() argument
1546 this.trackType = trackType; in FakeRendererCapabilities()
1552 return "FakeRenderer(" + Util.getTrackTypeString(trackType) + ")"; in getName()
1557 return trackType; in getTrackType()
1563 return MimeTypes.getTrackType(format.sampleMimeType) == trackType in supportsFormat()
1582 private final int trackType; field in DefaultTrackSelectorTest.FakeMappedRendererCapabilities
1594 FakeMappedRendererCapabilities(int trackType, Map<String, Integer> formatToCapability) { in FakeMappedRendererCapabilities() argument
[all …]
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeRenderer.java61 public FakeRenderer(int trackType) { in FakeRenderer() argument
62 super(trackType); in FakeRenderer()
144 int trackType = MimeTypes.getTrackType(format.sampleMimeType); in supportsFormat() local
145 return trackType != C.TRACK_TYPE_UNKNOWN && trackType == getTrackType() in supportsFormat()
DFakeMediaClockRenderer.java24 public FakeMediaClockRenderer(int trackType) { in FakeMediaClockRenderer() argument
25 super(trackType); in FakeMediaClockRenderer()
DExoHostedTest.java214 EventTime eventTime, int trackType, DecoderCounters decoderCounters) { in onDecoderDisabled() argument
215 if (trackType == C.TRACK_TYPE_AUDIO) { in onDecoderDisabled()
217 } else if (trackType == C.TRACK_TYPE_VIDEO) { in onDecoderDisabled()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DDefaultTrackNameProvider.java40 int trackType = inferPrimaryTrackType(format); in getTrackName() local
41 if (trackType == C.TRACK_TYPE_VIDEO) { in getTrackName()
45 } else if (trackType == C.TRACK_TYPE_AUDIO) { in getTrackName()
144 int trackType = MimeTypes.getTrackType(format.sampleMimeType); in inferPrimaryTrackType() local
145 if (trackType != C.TRACK_TYPE_UNKNOWN) { in inferPrimaryTrackType()
146 return trackType; in inferPrimaryTrackType()
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DTrackSelectionDialog.java176 int trackType = mappedTrackInfo.getRendererType(/* rendererIndex= */ i); in init() local
187 tabTrackTypes.add(trackType); in init()
258 int trackType = mappedTrackInfo.getRendererType(rendererIndex); in showTabForRenderer() local
259 return isSupportedTrackType(trackType); in showTabForRenderer()
262 private static boolean isSupportedTrackType(int trackType) { in isSupportedTrackType() argument
263 switch (trackType) { in isSupportedTrackType()
273 private static String getTrackTypeString(Resources resources, int trackType) { in getTrackTypeString() argument
274 switch (trackType) { in getTrackTypeString()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DBaseRenderer.java30 private final int trackType; field in BaseRenderer
47 public BaseRenderer(int trackType) { in BaseRenderer() argument
48 this.trackType = trackType; in BaseRenderer()
55 return trackType; in getTrackType()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsSampleStreamWrapper.java114 private final int trackType; field in HlsSampleStreamWrapper
188 int trackType, in HlsSampleStreamWrapper() argument
199 this.trackType = trackType; in HlsSampleStreamWrapper()
551 eventDispatcher.downstreamFormatChanged(trackType, trackFormat,
681 trackType,
714 trackType,
739 trackType,
800 trackType,
1136 int trackType;
1138 trackType = C.TRACK_TYPE_VIDEO;
[all …]
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DMimeTypes.java114 public static void registerCustomMimeType(String mimeType, String codecPrefix, int trackType) { in registerCustomMimeType() argument
115 CustomMimeType customMimeType = new CustomMimeType(mimeType, codecPrefix, trackType); in registerCustomMimeType()
474 return customMimeType.trackType; in getTrackTypeForCustomMimeType()
487 public final int trackType; field in MimeTypes.CustomMimeType
489 public CustomMimeType(String mimeType, String codecPrefix, int trackType) { in CustomMimeType() argument
492 this.trackType = trackType; in CustomMimeType()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DAnalyticsListener.java390 EventTime eventTime, int trackType, DecoderCounters decoderCounters) {} in onDecoderEnabled() argument
402 EventTime eventTime, int trackType, String decoderName, long initializationDurationMs) {} in onDecoderInitialized() argument
412 default void onDecoderInputFormatChanged(EventTime eventTime, int trackType, Format format) {} in onDecoderInputFormatChanged() argument
423 EventTime eventTime, int trackType, DecoderCounters decoderCounters) {} in onDecoderDisabled() argument
/external/libwebm/
Dmkvparser_sample.cc186 const long trackType = pTrack->GetType(); in main() local
191 printf("\t\tTrack Type\t\t: %ld\n", trackType); in main()
225 if (trackType == mkvparser::Track::kVideo) { in main()
322 if (trackType == mkvparser::Track::kAudio) { in main()
382 const long long trackType = pTrack->GetType(); in main() local
388 (trackType == mkvparser::Track::kVideo) ? "V" : "A", in main()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DEventLogger.java300 public void onDecoderEnabled(EventTime eventTime, int trackType, DecoderCounters counters) { in onDecoderEnabled() argument
301 logd(eventTime, "decoderEnabled", Util.getTrackTypeString(trackType)); in onDecoderEnabled()
335 EventTime eventTime, int trackType, String decoderName, long initializationDurationMs) { in onDecoderInitialized() argument
336 logd(eventTime, "decoderInitialized", Util.getTrackTypeString(trackType) + ", " + decoderName); in onDecoderInitialized()
340 public void onDecoderInputFormatChanged(EventTime eventTime, int trackType, Format format) { in onDecoderInputFormatChanged() argument
344 Util.getTrackTypeString(trackType) + ", " + Format.toLogString(format)); in onDecoderInputFormatChanged()
348 public void onDecoderDisabled(EventTime eventTime, int trackType, DecoderCounters counters) { in onDecoderDisabled() argument
349 logd(eventTime, "decoderDisabled", Util.getTrackTypeString(trackType)); in onDecoderDisabled()
/external/exoplayer/tree/library/smoothstreaming/src/test/java/com/google/android/exoplayer2/source/smoothstreaming/
DSsTestUtils.java62 public static StreamElement createStreamElement(String name, int trackType, Format... formats) { in createStreamElement() argument
66 trackType, in createStreamElement()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/
DDefaultDrmSessionManager.java150 for (int trackType : useDrmSessionsForClearContentTrackTypes) { in setUseDrmSessionsForClearContent()
152 trackType == C.TRACK_TYPE_VIDEO || trackType == C.TRACK_TYPE_AUDIO); in setUseDrmSessionsForClearContent()
453 public DrmSession acquirePlaceholderSession(Looper playbackLooper, int trackType) { in acquirePlaceholderSession() argument
461 || Util.linearSearch(useDrmSessionsForClearContentTrackTypes, trackType) == C.INDEX_UNSET in acquirePlaceholderSession()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/
DMappingTrackSelector.java203 public int getTrackTypeRendererSupport(int trackType) { in getTrackTypeRendererSupport() argument
204 return getTypeSupport(trackType); in getTrackTypeRendererSupport()
217 public int getTypeSupport(int trackType) { in getTypeSupport() argument
220 if (rendererTrackTypes[i] == trackType) { in getTypeSupport()

12