Home
last modified time | relevance | path

Searched refs:ts_start (Results 1 – 14 of 14) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dffwavesynth.c83 int64_t ts_start, ts_end; member
191 uint64_t dt = ts - (uint64_t)in->ts_start; in phi_at()
205 if (ts < in->ts_start) in wavesynth_seek()
212 in->dphi = in->dphi0 + (ts - in->ts_start) * in->ddphi; in wavesynth_seek()
213 in->amp = in->amp0 + (ts - in->ts_start) * in->damp; in wavesynth_seek()
216 ws->next_ts = i < ws->nb_inter ? ws->inter[i].ts_start : INF_TS; in wavesynth_seek()
259 in->ts_start = AV_RL64(edata + 0); in wavesynth_parse_extradata()
264 if (in->ts_start < cur_ts || in wavesynth_parse_extradata()
265 in->ts_end <= in->ts_start || in wavesynth_parse_extradata()
266 (uint64_t)in->ts_end - in->ts_start > INT64_MAX in wavesynth_parse_extradata()
[all …]
Ddecode.c987 int ts_start, ts_duration = -1; in convert_sub_to_old_ass_form() local
1008 ts_start = av_rescale_q(pkt->pts, tb, av_make_q(1, 100)); in convert_sub_to_old_ass_form()
1015 insert_ts(&buf, ts_start); in convert_sub_to_old_ass_form()
1016 insert_ts(&buf, ts_duration == -1 ? -1 : ts_start + ts_duration); in convert_sub_to_old_ass_form()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/
D11-1.c41 struct timespec ts_start, ts_end; in main()
76 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts_start) != 0) { in main()
97 if (labs(ts_end.tv_sec - ts_start.tv_sec - TIMERSEC) <= ACCEPTABLEDELTA) { in main()
104 (int)ts_end.tv_sec, (int)ts_start.tv_sec, in main()
D10-1.c41 struct timespec ts_start, ts_end; in main()
76 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts_start) != 0) { in main()
97 if (labs(ts_end.tv_sec - ts_start.tv_sec - TIMERSEC) <= ACCEPTABLEDELTA) { in main()
104 (int)ts_end.tv_sec, (int)ts_start.tv_sec, in main()
/third_party/ffmpeg/libavformat/
Dlrcdec.c196 int64_t ts_start = AV_NOPTS_VALUE; in lrc_read_header() local
202 &ts_start)) != 0) { in lrc_read_header()
203 ts_start = av_clip64(ts_start, INT64_MIN/4, INT64_MAX/4); in lrc_read_header()
212 sub->pts = ts_start - lrc->ts_offset; in lrc_read_header()
Dwebvttdec.c82 int64_t ts_start, ts_end; in webvtt_read_header() local
118 if ((ts_start = read_ts(p)) == AV_NOPTS_VALUE) in webvtt_read_header()
146 sub->pts = ts_start; in webvtt_read_header()
147 sub->duration = ts_end - ts_start; in webvtt_read_header()
Djacosubdec.c109 int ts_start, ts_end; in read_ts() local
116 ts_start = (hs*3600 + ms*60 + ss) * jacosub->timeres + fs; in read_ts()
122 if (sscanf(buf, "@%u @%u %n", &ts_start, &ts_end, &len) == 2) in read_ts()
128 ts_start64 = (ts_start + (int64_t)jacosub->shift) * 100LL / jacosub->timeres; in read_ts()
Dassdec.c135 int64_t ts_start = AV_NOPTS_VALUE; in ass_read_header() local
142 if (read_dialogue(ass, &rline, line.str, &ts_start, &duration) < 0) { in ass_read_header()
152 sub->pts = ts_start; in ass_read_header()
/third_party/ffmpeg/tests/api/
Dapi-seek-test.c77 uint64_t ts_start, uint64_t ts_end, int no_seeking) in compute_crc_of_packets() argument
93 result = av_seek_frame(fmt_ctx, video_stream, ts_start, AVSEEK_FLAG_ANY); in compute_crc_of_packets()
94 … printf("Seeking to %"PRId64", computing crc for frames with pts < %"PRId64"\n", ts_start, ts_end); in compute_crc_of_packets()
/third_party/gstreamer/gstreamer/libs/gst/check/libcheck/
Dcheck_run.c388 struct timespec ts_start = { 0, 0 }, ts_end = { in tcase_run_tfun_nofork() local
393 clock_gettime (check_get_clockid (), &ts_start); in tcase_run_tfun_nofork()
400 DIFF_IN_USEC (ts_start, ts_end)); in tcase_run_tfun_nofork()
450 struct timespec ts_start = { 0, 0 }, ts_end = { in tcase_run_tfun_fork() local
466 clock_gettime (check_get_clockid (), &ts_start); in tcase_run_tfun_fork()
470 send_duration_info (DIFF_IN_USEC (ts_start, ts_end)); in tcase_run_tfun_fork()
Dcheck_log.c281 static struct timespec ts_start = { 0, 0 }; in xml_lfun() local
289 clock_gettime (check_get_clockid (), &ts_start); in xml_lfun()
311 duration = (unsigned long) DIFF_IN_USEC (ts_start, ts_end); in xml_lfun()
/third_party/ltp/testcases/realtime/lib/
Dlibrttest.c418 void ts_minus(struct timespec *ts_end, struct timespec *ts_start, in ts_minus() argument
421 if (ts_end == NULL || ts_start == NULL || ts_delta == NULL) { in ts_minus()
427 ts_delta->tv_sec = ts_end->tv_sec - ts_start->tv_sec; in ts_minus()
428 ts_delta->tv_nsec = ts_end->tv_nsec - ts_start->tv_nsec; in ts_minus()
/third_party/gstreamer/gstplugins_base/gst/subparse/
Dgstsubparse.c997 GstClockTime ts_start, ts_end; in parse_subrip() local
1002 parse_subrip_time (line, &ts_start) && in parse_subrip()
1006 state->start_time = ts_start; in parse_subrip()
1007 state->duration = ts_end - ts_start; in parse_subrip()
1095 GstClockTime ts_start, ts_end; in parse_webvtt() local
1101 parse_subrip_time (line, &ts_start) && in parse_webvtt()
1105 state->start_time = ts_start; in parse_webvtt()
1106 state->duration = ts_end - ts_start; in parse_webvtt()
/third_party/ltp/testcases/realtime/include/
Dlibrttest.h284 void ts_minus(struct timespec *ts_end, struct timespec *ts_start, struct timespec *ts_delta);