/third_party/ffmpeg/tools/ |
D | ismindex.c | 193 struct Track *track = tracks->tracks[i]; in write_fragments() local 194 const char *type = track->is_video ? "video" : "audio"; in write_fragments() 195 snprintf(dirname, sizeof(dirname), "%sQualityLevels(%d)", output_prefix, track->bitrate); in write_fragments() 203 for (j = 0; j < track->chunks; j++) { in write_fragments() 205 dirname, type, track->offsets[j].time); in write_fragments() 206 avio_seek(in, track->offsets[j].offset, SEEK_SET); in write_fragments() 217 track->track_id, track->name); in write_fragments() 328 struct Track *track = NULL; in read_tfra() local 335 for (i = start_index; i < tracks->nb_tracks && !track; i++) in read_tfra() 337 track = tracks->tracks[i]; in read_tfra() [all …]
|
D | sidxindex.c | 98 struct Track *track = tracks->tracks[i]; in find_sidx() local 99 if (!track->sidx_start) { in find_sidx() 100 track->sidx_start = pos; in find_sidx() 101 track->sidx_length = size; in find_sidx() 102 } else if (pos == track->sidx_start + track->sidx_length) { in find_sidx() 103 track->sidx_length = pos + size - track->sidx_start; in find_sidx() 122 struct Track *track; in handle_file() local 155 track = av_mallocz(sizeof(*track)); in handle_file() 156 if (!track) { in handle_file() 163 av_free(track); in handle_file() [all …]
|
D | dvd2concat | 76 my $track = $lsdvd{track}[$title - 1] 77 or die "Title $title does not exist (1-", scalar(@{$lsdvd{track}}), ")\n"; 78 my $vts_base = sprintf "%s/VIDEO_TS/VTS_%02d_", $path, $track->{vts}; 88 for my $audio (@{$track->{audio}}) { 91 for my $subp (@{$track->{subp}}) { 94 for my $cell (@{$track->{cell}}) {
|
/third_party/ffmpeg/libavformat/ |
D | movenc.c | 145 static int co64_required(const MOVTrack *track) in co64_required() argument 147 if (track->entry > 0 && track->cluster[track->entry - 1].pos + track->data_offset > UINT32_MAX) in co64_required() 169 static int mov_write_stco_tag(AVIOContext *pb, MOVTrack *track) in mov_write_stco_tag() argument 172 int mode64 = co64_required(track); // use 32 bit size variant if possible in mov_write_stco_tag() 180 avio_wb32(pb, track->chunkCount); /* entry count */ in mov_write_stco_tag() 181 for (i = 0; i < track->entry; i++) { in mov_write_stco_tag() 182 if (!track->cluster[i].chunkNum) in mov_write_stco_tag() 185 avio_wb64(pb, track->cluster[i].pos + track->data_offset); in mov_write_stco_tag() 187 avio_wb32(pb, track->cluster[i].pos + track->data_offset); in mov_write_stco_tag() 193 static int mov_write_stsz_tag(AVIOContext *pb, MOVTrack *track) in mov_write_stsz_tag() argument [all …]
|
D | matroskadec.c | 296 uint64_t track; member 658 { MATROSKA_ID_CUETRACK, EBML_UINT, 0, 0, offsetof(MatroskaIndexPos, track) }, 1631 MatroskaTrack *track) in matroska_decode_buffer() argument 1633 MatroskaTrackEncoding *encodings = track->encodings.elem; in matroska_decode_buffer() 1847 MatroskaTrack *track = matroska->tracks.elem; in matroska_convert_tags() local 1850 if (track[j].uid == tags[i].target.trackuid && in matroska_convert_tags() 1851 track[j].stream) { in matroska_convert_tags() 1853 &track[j].stream->metadata, NULL); in matroska_convert_tags() 1968 MatroskaTrack *track = matroska_find_track_by_num(matroska, in matroska_add_index_entries() local 1969 pos[j].track); in matroska_add_index_entries() [all …]
|
D | 4xm.c | 134 int track; in parse_strk() local 139 track = AV_RL32(buf + 8); in parse_strk() 140 if ((unsigned)track >= UINT_MAX / sizeof(AudioTrack) - 1) { in parse_strk() 145 if (track + 1 > fourxm->track_count) { in parse_strk() 146 if (av_reallocp_array(&fourxm->tracks, track + 1, sizeof(AudioTrack))) in parse_strk() 149 sizeof(AudioTrack) * (track + 1 - fourxm->track_count)); in parse_strk() 150 fourxm->track_count = track + 1; in parse_strk() 152 fourxm->tracks[track].adpcm = AV_RL32(buf + 12); in parse_strk() 153 fourxm->tracks[track].channels = AV_RL32(buf + 36); in parse_strk() 154 fourxm->tracks[track].sample_rate = AV_RL32(buf + 40); in parse_strk() [all …]
|
D | movenchint.c | 32 MOVTrack *track = &mov->tracks[index]; in ff_mov_init_hinting() local 37 track->tag = MKTAG('r','t','p',' '); in ff_mov_init_hinting() 38 track->src_track = src_index; in ff_mov_init_hinting() 40 track->par = avcodec_parameters_alloc(); in ff_mov_init_hinting() 41 if (!track->par) in ff_mov_init_hinting() 43 track->par->codec_type = AVMEDIA_TYPE_DATA; in ff_mov_init_hinting() 44 track->par->codec_tag = track->tag; in ff_mov_init_hinting() 46 ret = ff_rtp_chain_mux_open(&track->rtp_ctx, s, src_st, NULL, in ff_mov_init_hinting() 52 track->timescale = track->rtp_ctx->streams[0]->time_base.den; in ff_mov_init_hinting() 61 avcodec_parameters_free(&track->par); in ff_mov_init_hinting() [all …]
|
/third_party/e2fsprogs/resize/ |
D | resource_track.c | 21 void init_resource_track(struct resource_track *track, const char *desc, in init_resource_track() argument 29 track->desc = desc; in init_resource_track() 30 track->brk_start = sbrk(0); in init_resource_track() 31 gettimeofday(&track->time_start, 0); in init_resource_track() 37 track->user_start = r.ru_utime; in init_resource_track() 38 track->system_start = r.ru_stime; in init_resource_track() 40 track->user_start.tv_sec = track->user_start.tv_usec = 0; in init_resource_track() 41 track->system_start.tv_sec = track->system_start.tv_usec = 0; in init_resource_track() 43 track->bytes_read = 0; in init_resource_track() 44 track->bytes_written = 0; in init_resource_track() [all …]
|
/third_party/alsa-utils/seq/aplaymidi/ |
D | arecordmidi.c | 392 static void add_byte(struct smf_track *track, unsigned char byte) in add_byte() argument 395 if (track->cur_buf_size >= BUFFER_SIZE) { in add_byte() 396 track->cur_buf->next = calloc(1, sizeof(struct buffer)); in add_byte() 397 if (!track->cur_buf->next) in add_byte() 399 track->cur_buf = track->cur_buf->next; in add_byte() 400 track->cur_buf_size = 0; in add_byte() 403 track->cur_buf->buf[track->cur_buf_size++] = byte; in add_byte() 404 track->size++; in add_byte() 408 static void var_value(struct smf_track *track, int v) in var_value() argument 411 add_byte(track, 0x80 | ((v >> 28) & 0x03)); in var_value() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/mxf/ |
D | mxfprores.c | 37 mxf_is_prores_essence_track (const MXFMetadataTimelineTrack * track) in mxf_is_prores_essence_track() argument 41 g_return_val_if_fail (track != NULL, FALSE); in mxf_is_prores_essence_track() 43 if (track->parent.descriptor == NULL) in mxf_is_prores_essence_track() 46 for (i = 0; i < track->parent.n_descriptor; i++) { in mxf_is_prores_essence_track() 47 MXFMetadataFileDescriptor *d = track->parent.descriptor[i]; in mxf_is_prores_essence_track() 66 MXFMetadataTimelineTrack * track, in mxf_prores_handle_essence_element() argument 82 mxf_prores_get_track_wrapping (const MXFMetadataTimelineTrack * track) in mxf_prores_get_track_wrapping() argument 86 g_return_val_if_fail (track != NULL, MXF_ESSENCE_WRAPPING_CUSTOM_WRAPPING); in mxf_prores_get_track_wrapping() 88 if (track->parent.descriptor == NULL) { in mxf_prores_get_track_wrapping() 93 for (i = 0; i < track->parent.n_descriptor; i++) { in mxf_prores_get_track_wrapping() [all …]
|
D | mxfvc3.c | 45 mxf_is_vc3_essence_track (const MXFMetadataTimelineTrack * track) in mxf_is_vc3_essence_track() argument 49 g_return_val_if_fail (track != NULL, FALSE); in mxf_is_vc3_essence_track() 51 if (track->parent.descriptor == NULL) in mxf_is_vc3_essence_track() 54 for (i = 0; i < track->parent.n_descriptor; i++) { in mxf_is_vc3_essence_track() 55 MXFMetadataFileDescriptor *d = track->parent.descriptor[i]; in mxf_is_vc3_essence_track() 86 MXFMetadataTimelineTrack * track, in mxf_vc3_handle_essence_element() argument 102 mxf_vc3_get_track_wrapping (const MXFMetadataTimelineTrack * track) in mxf_vc3_get_track_wrapping() argument 106 g_return_val_if_fail (track != NULL, MXF_ESSENCE_WRAPPING_CUSTOM_WRAPPING); in mxf_vc3_get_track_wrapping() 108 if (track->parent.descriptor == NULL) { in mxf_vc3_get_track_wrapping() 113 for (i = 0; i < track->parent.n_descriptor; i++) { in mxf_vc3_get_track_wrapping() [all …]
|
D | mxfjpeg2000.c | 44 mxf_is_jpeg2000_essence_track (const MXFMetadataTimelineTrack * track) in mxf_is_jpeg2000_essence_track() argument 48 g_return_val_if_fail (track != NULL, FALSE); in mxf_is_jpeg2000_essence_track() 50 if (track->parent.descriptor == NULL) in mxf_is_jpeg2000_essence_track() 53 for (i = 0; i < track->parent.n_descriptor; i++) { in mxf_is_jpeg2000_essence_track() 54 MXFMetadataFileDescriptor *d = track->parent.descriptor[i]; in mxf_is_jpeg2000_essence_track() 74 MXFMetadataTimelineTrack * track, in mxf_jpeg2000_handle_essence_element() argument 89 mxf_jpeg2000_get_track_wrapping (const MXFMetadataTimelineTrack * track) in mxf_jpeg2000_get_track_wrapping() argument 93 g_return_val_if_fail (track != NULL, MXF_ESSENCE_WRAPPING_CUSTOM_WRAPPING); in mxf_jpeg2000_get_track_wrapping() 95 if (track->parent.descriptor == NULL) { in mxf_jpeg2000_get_track_wrapping() 100 for (i = 0; i < track->parent.n_descriptor; i++) { in mxf_jpeg2000_get_track_wrapping() [all …]
|
D | mxfdv-dif.c | 51 mxf_is_dv_dif_essence_track (const MXFMetadataTimelineTrack * track) in mxf_is_dv_dif_essence_track() argument 55 g_return_val_if_fail (track != NULL, FALSE); in mxf_is_dv_dif_essence_track() 57 if (track->parent.descriptor == NULL) in mxf_is_dv_dif_essence_track() 60 for (i = 0; i < track->parent.n_descriptor; i++) { in mxf_is_dv_dif_essence_track() 61 MXFMetadataFileDescriptor *d = track->parent.descriptor[i]; in mxf_is_dv_dif_essence_track() 91 MXFMetadataTimelineTrack * track, in mxf_dv_dif_handle_essence_element() argument 106 mxf_dv_dif_get_track_wrapping (const MXFMetadataTimelineTrack * track) in mxf_dv_dif_get_track_wrapping() argument 110 g_return_val_if_fail (track != NULL, MXF_ESSENCE_WRAPPING_CUSTOM_WRAPPING); in mxf_dv_dif_get_track_wrapping() 112 if (track->parent.descriptor == NULL) { in mxf_dv_dif_get_track_wrapping() 117 for (i = 0; i < track->parent.n_descriptor; i++) { in mxf_dv_dif_get_track_wrapping() [all …]
|
D | mxfalaw.c | 38 mxf_is_alaw_essence_track (const MXFMetadataTimelineTrack * track) in mxf_is_alaw_essence_track() argument 42 g_return_val_if_fail (track != NULL, FALSE); in mxf_is_alaw_essence_track() 44 if (track->parent.descriptor == NULL) in mxf_is_alaw_essence_track() 47 for (i = 0; i < track->parent.n_descriptor; i++) { in mxf_is_alaw_essence_track() 48 MXFMetadataFileDescriptor *d = track->parent.descriptor[i]; in mxf_is_alaw_essence_track() 68 MXFMetadataTimelineTrack * track, in mxf_alaw_handle_essence_element() argument 84 mxf_alaw_get_track_wrapping (const MXFMetadataTimelineTrack * track) in mxf_alaw_get_track_wrapping() argument 88 g_return_val_if_fail (track != NULL, MXF_ESSENCE_WRAPPING_CUSTOM_WRAPPING); in mxf_alaw_get_track_wrapping() 90 if (track->parent.descriptor == NULL) { in mxf_alaw_get_track_wrapping() 95 for (i = 0; i < track->parent.n_descriptor; i++) { in mxf_alaw_get_track_wrapping() [all …]
|
D | mxfd10.c | 46 mxf_is_d10_essence_track (const MXFMetadataTimelineTrack * track) in mxf_is_d10_essence_track() argument 50 g_return_val_if_fail (track != NULL, FALSE); in mxf_is_d10_essence_track() 52 if (track->parent.descriptor == NULL) in mxf_is_d10_essence_track() 55 for (i = 0; i < track->parent.n_descriptor; i++) { in mxf_is_d10_essence_track() 56 MXFMetadataFileDescriptor *d = track->parent.descriptor[i]; in mxf_is_d10_essence_track() 77 MXFMetadataTimelineTrack * track, in mxf_d10_picture_handle_essence_element() argument 99 MXFMetadataTimelineTrack * track, in mxf_d10_sound_handle_essence_element() argument 170 mxf_d10_get_track_wrapping (const MXFMetadataTimelineTrack * track) in mxf_d10_get_track_wrapping() argument 176 mxf_d10_create_caps (MXFMetadataTimelineTrack * track, GstTagList ** tags, in mxf_d10_create_caps() argument 185 g_return_val_if_fail (track != NULL, NULL); in mxf_d10_create_caps() [all …]
|
D | mxfvanc.c | 74 mxf_is_vanc_essence_track (const MXFMetadataTimelineTrack * track) in mxf_is_vanc_essence_track() argument 78 g_return_val_if_fail (track != NULL, FALSE); in mxf_is_vanc_essence_track() 80 if (track->parent.descriptor == NULL) in mxf_is_vanc_essence_track() 83 for (i = 0; i < track->parent.n_descriptor; i++) { in mxf_is_vanc_essence_track() 84 MXFMetadataFileDescriptor *d = track->parent.descriptor[i]; in mxf_is_vanc_essence_track() 104 MXFMetadataTimelineTrack * track, in mxf_vanc_handle_essence_element() argument 239 mxf_vanc_get_track_wrapping (const MXFMetadataTimelineTrack * track) in mxf_vanc_get_track_wrapping() argument 241 g_return_val_if_fail (track != NULL, MXF_ESSENCE_WRAPPING_CUSTOM_WRAPPING); in mxf_vanc_get_track_wrapping() 243 if (track->parent.descriptor == NULL) { in mxf_vanc_get_track_wrapping() 252 mxf_vanc_create_caps (MXFMetadataTimelineTrack * track, GstTagList ** tags, in mxf_vanc_create_caps() argument [all …]
|
D | mxfup.c | 104 mxf_is_up_essence_track (const MXFMetadataTimelineTrack * track) in mxf_is_up_essence_track() argument 108 g_return_val_if_fail (track != NULL, FALSE); in mxf_is_up_essence_track() 110 if (track->parent.descriptor == NULL) in mxf_is_up_essence_track() 113 for (i = 0; i < track->parent.n_descriptor; i++) { in mxf_is_up_essence_track() 114 MXFMetadataFileDescriptor *d = track->parent.descriptor[i]; in mxf_is_up_essence_track() 133 MXFMetadataTimelineTrack * track, in mxf_up_handle_essence_element() argument 205 mxf_up_get_track_wrapping (const MXFMetadataTimelineTrack * track) in mxf_up_get_track_wrapping() argument 209 g_return_val_if_fail (track != NULL, MXF_ESSENCE_WRAPPING_CUSTOM_WRAPPING); in mxf_up_get_track_wrapping() 211 if (track->parent.descriptor == NULL) { in mxf_up_get_track_wrapping() 216 for (i = 0; i < track->parent.n_descriptor; i++) { in mxf_up_get_track_wrapping() [all …]
|
D | mxfmux.c | 685 MXFMetadataTimelineTrack *track; in gst_mxf_mux_create_metadata() local 693 track = (MXFMetadataTimelineTrack *) p->parent.tracks[n]; in gst_mxf_mux_create_metadata() 694 mxf_uuid_init (&MXF_METADATA_BASE (track)->instance_uid, in gst_mxf_mux_create_metadata() 697 &MXF_METADATA_BASE (track)->instance_uid, track); in gst_mxf_mux_create_metadata() 698 mux->metadata_list = g_list_prepend (mux->metadata_list, track); in gst_mxf_mux_create_metadata() 702 track->parent.track_id = n + 1; in gst_mxf_mux_create_metadata() 703 track->parent.track_number = in gst_mxf_mux_create_metadata() 712 caps, pad->mapping_data, buffer, p, track, &track->edit_rate); in gst_mxf_mux_create_metadata() 717 sequence = track->parent.sequence = (MXFMetadataSequence *) in gst_mxf_mux_create_metadata() 747 pad->source_track = track; in gst_mxf_mux_create_metadata() [all …]
|
D | mxfessence.h | 36 …t MXFUL *key, GstBuffer *buffer, GstCaps *caps, MXFMetadataTimelineTrack *track, gpointer mapping_… 39 gboolean (*handles_track) (const MXFMetadataTimelineTrack *track); 40 MXFEssenceWrapping (*get_track_wrapping) (const MXFMetadataTimelineTrack *track); 41 …GstCaps * (*create_caps) (MXFMetadataTimelineTrack *track, GstTagList **tags, gboolean * intra_onl… 49 …Buffer *buf, MXFMetadataSourcePackage *package, MXFMetadataTimelineTrack *track, MXFFraction *edit… 56 …XFEssenceElementHandler * mxf_essence_element_handler_find (const MXFMetadataTimelineTrack *track);
|
/third_party/e2fsprogs/e2fsck/ |
D | iscan.c | 61 void init_resource_track(struct resource_track *track, io_channel channel) in init_resource_track() argument 68 track->brk_start = sbrk(0); in init_resource_track() 69 gettimeofday(&track->time_start, 0); in init_resource_track() 75 track->user_start = r.ru_utime; in init_resource_track() 76 track->system_start = r.ru_stime; in init_resource_track() 78 track->user_start.tv_sec = track->user_start.tv_usec = 0; in init_resource_track() 79 track->system_start.tv_sec = track->system_start.tv_usec = 0; in init_resource_track() 81 track->bytes_read = 0; in init_resource_track() 82 track->bytes_written = 0; in init_resource_track() 86 track->bytes_read = io_start->bytes_read; in init_resource_track() [all …]
|
D | scantest.c | 53 void init_resource_track(struct resource_track *track) in init_resource_track() argument 57 track->brk_start = sbrk(0); in init_resource_track() 58 gettimeofday(&track->time_start, 0); in init_resource_track() 60 track->user_start = r.ru_utime; in init_resource_track() 61 track->system_start = r.ru_stime; in init_resource_track() 71 static void print_resource_track(struct resource_track *track) in print_resource_track() argument 80 (unsigned long)((char *)sbrk(0) - (char *)track->brk_start), in print_resource_track() 81 timeval_subtract(&time_end, &track->time_start), in print_resource_track() 82 timeval_subtract(&r.ru_utime, &track->user_start), in print_resource_track() 83 timeval_subtract(&r.ru_stime, &track->system_start)); in print_resource_track()
|
/third_party/gstreamer/gstplugins_good/gst/matroska/ |
D | matroska-ids.c | 321 gst_matroska_track_get_buffer_timestamp (GstMatroskaTrackContext * track, in gst_matroska_track_get_buffer_timestamp() argument 324 if (track->dts_only) { in gst_matroska_track_get_buffer_timestamp() 332 gst_matroska_track_free (GstMatroskaTrackContext * track) in gst_matroska_track_free() argument 334 g_free (track->codec_id); in gst_matroska_track_free() 335 g_free (track->codec_name); in gst_matroska_track_free() 336 g_free (track->name); in gst_matroska_track_free() 337 g_free (track->language); in gst_matroska_track_free() 338 g_free (track->codec_priv); in gst_matroska_track_free() 339 g_free (track->codec_state); in gst_matroska_track_free() 340 gst_caps_replace (&track->caps, NULL); in gst_matroska_track_free() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/midi/ |
D | midiparse.c | 78 GstMidiTrack * track, guint8 event, guint8 * data, guint length, 106 static void reset_track (GstMidiTrack * track, GstMidiParse * midiparse); 535 handle_meta_event (GstMidiParse * midiparse, GstMidiTrack * track, guint8 event) in handle_meta_event() argument 543 track->offset += 1; in handle_meta_event() 545 data = track->data + track->offset; in handle_meta_event() 546 size = track->size - track->offset; in handle_meta_event() 625 track->offset += consumed + length + 1; in handle_meta_event() 638 handle_sysex_event (GstMidiParse * midiparse, GstMidiTrack * track, in handle_sysex_event() argument 646 track->offset += 1; in handle_sysex_event() 648 data = track->data + track->offset; in handle_sysex_event() [all …]
|
/third_party/boost/libs/geometry/example/ |
D | c03_custom_linestring_example.cpp | 67 gps_track track(23, "Mister G"); in BOOST_GEOMETRY_REGISTER_POINT_2D() local 68 track.push_back(gps_point("52 22 23 N", "4 53 32 E", 50, 180)); in BOOST_GEOMETRY_REGISTER_POINT_2D() 69 track.push_back(gps_point("52 10 00 N", "4 59 59 E", 110, 170)); in BOOST_GEOMETRY_REGISTER_POINT_2D() 70 track.push_back(gps_point("52 5 20 N", "5 6 56 E", 0, 90)); in BOOST_GEOMETRY_REGISTER_POINT_2D() 73 << "track: " << track.route_identifier << std::endl in BOOST_GEOMETRY_REGISTER_POINT_2D() 74 << "from: " << track.owner << std::endl in BOOST_GEOMETRY_REGISTER_POINT_2D() 75 << "as wkt: " << boost::geometry::dsv(track) << std::endl in BOOST_GEOMETRY_REGISTER_POINT_2D() 76 << "length: " << boost::geometry::length(track)/1000.0 << " km" << std::endl; in BOOST_GEOMETRY_REGISTER_POINT_2D()
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | symbol-unscopables.js | 108 let track = []; variable 111 track.push(p); 115 track.push(p); 124 assert(track.length == 3); 125 assert(track[0] === 'a'); 126 assert(track[1] === Symbol.unscopables); 127 assert(track[2] === 'a');
|