Home
last modified time | relevance | path

Searched refs:seek_offset (Results 1 – 12 of 12) sorted by relevance

/third_party/ffmpeg/libavformat/
Daadec.c54 int seek_offset; member
244 c->seek_offset = 0; in aa_read_header()
310 if (c->seek_offset > written) in aa_read_packet()
311 c->seek_offset = 0; // ignore wrong estimate in aa_read_packet()
313 ret = av_new_packet(pkt, written - c->seek_offset); in aa_read_packet()
316 memcpy(pkt->data, buf + c->seek_offset, written - c->seek_offset); in aa_read_packet()
319 c->seek_offset = 0; in aa_read_packet()
365 c->seek_offset = (MP3_FRAME_SIZE - chapter_pos % MP3_FRAME_SIZE) % MP3_FRAME_SIZE; in aa_read_seek()
368 ff_update_cur_dts(s, s->streams[0], ch->start + (chapter_pos + c->seek_offset) * TIMEPREC); in aa_read_seek()
/third_party/cef/tests/ceftests/
Dstream_unittest.cc240 int64 seek_offset = 10; in TEST() local
242 int seek_res = stream->Seek(seek_offset, seek_whence); in TEST()
245 ASSERT_EQ(seek_offset, handler->seek_offset_); in TEST()
344 int64 seek_offset = 10; in TEST() local
346 int seek_res = stream->Seek(seek_offset, seek_whence); in TEST()
349 ASSERT_EQ(seek_offset, handler->seek_offset_); in TEST()
/third_party/gstreamer/gstplugins_good/gst/debugutils/
Dgstnavseek.c125 navseek->seek_offset = 5.0; in gst_navseek_init()
272 gst_navseek_seek (navseek, -1.0 * navseek->seek_offset * GST_SECOND); in gst_navseek_src_event()
275 gst_navseek_seek (navseek, navseek->seek_offset * GST_SECOND); in gst_navseek_src_event()
330 navseek->seek_offset = g_value_get_double (value); in gst_navseek_set_property()
353 g_value_set_double (value, navseek->seek_offset); in gst_navseek_get_property()
Dgstnavseek.h46 gdouble seek_offset; member
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-demux.h92 guint64 seek_offset; member
Dmatroska-demux.c356 demux->seek_offset = -1; in gst_matroska_demux_reset()
3010 demux->seek_offset = entry->pos + demux->common.ebml_segment_start; in gst_matroska_demux_handle_seek_event()
6255 if (demux->seek_offset == segment->start) { in gst_matroska_demux_handle_sink_event()
6262 demux->seek_offset = -1; in gst_matroska_demux_handle_sink_event()
/third_party/gstreamer/gstplugins_bad/gst/mpegtsdemux/
Dmpegtsbase.c242 base->seek_offset = -1; in mpegts_base_reset()
1624 if (base->seek_offset == -1) { in mpegts_base_scan()
1626 base->seek_offset = base->packetizer->offset; in mpegts_base_scan()
1627 GST_DEBUG ("Sync point is now %" G_GUINT64_FORMAT, base->seek_offset); in mpegts_base_scan()
1727 GST_DEBUG ("Pulling data from %" G_GUINT64_FORMAT, base->seek_offset); in mpegts_base_loop()
1733 ret = gst_pad_pull_range (base->sinkpad, base->seek_offset, in mpegts_base_loop()
1737 base->seek_offset += gst_buffer_get_size (buf); in mpegts_base_loop()
1808 if (GST_CLOCK_TIME_IS_VALID (base->seek_offset)) { in mpegts_base_handle_seek_event()
1811 GST_SEEK_TYPE_SET, base->seek_offset, GST_SEEK_TYPE_NONE, -1); in mpegts_base_handle_seek_event()
Dmpegtsbase.h122 guint64 seek_offset; member
Dtsdemux.c987 base->seek_offset = start_offset; in gst_ts_demux_do_seek()
988 demux->last_seek_offset = base->seek_offset; in gst_ts_demux_do_seek()
3385 base->seek_offset = demux->last_seek_offset - 200 * base->packetsize; in gst_ts_demux_push_pending_data()
3387 base->seek_offset = 0; in gst_ts_demux_push_pending_data()
3388 demux->last_seek_offset = base->seek_offset; in gst_ts_demux_push_pending_data()
/third_party/gstreamer/gstplugins_good/gst/flv/
Dgstflvdemux.c2335 guint64 seek_offset; in gst_flv_demux_chain() local
2342 seek_offset = demux->file_size - sizeof (guint32) - in gst_flv_demux_chain()
2348 seek_offset); in gst_flv_demux_chain()
2350 flv_demux_seek_to_offset (demux, seek_offset); in gst_flv_demux_chain()
3034 guint64 seek_offset = 0; in gst_flv_demux_handle_seek_push() local
3061 seek_offset = demux->file_size - sizeof (guint32); in gst_flv_demux_handle_seek_push()
3063 "File size obtained, seeking to %" G_GUINT64_FORMAT, seek_offset); in gst_flv_demux_handle_seek_push()
3069 seek_offset); in gst_flv_demux_handle_seek_push()
3070 return flv_demux_seek_to_offset (demux, seek_offset); in gst_flv_demux_handle_seek_push()
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dqtdemux.h223 gint64 seek_offset; member
Dqtdemux.c1364 qtdemux->seek_offset = byte_cur; in gst_qtdemux_do_push_seek()
2245 demux->seek_offset, segment.start); in gst_qtdemux_handle_sink_event()
2247 && demux->seek_offset == segment.start) { in gst_qtdemux_handle_sink_event()