Home
last modified time | relevance | path

Searched refs:track_num (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/media/formats/webm/
Dcluster_builder.cc77 void ClusterBuilder::AddSimpleBlock(int track_num, int64 timecode, int flags, in AddSimpleBlock() argument
90 WriteBlock(buf, track_num, timecode, flags, data, size); in AddSimpleBlock()
95 void ClusterBuilder::AddBlockGroup(int track_num, int64 timecode, int duration, in AddBlockGroup() argument
97 AddBlockGroupInternal(track_num, timecode, true, duration, flags, data, size); in AddBlockGroup()
100 void ClusterBuilder::AddBlockGroupWithoutBlockDuration(int track_num, in AddBlockGroupWithoutBlockDuration() argument
105 AddBlockGroupInternal(track_num, timecode, false, 0, flags, data, size); in AddBlockGroupWithoutBlockDuration()
109 void ClusterBuilder::AddBlockGroupInternal(int track_num, int64 timecode, in AddBlockGroupInternal() argument
148 WriteBlock(buf, track_num, timecode, flags, data, size); in AddBlockGroupInternal()
153 void ClusterBuilder::WriteBlock(uint8* buf, int track_num, int64 timecode, in WriteBlock() argument
155 DCHECK_GE(track_num, 0); in WriteBlock()
[all …]
Dcluster_builder.h35 void AddSimpleBlock(int track_num, int64 timecode, int flags,
37 void AddBlockGroup(int track_num, int64 timecode, int duration, int flags,
39 void AddBlockGroupWithoutBlockDuration(int track_num, int64 timecode,
46 void AddBlockGroupInternal(int track_num, int64 timecode,
52 void WriteBlock(uint8* buf, int track_num, int64 timecode, int flags,
Dtracks_builder.h30 void AddVideoTrack(int track_num,
38 void AddAudioTrack(int track_num,
46 void AddTextTrack(int track_num,
55 void AddTrackInternal(int track_num,
72 Track(int track_num,
Dwebm_cluster_parser.cc222 int track_num = buf[0] & 0x7f; in ParseBlock() local
238 return OnBlock(is_simple_block, track_num, timecode, duration, flags, in ParseBlock()
297 bool WebMClusterParser::OnBlock(bool is_simple_block, int track_num, in OnBlock() argument
327 if (track_num == audio_.track_num()) { in OnBlock()
330 } else if (track_num == video_.track_num()) { in OnBlock()
334 } else if (ignored_tracks_.find(track_num) != ignored_tracks_.end()) { in OnBlock()
336 } else if (Track* const text_track = FindTextTrack(track_num)) { in OnBlock()
344 MEDIA_LOG(log_cb_) << "Unexpected track number " << track_num; in OnBlock()
382 is_keyframe, buffer_type, track_num); in OnBlock()
403 true, buffer_type, track_num); in OnBlock()
[all …]
Dtracks_builder.cc148 void TracksBuilder::AddVideoTrack(int track_num, in AddVideoTrack() argument
156 AddTrackInternal(track_num, kWebMTrackTypeVideo, track_uid, codec_id, name, in AddVideoTrack()
161 void TracksBuilder::AddAudioTrack(int track_num, in AddAudioTrack() argument
169 AddTrackInternal(track_num, kWebMTrackTypeAudio, track_uid, codec_id, name, in AddAudioTrack()
174 void TracksBuilder::AddTextTrack(int track_num, in AddTextTrack() argument
179 AddTrackInternal(track_num, kWebMTrackTypeSubtitlesOrCaptions, track_uid, in AddTextTrack()
194 void TracksBuilder::AddTrackInternal(int track_num, in AddTrackInternal() argument
205 tracks_.push_back(Track(track_num, track_type, track_uid, codec_id, name, in AddTrackInternal()
235 TracksBuilder::Track::Track(int track_num, in Track() argument
247 : track_num_(track_num), in Track()
Dwebm_cluster_parser.h42 Track(int track_num,
48 int track_num() const { return track_num_; } in track_num() function
202 bool OnBlock(bool is_simple_block, int track_num, int timecode, int duration,
228 Track* FindTextTrack(int track_num);
Dwebm_cluster_parser_unittest.cc44 int track_num; member
81 cb.AddSimpleBlock(block_info[i].track_num, in CreateCluster()
88 cb.AddBlockGroupWithoutBlockDuration(block_info[i].track_num, in CreateCluster()
94 cb.AddBlockGroup(block_info[i].track_num, in CreateCluster()
136 if (block_info[i].track_num == kAudioTrackNum) { in VerifyBuffers()
140 } else if (block_info[i].track_num == kVideoTrackNum) { in VerifyBuffers()
144 } else if (block_info[i].track_num == kTextTrackNum) { in VerifyBuffers()
149 LOG(ERROR) << "Unexpected track number " << block_info[i].track_num; in VerifyBuffers()
155 << ") for track_num (" << block_info[i].track_num in VerifyBuffers()
166 EXPECT_EQ(block_info[i].track_num, buffer->track_id()); in VerifyBuffers()
[all …]
Dwebm_tracks_parser.cc241 std::string track_num = base::Int64ToString(track_num_); in OnListEnd() local
243 text_track_kind, track_name_, track_language_, track_num); in OnListEnd()
/external/sonivox/jet_tools/JetCreator/
DJetFile.py112 …def __init__(self, event_name, event_type, event_id, track_num, channel_num, event_start, event_en… argument
116 self.track_num = track_num
187 if jet_event.track_num >= len(self.tracks):
188 … raise JetFileException('Track number %d of out of range for clip' % jet_event.track_num)
212 self.tracks[jet_event.track_num].events.MergeEvents(events)
215 if jet_event.track_num >= len(self.tracks):
216 … raise JetFileException('Track number %d of out of range for end marker' % jet_event.track_num)
228 self.tracks[jet_event.track_num].events.MergeEvents(events)
231 if jet_event.track_num >= len(self.tracks):
232 … raise JetFileException('Track number %d of out of range for app marker' % jet_event.track_num)
[all …]
DJetUtils.py393 muteFlag = SetMute(jet_event.track_num, muteFlag)
401 track_num = list.GetTrackNumber(iRow)
403 muteFlag = SetMute(track_num, muteFlag)
405 muteFlag = ClearMute(track_num, muteFlag)
413 track_num = list.GetTrackNumber(iRow)
415 muteFlags = SetMute(track_num, muteFlags)
DJetDebug.py29 print("track_num: %d" % evt.track_num)
Dmidifile.py1359 track_num = 0
1365 midi_file_logger.debug('Deleting track %d' % track_num)
1367 track_num += 1
1373 track_num = 0
1375 midi_file_logger.debug('Trimming track %d' % track_num)
1377 track_num += 1
1380 track_num = 0
1383 midi_file_logger.debug('*** Track %d ***' % track_num)
1385 output.write('*** Track %d ***' % track_num)
1387 track_num += 1
DJetCtrls.py226 track_num = self.GetTrackNumber(iRow)
227 self.CheckItem(iRow, GetMute(track_num, muteFlags))
Deas.py1213 def SetMuteFlag (self, track_num, mute, sync=True): argument
1217 result = eas_dll.JET_SetMuteFlag(self.eas.handle, track_num, mute, sync)
DJetCreator.py350 self.eventList.SetStringItem(index, 4, StrNoneChk(jet_event.track_num))
714 dlg.SetValue(JetDefs.F_ETRACK, curEvent.track_num)
/external/flac/include/FLAC/
Dmetadata.h1889 …ct_cuesheet_track_resize_indices(FLAC__StreamMetadata *object, unsigned track_num, unsigned new_nu…
1912 …ject_cuesheet_track_insert_index(FLAC__StreamMetadata *object, unsigned track_num, unsigned index_…
1936 …uesheet_track_insert_blank_index(FLAC__StreamMetadata *object, unsigned track_num, unsigned index_…
1955 …ject_cuesheet_track_delete_index(FLAC__StreamMetadata *object, unsigned track_num, unsigned index_…
1994 …tadata_object_cuesheet_set_track(FLAC__StreamMetadata *object, unsigned track_num, FLAC__StreamMet…
2017 …ata_object_cuesheet_insert_track(FLAC__StreamMetadata *object, unsigned track_num, FLAC__StreamMet…
2036 …LAC__metadata_object_cuesheet_insert_blank_track(FLAC__StreamMetadata *object, unsigned track_num);
2051 …bool FLAC__metadata_object_cuesheet_delete_track(FLAC__StreamMetadata *object, unsigned track_num);
/external/flac/libFLAC/
Dmetadata_object.c1468 …ct_cuesheet_track_resize_indices(FLAC__StreamMetadata *object, unsigned track_num, unsigned new_nu… in FLAC__metadata_object_cuesheet_track_resize_indices() argument
1473 FLAC__ASSERT(track_num < object->data.cue_sheet.num_tracks); in FLAC__metadata_object_cuesheet_track_resize_indices()
1475 track = &object->data.cue_sheet.tracks[track_num]; in FLAC__metadata_object_cuesheet_track_resize_indices()
1512 …ject_cuesheet_track_insert_index(FLAC__StreamMetadata *object, unsigned track_num, unsigned index_… in FLAC__metadata_object_cuesheet_track_insert_index() argument
1518 FLAC__ASSERT(track_num < object->data.cue_sheet.num_tracks); in FLAC__metadata_object_cuesheet_track_insert_index()
1519 FLAC__ASSERT(index_num <= object->data.cue_sheet.tracks[track_num].num_indices); in FLAC__metadata_object_cuesheet_track_insert_index()
1521 track = &object->data.cue_sheet.tracks[track_num]; in FLAC__metadata_object_cuesheet_track_insert_index()
1523 if(!FLAC__metadata_object_cuesheet_track_resize_indices(object, track_num, track->num_indices+1)) in FLAC__metadata_object_cuesheet_track_insert_index()
1534 …uesheet_track_insert_blank_index(FLAC__StreamMetadata *object, unsigned track_num, unsigned index_… in FLAC__metadata_object_cuesheet_track_insert_blank_index() argument
1538 return FLAC__metadata_object_cuesheet_track_insert_index(object, track_num, index_num, index); in FLAC__metadata_object_cuesheet_track_insert_blank_index()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libwebm/
Dmkvmuxer.cpp981 uint32 track_num = number; in AddTrack() local
983 if (track_num > 0) { in AddTrack()
986 if (track_entries_[i]->number() == track_num) in AddTrack()
1004 if (track_num == 0) { in AddTrack()
1005 track_num = count; in AddTrack()
1012 if (track_entries[i]->number() == track_num) { in AddTrack()
1013 track_num++; in AddTrack()
1020 track->set_number(track_num); in AddTrack()
Dmkvmuxer.hpp1214 int TestFrame(uint64 track_num, uint64 timestamp_ns, bool key) const;
1223 bool DoNewClusterProcessing(uint64 track_num, uint64 timestamp_ns, bool key);
/external/libvpx/libvpx/third_party/libwebm/
Dmkvmuxer.cpp1006 uint32 track_num = number; in AddTrack() local
1008 if (track_num > 0) { in AddTrack()
1011 if (track_entries_[i]->number() == track_num) in AddTrack()
1029 if (track_num == 0) { in AddTrack()
1030 track_num = count; in AddTrack()
1037 if (track_entries[i]->number() == track_num) { in AddTrack()
1038 track_num++; in AddTrack()
1045 track->set_number(track_num); in AddTrack()
Dmkvmuxer.hpp1260 int TestFrame(uint64 track_num, uint64 timestamp_ns, bool key) const;
1269 bool DoNewClusterProcessing(uint64 track_num, uint64 timestamp_ns, bool key);
/external/chromium_org/media/filters/
Dchunk_demuxer_unittest.cc529 MuxedStreamInfo(int track_num, const char* block_desc) in MuxedStreamInfo()
530 : track_number(track_num), in MuxedStreamInfo()
800 void AddSimpleBlock(ClusterBuilder* cb, int track_num, int64 timecode) { in AddSimpleBlock() argument
802 cb->AddSimpleBlock(track_num, timecode, 0, data, sizeof(data)); in AddSimpleBlock()
809 void AddVideoBlockGroup(ClusterBuilder* cb, int track_num, int64 timecode, in AddVideoBlockGroup() argument
815 cb->AddBlockGroup(track_num, timecode, duration, flags, data, size); in AddVideoBlockGroup()