Searched refs:target_pos (Results 1 – 5 of 5) sorted by relevance
/third_party/boost/boost/graph/detail/ |
D | histogram_sort.hpp | 181 size_t target_pos in histogram_sort_inplace() local 184 target_pos < rowstart[key_transform(key_begin[i]) + 1]); in histogram_sort_inplace() 185 if (target_pos == i) in histogram_sort_inplace() 189 swap(key_begin[i], key_begin[target_pos]); in histogram_sort_inplace() 190 swap(values1[i], values1[target_pos]); in histogram_sort_inplace() 221 size_t target_pos in histogram_sort_inplace() local 224 target_pos < rowstart[key_transform(key_begin[i]) + 1]); in histogram_sort_inplace() 225 if (target_pos == i) in histogram_sort_inplace() 229 swap(key_begin[i], key_begin[target_pos]); in histogram_sort_inplace() 230 swap(values1[i], values1[target_pos]); in histogram_sort_inplace() [all …]
|
/third_party/ffmpeg/libavformat/ |
D | mp3dec.c | 494 static int64_t mp3_sync(AVFormatContext *s, int64_t target_pos, int flags) in mp3_sync() argument 501 avio_seek(s->pb, FFMAX(target_pos - SEEK_WINDOW, 0), SEEK_SET); in mp3_sync() 502 ret = avio_seek(s->pb, target_pos, SEEK_SET); in mp3_sync() 507 best_pos = target_pos; in mp3_sync() 510 int64_t pos = target_pos + (dir > 0 ? i - SEEK_WINDOW/4 : -i); in mp3_sync() 527 if ((target_pos - pos)*dir <= 0 && FFABS(MIN_VALID/2-j) < score) { in mp3_sync()
|
/third_party/gstreamer/gstplugins_bad/ext/hls/ |
D | gsthlsdemux.c | 345 GstClockTime current_pos, target_pos, final_pos; in gst_hls_demux_seek() local 391 target_pos = rate < 0 ? stop : start; in gst_hls_demux_seek() 392 final_pos = target_pos; in gst_hls_demux_seek() 403 gst_hls_demux_stream_seek (stream, rate >= 0, flags, target_pos, in gst_hls_demux_seek() 1762 GstClockTime current_pos, target_pos; in gst_hls_demux_update_playlist() local 1776 target_pos = stream->segment.position; in gst_hls_demux_update_playlist() 1778 target_pos = 0; in gst_hls_demux_update_playlist() 1781 target_pos = MAX (target_pos, m3u8->sequence_position); in gst_hls_demux_update_playlist() 1785 GST_TIME_FORMAT " in updated playlist", GST_TIME_ARGS (target_pos)); in gst_hls_demux_update_playlist() 1792 if (current_pos <= target_pos in gst_hls_demux_update_playlist() [all …]
|
/third_party/glib/glib/ |
D | gtimezone.c | 1424 gchar *target_pos = *pos; in parse_offset() local 1431 buffer = g_strndup (target_pos, *pos - target_pos); in parse_offset() 1442 gchar *target_pos = *pos; in parse_identifier_boundary() local 1447 buffer = g_strndup (target_pos, *pos - target_pos); in parse_identifier_boundary()
|
/third_party/gstreamer/gstplugins_bad/ext/dash/ |
D | gstdashdemux.c | 2305 GstClockTime current_pos, target_pos; in gst_dash_demux_seek() local 2321 target_pos = (GstClockTime) start; in gst_dash_demux_seek() 2323 target_pos = (GstClockTime) stop; in gst_dash_demux_seek() 2327 if (!gst_mpd_client_setup_media_presentation (dashdemux->client, target_pos, in gst_dash_demux_seek() 2341 GST_TIME_ARGS (period->duration), GST_TIME_ARGS (target_pos)); in gst_dash_demux_seek() 2342 if (current_pos <= target_pos in gst_dash_demux_seek() 2343 && target_pos <= current_pos + period->duration) { in gst_dash_demux_seek() 2384 if (gst_dash_demux_stream_seek (stream, rate >= 0, 0, target_pos, in gst_dash_demux_seek()
|