Home
last modified time | relevance | path

Searched refs:tracks (Results 1 – 25 of 205) sorted by relevance

123456789

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/
DBaseTrackSelection.java46 protected final int[] tracks; field in BaseTrackSelection
65 public BaseTrackSelection(TrackGroup group, int... tracks) { in BaseTrackSelection() argument
66 Assertions.checkState(tracks.length > 0); in BaseTrackSelection()
68 this.length = tracks.length; in BaseTrackSelection()
71 for (int i = 0; i < tracks.length; i++) { in BaseTrackSelection()
72 formats[i] = group.getFormat(tracks[i]); in BaseTrackSelection()
76 this.tracks = new int[length]; in BaseTrackSelection()
78 this.tracks[i] = group.indexOf(formats[i]); in BaseTrackSelection()
100 return tracks.length; in length()
110 return tracks[index]; in getIndexInTrackGroup()
[all …]
DRandomTrackSelection.java57 definition -> new RandomTrackSelection(definition.group, definition.tracks, random)); in createTrackSelections()
70 public RandomTrackSelection(TrackGroup group, int... tracks) { in RandomTrackSelection() argument
71 super(group, tracks); in RandomTrackSelection()
82 public RandomTrackSelection(TrackGroup group, int[] tracks, long seed) { in RandomTrackSelection() argument
83 this(group, tracks, new Random(seed)); in RandomTrackSelection()
92 public RandomTrackSelection(TrackGroup group, int[] tracks, Random random) { in RandomTrackSelection() argument
93 super(group, tracks); in RandomTrackSelection()
DTrackSelection.java44 public final int[] tracks; field in TrackSelection.Definition
55 public Definition(TrackGroup group, int... tracks) { in Definition() argument
56 this(group, tracks, C.SELECTION_REASON_UNKNOWN, /* data= */ null); in Definition()
65 public Definition(TrackGroup group, int[] tracks, int reason, @Nullable Object data) { in Definition() argument
67 this.tracks = tracks; in Definition()
DAdaptiveTrackSelection.java216 if (definition != null && definition.tracks.length == 1) { in createTrackSelections()
220 definition.group, definition.tracks[0], definition.reason, definition.data); in createTrackSelections()
221 int trackBitrate = definition.group.getFormat(definition.tracks[0]).bitrate; in createTrackSelections()
230 if (definition != null && definition.tracks.length > 1) { in createTrackSelections()
233 definition.group, bandwidthMeter, definition.tracks, totalFixedBandwidth); in createTrackSelections()
271 int[] tracks, in createAdaptiveTrackSelection() argument
275 tracks, in createAdaptiveTrackSelection()
312 public AdaptiveTrackSelection(TrackGroup group, int[] tracks, in AdaptiveTrackSelection() argument
316 tracks, in AdaptiveTrackSelection()
359 int[] tracks, in AdaptiveTrackSelection() argument
[all …]
DTrackSelectionUtil.java61 if (definition.tracks.length > 1 && !createdAdaptiveTrackSelection) { in createTrackSelectionsForDefinitions()
67 definition.group, definition.tracks[0], definition.reason, definition.data); in createTrackSelectionsForDefinitions()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DAppendTrack.java16 package com.googlecode.mp4parser.authoring.tracks;
38 Track[] tracks; field in AppendTrack
41 public AppendTrack(Track... tracks) throws IOException { in AppendTrack() argument
42 this.tracks = tracks; in AppendTrack()
44 for (Track track : tracks) { in AppendTrack()
67 …track + " to " + tracks[0] + " since their Sample Description Boxes differ: \n" + track.getSampleD… in AppendTrack()
238 for (Track track : tracks) { in getSamples()
250 … if (tracks[0].getDecodingTimeEntries() != null && !tracks[0].getDecodingTimeEntries().isEmpty()) { in getDecodingTimeEntries()
252 for (Track track : tracks) { in getDecodingTimeEntries()
275 …if (tracks[0].getCompositionTimeEntries() != null && !tracks[0].getCompositionTimeEntries().isEmpt… in getCompositionTimeEntries()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/
DMovie.java25 List<Track> tracks = new LinkedList<Track>(); field in Movie
28 return tracks; in getTracks()
31 public void setTracks(List<Track> tracks) { in setTracks() argument
32 this.tracks = tracks; in setTracks()
42 tracks.add(nuTrack); in addTrack()
49 for (Track track : tracks) { in toString()
59 for (Track track : tracks) { in getNextTrackId()
67 for (Track track : tracks) {
/external/webrtc/talk/app/webrtc/
Dmediastream.cc89 bool MediaStream::AddTrack(TrackVector* tracks, Track* track) { in AddTrack() argument
90 typename TrackVector::iterator it = FindTrack(tracks, track->id()); in AddTrack()
91 if (it != tracks->end()) in AddTrack()
93 tracks->push_back(track); in AddTrack()
99 bool MediaStream::RemoveTrack(TrackVector* tracks, in RemoveTrack() argument
101 ASSERT(tracks != NULL); in RemoveTrack()
104 typename TrackVector::iterator it = FindTrack(tracks, track->id()); in RemoveTrack()
105 if (it == tracks->end()) in RemoveTrack()
107 tracks->erase(it); in RemoveTrack()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DMp4Extractor.java119 private Mp4Track[] tracks; field in Mp4Extractor
168 } else if (tracks != null) { in seek()
214 if (tracks.length == 0) { in getSeekPoints()
225 TrackSampleTable sampleTable = tracks[firstVideoTrackIndex].sampleTable; in getSeekPoints()
246 for (int i = 0; i < tracks.length; i++) { in getSeekPoints()
248 TrackSampleTable sampleTable = tracks[i].sampleTable; in getSeekPoints()
390 List<Mp4Track> tracks = new ArrayList<>(); in processMoovAtom() local
438 firstVideoTrackIndex = tracks.size(); in processMoovAtom()
440 tracks.add(mp4Track); in processMoovAtom()
444 this.tracks = tracks.toArray(new Mp4Track[0]); in processMoovAtom()
[all …]
/external/flac/libFLAC/
Dmetadata_object.c335 object->length += object->data.cue_sheet.tracks[i].num_indices * ( in cuesheet_calculate_length_()
583 FLAC__ASSERT(object->data.cue_sheet.tracks == NULL); in FLAC__metadata_object_clone()
586 FLAC__ASSERT(object->data.cue_sheet.tracks != 0); in FLAC__metadata_object_clone()
587 …to->data.cue_sheet.tracks = cuesheet_track_array_copy_(object->data.cue_sheet.tracks, object->data… in FLAC__metadata_object_clone()
588 if (to->data.cue_sheet.tracks == NULL) { in FLAC__metadata_object_clone()
659 if (object->data.cue_sheet.tracks != NULL) { in FLAC__metadata_object_delete_data()
661 cuesheet_track_array_delete_(object->data.cue_sheet.tracks, object->data.cue_sheet.num_tracks); in FLAC__metadata_object_delete_data()
662 object->data.cue_sheet.tracks = NULL; in FLAC__metadata_object_delete_data()
801 if (block1->tracks != NULL && block2->tracks != NULL) { in compare_block_data_cuesheet_()
804 if (block1->tracks[i].offset != block2->tracks[i].offset) in compare_block_data_cuesheet_()
[all …]
Dformat.c432 if(check_cd_da_subset && cue_sheet->tracks[cue_sheet->num_tracks-1].number != 170) { in FLAC__format_cuesheet_is_legal()
438 if(cue_sheet->tracks[i].number == 0) { in FLAC__format_cuesheet_is_legal()
444 …if(!((cue_sheet->tracks[i].number >= 1 && cue_sheet->tracks[i].number <= 99) || cue_sheet->tracks[… in FLAC__format_cuesheet_is_legal()
450 if(check_cd_da_subset && cue_sheet->tracks[i].offset % 588 != 0) { in FLAC__format_cuesheet_is_legal()
461 if(cue_sheet->tracks[i].num_indices == 0) { in FLAC__format_cuesheet_is_legal()
466 if(cue_sheet->tracks[i].indices[0].number > 1) { in FLAC__format_cuesheet_is_legal()
472 for(j = 0; j < cue_sheet->tracks[i].num_indices; j++) { in FLAC__format_cuesheet_is_legal()
473 if(check_cd_da_subset && cue_sheet->tracks[i].indices[j].offset % 588 != 0) { in FLAC__format_cuesheet_is_legal()
479 if(cue_sheet->tracks[i].indices[j].number != cue_sheet->tracks[i].indices[j-1].number + 1) { in FLAC__format_cuesheet_is_legal()
/external/perfetto/ui/src/frontend/
Dfrontend_local_state.ts181 Actions.setVisibleTracks({tracks: Array.from(this.visibleTracks)}));
201 tracks = this._selectedArea.area ? this._selectedArea.area.tracks : []) {
207 area: {startSec, endSec, tracks},
217 const index = area.tracks.indexOf(id);
219 area.tracks.splice(index, 1);
221 for (const childTrack of globals.state.trackGroups[id].tracks) {
222 const childIndex = area.tracks.indexOf(childTrack);
224 area.tracks.splice(childIndex, 1);
229 area.tracks.push(id);
231 for (const childTrack of globals.state.trackGroups[id].tracks) {
[all …]
Dtrack_group_panel.ts68 globals.state.tracks[this.trackGroupState.summaryTrackId]);
95 if (selectedArea.tracks.includes(attrs.trackGroupId) &&
96 trackGroup.tracks.every(id => selectedArea.tracks.includes(id))) {
99 selectedArea.tracks.includes(attrs.trackGroupId) ||
100 trackGroup.tracks.some(id => selectedArea.tracks.includes(id))) {
155 if (area && area.tracks.includes(this.trackGroupId)) {
Dpanel_container.ts138 const tracks = []; constant
141 tracks.push(panel.attrs.id);
148 tracks.push(panel.attrs.trackGroupId);
149 for (const track of trackGroup.tracks) {
150 tracks.push(track);
155 globals.frontendLocalState.selectArea(area.startSec, area.endSec, tracks);
383 if (this.panelPositions.length === 0 || area.tracks.length === 0) return;
394 if (area.tracks.includes(this.panelPositions[i].id)) {
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DTrackSelectionView.java344 int[] overrideTracks = override.tracks; in onTrackViewClicked()
354 int[] tracks = getTracksRemoving(overrideTracks, trackIndex); in onTrackViewClicked() local
355 overrides.put(groupIndex, new SelectionOverride(groupIndex, tracks)); in onTrackViewClicked()
360 int[] tracks = getTracksAdding(overrideTracks, trackIndex); in onTrackViewClicked() local
361 overrides.put(groupIndex, new SelectionOverride(groupIndex, tracks)); in onTrackViewClicked()
383 private static int[] getTracksAdding(int[] tracks, int addedTrack) { in getTracksAdding() argument
384 tracks = Arrays.copyOf(tracks, tracks.length + 1); in getTracksAdding()
385 tracks[tracks.length - 1] = addedTrack; in getTracksAdding()
386 return tracks; in getTracksAdding()
389 private static int[] getTracksRemoving(int[] tracks, int removedTrack) { in getTracksRemoving() argument
[all …]
/external/perfetto/ui/src/common/
Dactions.ts150 addTracks(state: StateDraft, args: {tracks: AddTrackArgs[]}) {
151 args.tracks.forEach(track => {
154 state.tracks[id] = track as TrackState;
158 assertExists(state.trackGroups[track.trackGroup]).tracks.push(id);
168 state.tracks[id] = {
179 assertExists(state.trackGroups[args.trackGroup]).tracks.push(id);
193 tracks: [],
223 setVisibleTracks(state: StateDraft, args: {tracks: string[]}) {
224 state.visibleTracks = args.tracks;
228 if (state.tracks[args.id] === undefined) return;
[all …]
Dstate.ts39 tracks: string[]; property
103 tracks: string[]; // Child track ids. property
264 tracks: ObjectById<TrackState>; property
694 tracks: {},
751 const track = state.tracks[trackId];
Dstate_unittest.ts24 state.tracks['a'] = {
32 state.tracks['b'] = {
/external/sonivox/jet_tools/JetCreator/
DJetCreatorhlp.dat48 display empty tracks =
76 delete empty tracks = This option will tell JET to delete any empty tracks from the output file.
90 omit empty tracks =
98 delete empty tracks = Selecting this will delete any empty MIDI tracks.
102 tracklist = The tracks in the segment currently playing segment display here. Tracks which are mut…
107 omit empty tracks = Selecting this will delete any empty MIDI tracks.
/external/perfetto/protos/perfetto/trace/track_event/
Dtrack_descriptor.proto51 // tracks. For example, to define an asynchronous track which is scoped to a
58 // process/thread name (process/thread tracks), the first event's name (async
59 // tracks), or counter name (counter tracks).
65 // more (e.g. for asynchronous events), create child tracks using parent_uuid.
/external/perfetto/docs/analysis/
Dtrace-processor.md111 * Global tracks are not associated to any context and contain slices
112 * Thread tracks are associated to a single thread and contain slices
113 * Counter tracks are not associated to any context and contain counters
114 * CPU counter tracks are associated to a single CPU and contain counters
126 processes (e.g. in CPU scheduling data, thread tracks) uses `utid` and `upid`
132 example, tracks can come in many varieties (thread tracks, process tracks,
133 counter tracks etc). Each type has a piece of data associated to it unique to
134 that type; for example, thread tracks have a `utid` of the thread, counter
135 tracks have the `unit` of the counter.
163 ### Context using tracks
[all …]
/external/perfetto/ui/src/controller/aggregation/
Dthread_aggregation_controller.ts37 for (const trackId of area.tracks) {
38 const track = globals.state.tracks[trackId];
Dcpu_aggregation_controller.ts33 for (const trackId of area.tracks) {
34 const track = globals.state.tracks[trackId];
/external/fonttools/Lib/fontTools/ttLib/tables/
D_t_r_a_k.py217 tracks = list(self.tracks())
218 sizes = self[tracks.pop(0)].sizes()
219 for track in tracks:
245 tracks = keys variable in TrackData
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DProgressiveMediaPeriod.java242 return trackState.tracks; in getTrackGroups()
253 TrackGroupArray tracks = trackState.tracks; in selectTracks() local
275 int track = tracks.indexOf(selection.getTrackGroup()); in selectTracks()
509 Format trackFormat = trackState.tracks.get(track).getFormat(/* index= */ 0); in maybeNotifyDownstreamFormat()
1068 public final TrackGroupArray tracks; field in ProgressiveMediaPeriod.TrackState
1073 public TrackState(TrackGroupArray tracks, boolean[] trackIsAudioVideoFlags) { in TrackState() argument
1074 this.tracks = tracks; in TrackState()
1076 this.trackEnabledStates = new boolean[tracks.length]; in TrackState()
1077 this.trackNotifiedDownstreamFormats = new boolean[tracks.length]; in TrackState()

123456789