Home
last modified time | relevance | path

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

/external/chromium_org/media/webm/
Dwebm_cluster_parser.cc36 int* track_num, in operator ()() argument
39 *track_num = 0; in operator ()()
45 *track_num = iterator_->first; in operator ()()
220 int track_num = buf[0] & 0x7f; in ParseBlock() local
236 return OnBlock(is_simple_block, track_num, timecode, duration, flags, in ParseBlock()
284 bool WebMClusterParser::OnBlock(bool is_simple_block, int track_num, in OnBlock() argument
314 if (track_num == audio_.track_num()) { in OnBlock()
317 } else if (track_num == video_.track_num()) { in OnBlock()
320 } else if (ignored_tracks_.find(track_num) != ignored_tracks_.end()) { in OnBlock()
322 } else if (Track* const text_track = FindTextTrack(track_num)) { in OnBlock()
[all …]
Dcluster_builder.cc68 void ClusterBuilder::AddSimpleBlock(int track_num, int64 timecode, int flags, in AddSimpleBlock() argument
81 WriteBlock(buf, track_num, timecode, flags, data, size); in AddSimpleBlock()
86 void ClusterBuilder::AddBlockGroup(int track_num, int64 timecode, int duration, in AddBlockGroup() argument
107 WriteBlock(buf, track_num, timecode, flags, data, size); in AddBlockGroup()
112 void ClusterBuilder::WriteBlock(uint8* buf, int track_num, int64 timecode, in WriteBlock() argument
114 DCHECK_GE(track_num, 0); in WriteBlock()
115 DCHECK_LE(track_num, 126); in WriteBlock()
126 buf[0] = 0x80 | (track_num & 0x7F); in WriteBlock()
Dwebm_cluster_parser.h27 Track(int track_num, bool is_video);
30 int track_num() const { return track_num_; } in track_num() function
67 bool operator()(int* track_num, const BufferQueue** buffers);
115 bool OnBlock(bool is_simple_block, int track_num, int timecode, int duration,
125 Track* FindTextTrack(int track_num);
Dcluster_builder.h35 void AddSimpleBlock(int track_num, int64 timecode, int flags,
37 void AddBlockGroup(int track_num, int64 timecode, int duration, int flags,
46 void WriteBlock(uint8* buf, int track_num, int64 timecode, int flags,
Dtracks_builder.cc119 int track_num, in AddTrack() argument
125 tracks_.push_back(Track(track_num, track_type, track_uid, codec_id, name, in AddTrack()
164 TracksBuilder::Track::Track(int track_num, int track_type, int track_uid, in Track() argument
168 : track_num_(track_num), in Track()
Dtracks_builder.h21 void AddTrack(int track_num, int track_type, int track_uid,
34 Track(int track_num, int track_type, int track_uid,
Dwebm_cluster_parser_unittest.cc30 int track_num; member
60 cb.AddSimpleBlock(block_info[i].track_num, in CreateCluster()
67 cb.AddBlockGroup(block_info[i].track_num, in CreateCluster()
100 if (block_info[i].track_num == kAudioTrackNum) { in VerifyBuffers()
103 } else if (block_info[i].track_num == kVideoTrackNum) { in VerifyBuffers()
106 } else if (block_info[i].track_num == kTextTrackNum) { in VerifyBuffers()
110 LOG(ERROR) << "Unexpected track number " << block_info[i].track_num; in VerifyBuffers()
171 if (block_info.track_num != text_track_num) in VerifyTextBuffers()
/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.h1888 …ct_cuesheet_track_resize_indices(FLAC__StreamMetadata *object, unsigned track_num, unsigned new_nu…
1911 …ject_cuesheet_track_insert_index(FLAC__StreamMetadata *object, unsigned track_num, unsigned index_…
1935 …uesheet_track_insert_blank_index(FLAC__StreamMetadata *object, unsigned track_num, unsigned index_…
1954 …ject_cuesheet_track_delete_index(FLAC__StreamMetadata *object, unsigned track_num, unsigned index_…
1993 …tadata_object_cuesheet_set_track(FLAC__StreamMetadata *object, unsigned track_num, FLAC__StreamMet…
2016 …ata_object_cuesheet_insert_track(FLAC__StreamMetadata *object, unsigned track_num, FLAC__StreamMet…
2035 …LAC__metadata_object_cuesheet_insert_blank_track(FLAC__StreamMetadata *object, unsigned track_num);
2050 …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/media/filters/
Dchunk_demuxer_unittest.cc568 void AddSimpleBlock(ClusterBuilder* cb, int track_num, int64 timecode) { in AddSimpleBlock() argument
570 cb->AddSimpleBlock(track_num, timecode, 0, data, sizeof(data)); in AddSimpleBlock()
577 void AddVideoBlockGroup(ClusterBuilder* cb, int track_num, int64 timecode, in AddVideoBlockGroup() argument
583 cb->AddBlockGroup(track_num, timecode, duration, flags, data, size); in AddVideoBlockGroup()