Home
last modified time | relevance | path

Searched refs:selections (Results 1 – 25 of 79) sorted by relevance

1234

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/
DTrackSelectorResult.java38 public final TrackSelectionArray selections; field in TrackSelectorResult
54 @NullableType TrackSelection[] selections, in TrackSelectorResult() argument
57 this.selections = new TrackSelectionArray(selections); in TrackSelectorResult()
75 if (other == null || other.selections.length != selections.length) { in isEquivalent()
78 for (int i = 0; i < selections.length; i++) { in isEquivalent()
102 && Util.areEqual(selections.get(index), other.selections.get(index)); in isEquivalent()
DTrackSelectionUtil.java54 TrackSelection[] selections = new TrackSelection[definitions.length]; in createTrackSelectionsForDefinitions() local
63 selections[i] = adaptiveTrackSelectionFactory.createAdaptiveTrackSelection(definition); in createTrackSelectionsForDefinitions()
65 selections[i] = in createTrackSelectionsForDefinitions()
70 return selections; in createTrackSelectionsForDefinitions()
DAdaptiveTrackSelection.java212 TrackSelection[] selections = new TrackSelection[definitions.length]; in createTrackSelections() local
218 selections[i] = in createTrackSelections()
235 selections[i] = adaptiveSelection; in createTrackSelections()
255 return selections; in createTrackSelections()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/trackselection/
DDefaultTrackSelectorTest.java357 assertFixedSelection(result.selections.get(0), trackGroups, formatWithSelectionFlag); in selectTracksSelectTrackWithSelectionFlag()
375 assertAdaptiveSelection(result.selections.get(0), trackGroups.get(0), 2, 0, 1); in selectAdaptiveAudioTrackGroupWithMaxBitrate()
380 assertAdaptiveSelection(result.selections.get(0), trackGroups.get(0), 0, 1); in selectAdaptiveAudioTrackGroupWithMaxBitrate()
384 assertAdaptiveSelection(result.selections.get(0), trackGroups.get(0), 0, 1); in selectAdaptiveAudioTrackGroupWithMaxBitrate()
389 assertFixedSelection(result.selections.get(0), trackGroups.get(0), 1); in selectAdaptiveAudioTrackGroupWithMaxBitrate()
393 assertFixedSelection(result.selections.get(0), trackGroups.get(0), 1); in selectAdaptiveAudioTrackGroupWithMaxBitrate()
414 assertFixedSelection(result.selections.get(0), trackGroups, enAudioFormat); in selectTracksSelectPreferredAudioLanguage()
436 assertFixedSelection(result.selections.get(0), trackGroups, enNonDefaultFormat); in selectTracksSelectPreferredAudioLanguageOverSelectionFlag()
462 assertFixedSelection(result.selections.get(0), trackGroups, supportedFormat); in selectTracksPreferTrackWithinCapabilities()
480 assertFixedSelection(result.selections.get(0), trackGroups, AUDIO_FORMAT); in selectTracksWithNoTrackWithinCapabilitiesSelectExceededCapabilityTrack()
[all …]
/external/llvm/include/llvm/CodeGen/PBQP/
DSolution.h31 SelectionsMap selections; variable
43 unsigned numNodes() const { return selections.size(); } in numNodes()
77 selections[nodeId] = selection; in setSelection()
84 SelectionsMap::const_iterator sItr = selections.find(nodeId); in getSelection()
85 assert(sItr != selections.end() && "No selection for node."); in getSelection()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/
DSolution.h29 SelectionsMap selections; variable
39 selections[nodeId] = selection; in setSelection()
46 SelectionsMap::const_iterator sItr = selections.find(nodeId); in getSelection()
47 assert(sItr != selections.end() && "No selection for node."); in getSelection()
/external/llvm-project/llvm/include/llvm/CodeGen/PBQP/
DSolution.h29 SelectionsMap selections; variable
39 selections[nodeId] = selection; in setSelection()
46 SelectionsMap::const_iterator sItr = selections.find(nodeId); in getSelection()
47 assert(sItr != selections.end() && "No selection for node."); in getSelection()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DMergingMediaPeriod.java101 @NullableType TrackSelection[] selections, in selectTracks()
107 int[] streamChildIndices = new int[selections.length]; in selectTracks()
108 int[] selectionChildIndices = new int[selections.length]; in selectTracks()
109 for (int i = 0; i < selections.length; i++) { in selectTracks()
113 if (selections[i] != null) { in selectTracks()
114 TrackGroup trackGroup = selections[i].getTrackGroup(); in selectTracks()
125 @NullableType SampleStream[] newStreams = new SampleStream[selections.length]; in selectTracks()
126 @NullableType SampleStream[] childStreams = new SampleStream[selections.length]; in selectTracks()
127 @NullableType TrackSelection[] childSelections = new TrackSelection[selections.length]; in selectTracks()
130 for (int j = 0; j < selections.length; j++) { in selectTracks()
[all …]
DClippingMediaPeriod.java101 @NullableType TrackSelection[] selections, in selectTracks()
114 selections, mayRetainStreamFlags, childStreams, streamResetFlags, positionUs); in selectTracks()
118 && shouldKeepInitialDiscontinuity(startUs, selections) in selectTracks()
253 long startUs, @NullableType TrackSelection[] selections) { in shouldKeepInitialDiscontinuity() argument
264 for (TrackSelection trackSelection : selections) { in shouldKeepInitialDiscontinuity()
DSilenceMediaSource.java156 @NullableType TrackSelection[] selections, in selectTracks()
162 for (int i = 0; i < selections.length; i++) { in selectTracks()
163 if (streams[i] != null && (selections[i] == null || !mayRetainStreamFlags[i])) { in selectTracks()
167 if (streams[i] == null && selections[i] != null) { in selectTracks()
DSingleSampleMediaPeriod.java118 @NullableType TrackSelection[] selections, in selectTracks()
123 for (int i = 0; i < selections.length; i++) { in selectTracks()
124 if (streams[i] != null && (selections[i] == null || !mayRetainStreamFlags[i])) { in selectTracks()
128 if (streams[i] == null && selections[i] != null) { in selectTracks()
DMaskingMediaPeriod.java166 @NullableType TrackSelection[] selections, in selectTracks()
176 .selectTracks(selections, mayRetainStreamFlags, streams, streamResetFlags, positionUs); in selectTracks()
DProgressiveMediaPeriod.java247 @NullableType TrackSelection[] selections, in selectTracks()
257 for (int i = 0; i < selections.length; i++) { in selectTracks()
258 if (streams[i] != null && (selections[i] == null || !mayRetainStreamFlags[i])) { in selectTracks()
270 for (int i = 0; i < selections.length; i++) { in selectTracks()
271 if (streams[i] == null && selections[i] != null) { in selectTracks()
272 TrackSelection selection = selections[i]; in selectTracks()
DMediaPeriod.java136 @NullableType TrackSelection[] selections, in selectTracks()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDashMediaPeriod.java251 @NullableType TrackSelection[] selections, in selectTracks()
256 int[] streamIndexToTrackGroupIndex = getStreamIndexToTrackGroupIndex(selections); in selectTracks()
257 releaseDisabledStreams(selections, mayRetainStreamFlags, streams); in selectTracks()
258 releaseOrphanEmbeddedStreams(selections, streams, streamIndexToTrackGroupIndex); in selectTracks()
260 selections, streams, streamResetFlags, positionUs, streamIndexToTrackGroupIndex); in selectTracks()
355 private int[] getStreamIndexToTrackGroupIndex(TrackSelection[] selections) { in getStreamIndexToTrackGroupIndex() argument
356 int[] streamIndexToTrackGroupIndex = new int[selections.length]; in getStreamIndexToTrackGroupIndex()
357 for (int i = 0; i < selections.length; i++) { in getStreamIndexToTrackGroupIndex()
358 if (selections[i] != null) { in getStreamIndexToTrackGroupIndex()
359 streamIndexToTrackGroupIndex[i] = trackGroups.indexOf(selections[i].getTrackGroup()); in getStreamIndexToTrackGroupIndex()
[all …]
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeMediaPeriod.java154 @NullableType TrackSelection[] selections, in selectTracks()
161 int rendererCount = selections.length; in selectTracks()
163 if (streams[i] != null && (selections[i] == null || !mayRetainStreamFlags[i])) { in selectTracks()
166 if (streams[i] == null && selections[i] != null) { in selectTracks()
167 TrackSelection selection = selections[i]; in selectTracks()
DFakeTrackSelector.java89 TrackSelection[] selections = new TrackSelection[definitions.length]; in createTrackSelections() local
93 selections[i] = createTrackSelection(definition.group); in createTrackSelections()
96 return selections; in createTrackSelections()
DFakeAdaptiveMediaPeriod.java87 @NullableType TrackSelection[] selections, in selectTracks()
92 long returnPositionUs = super.selectTracks(selections, mayRetainStreamFlags, streams, in selectTracks()
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/
DSsMediaPeriod.java125 @NullableType TrackSelection[] selections, in selectTracks()
131 for (int i = 0; i < selections.length; i++) { in selectTracks()
135 if (selections[i] == null || !mayRetainStreamFlags[i]) { in selectTracks()
139 stream.getChunkSource().updateTrackSelection(selections[i]); in selectTracks()
143 if (streams[i] == null && selections[i] != null) { in selectTracks()
144 ChunkSampleStream<SsChunkSource> stream = buildSampleStream(selections[i], positionUs); in selectTracks()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsMediaPeriod.java259 @NullableType TrackSelection[] selections,
265 int[] streamChildIndices = new int[selections.length];
266 int[] selectionChildIndices = new int[selections.length];
267 for (int i = 0; i < selections.length; i++) {
271 if (selections[i] != null) {
272 TrackGroup trackGroup = selections[i].getTrackGroup();
285 SampleStream[] newStreams = new SampleStream[selections.length];
286 @NullableType SampleStream[] childStreams = new SampleStream[selections.length];
287 @NullableType TrackSelection[] childSelections = new TrackSelection[selections.length];
292 for (int j = 0; j < selections.length; j++) {
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DMediaPeriodHolder.java234 for (TrackSelection trackSelection : selectorResult.selections.getAll()) { in selectTracks()
290 TrackSelectionArray trackSelections = newTrackSelectorResult.selections; in applyTrackSelection()
362 TrackSelection trackSelection = trackSelectorResult.selections.get(i); in enableTrackSelectionsInResult()
375 TrackSelection trackSelection = trackSelectorResult.selections.get(i); in disableTrackSelectionsInResult()
/external/grpc-grpc/templates/tools/dockerfile/interoptest/grpc_interop_java/
Djava_deps.include3 …taller shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && ${'\\'}
/external/grpc-grpc/templates/tools/dockerfile/interoptest/grpc_interop_java_oracle8/
Djava_deps.include3 …taller shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && ${'\\'}
/external/grpc-grpc/templates/tools/dockerfile/
Djava_deps.include3 …taller shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && ${'\\'}
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/
DMergingMediaPeriodTest.java183 @NullableType TrackSelection[] selections, in selectTracks()
190 selections, mayRetainStreamFlags, streams, streamResetFlags, positionUs); in selectTracks()

1234