Home
last modified time | relevance | path

Searched refs:GST_BUFFER_OFFSET (Results 1 – 25 of 184) sorted by relevance

12345678

/third_party/gstreamer/gstplugins_base/tests/check/libs/
Daudio.c71 GST_BUFFER_OFFSET (buf) = GST_BUFFER_OFFSET_NONE; in GST_START_TEST()
96 GST_BUFFER_OFFSET (buf) = 200; in GST_START_TEST()
104 fail_unless_equals_int64 (GST_BUFFER_OFFSET (ret), 400); in GST_START_TEST()
138 GST_BUFFER_OFFSET (buf) = 200; in GST_START_TEST()
146 fail_unless_equals_int64 (GST_BUFFER_OFFSET (ret), 400); in GST_START_TEST()
174 GST_BUFFER_OFFSET (buf) = 200; in GST_START_TEST()
182 fail_unless_equals_int64 (GST_BUFFER_OFFSET (ret), 400); in GST_START_TEST()
217 GST_BUFFER_OFFSET (buf) = 200; in GST_START_TEST()
225 fail_unless_equals_int64 (GST_BUFFER_OFFSET (ret), 400); in GST_START_TEST()
260 GST_BUFFER_OFFSET (buf) = 200; in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dqtdemux.c222 GST_BUFFER_OFFSET (inbuf) = 0; in GST_START_TEST()
230 GST_BUFFER_OFFSET (inbuf) = 0; in GST_START_TEST()
248 GST_BUFFER_OFFSET (inbuf) = offset; in GST_START_TEST()
431 GST_BUFFER_OFFSET (inbuf) = 0; in GST_START_TEST()
441 GST_BUFFER_OFFSET (inbuf) = 0; in GST_START_TEST()
449 GST_BUFFER_OFFSET (inbuf) = 0; in GST_START_TEST()
459 GST_BUFFER_OFFSET (inbuf) = init_mp4_len; in GST_START_TEST()
580 GST_BUFFER_OFFSET (inbuf) = 0; in GST_START_TEST()
598 GST_BUFFER_OFFSET (inbuf) = init_mp4_len; in GST_START_TEST()
612 GST_BUFFER_OFFSET (inbuf) = 0; in GST_START_TEST()
[all …]
Dicydemux.c181 GST_BUFFER_OFFSET (buffer) = offset; in push_data()
332 fail_unless (GST_BUFFER_OFFSET (GST_BUFFER_CAST (buffers->data)) == 0); in GST_START_TEST()
353 GST_BUFFER_OFFSET (buf) = 0; in GST_START_TEST()
Dimagefreeze.c115 fail_unless_equals_uint64 (GST_BUFFER_OFFSET (buffer), 0); in sink_handoff_cb_0_1()
184 fail_unless_equals_uint64 (GST_BUFFER_OFFSET (buffer), *n_buffers); in sink_handoff_cb_25_1_0ms_400ms()
263 fail_unless_equals_uint64 (GST_BUFFER_OFFSET (buffer), 5 + *n_buffers); in sink_handoff_cb_25_1_200ms_400ms()
343 fail_unless_equals_uint64 (GST_BUFFER_OFFSET (buffer), 10 - (*n_buffers + 1)); in sink_handoff_cb_25_1_400ms_0ms()
434 fail_unless_equals_uint64 (GST_BUFFER_OFFSET (buffer), 5 + *n_buffers); in sink_handoff_cb_25_1_220ms_380ms()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio.c122 offset = GST_BUFFER_OFFSET (buffer); in gst_audio_buffer_clip()
237 GST_BUFFER_OFFSET (ret) = offset; in gst_audio_buffer_clip()
290 orig_offset = GST_BUFFER_OFFSET (buffer); in gst_audio_buffer_truncate()
334 GST_BUFFER_OFFSET (ret) = orig_offset + trim; in gst_audio_buffer_truncate()
335 GST_BUFFER_OFFSET_END (ret) = GST_BUFFER_OFFSET (ret) + samples; in gst_audio_buffer_truncate()
337 GST_BUFFER_OFFSET (ret) = GST_BUFFER_OFFSET_NONE; in gst_audio_buffer_truncate()
/third_party/gstreamer/gstplugins_base/gst/gio/
Dgstgiobasesrc.c311 if (src->cache && offset >= GST_BUFFER_OFFSET (src->cache) && in gst_gio_base_src_create()
317 offset - GST_BUFFER_OFFSET (src->cache), size); in gst_gio_base_src_create()
319 GST_BUFFER_OFFSET (buf) = offset; in gst_gio_base_src_create()
336 if (src->cache && offset >= GST_BUFFER_OFFSET (src->cache) && in gst_gio_base_src_create()
341 G_GUINT64_FORMAT, read, offset - GST_BUFFER_OFFSET (src->cache)); in gst_gio_base_src_create()
343 offset - GST_BUFFER_OFFSET (src->cache), read); in gst_gio_base_src_create()
419 GST_BUFFER_OFFSET (src->cache) = offset; in gst_gio_base_src_create()
431 GST_BUFFER_OFFSET (buf) = offset; in gst_gio_base_src_create()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Daudiorate.c79 GST_BUFFER_OFFSET (buf), GST_BUFFER_OFFSET_END (buf)); in test_injector_chain()
94 delta = GST_BUFFER_OFFSET_END (buf) - GST_BUFFER_OFFSET (buf); in test_injector_chain()
95 GST_BUFFER_OFFSET (ibuf) += delta / 4; in test_injector_chain()
98 GST_BUFFER_OFFSET (ibuf) = GST_BUFFER_OFFSET_NONE; in test_injector_chain()
119 GST_BUFFER_DURATION (ibuf)), GST_BUFFER_OFFSET (ibuf), in test_injector_chain()
163 GST_BUFFER_OFFSET (buf), GST_BUFFER_OFFSET_END (buf)); in probe_cb()
269 GST_BUFFER_OFFSET (buf), GST_BUFFER_OFFSET_END (buf)); in do_perfect_stream_test()
275 fail_unless_equals_uint64 (next_offset, GST_BUFFER_OFFSET (buf)); in do_perfect_stream_test()
282 num_samples = GST_BUFFER_OFFSET_END (buf) - GST_BUFFER_OFFSET (buf); in do_perfect_stream_test()
Daudioresample.c142 GST_BUFFER_OFFSET (buffer), GST_BUFFER_OFFSET_END (buffer)); in fail_unless_perfect_stream()
145 fail_unless_equals_uint64 (offset, GST_BUFFER_OFFSET (buffer)); in fail_unless_perfect_stream()
184 GST_BUFFER_OFFSET (inbuffer) = offset; in test_perfect_stream_instance()
275 GST_BUFFER_OFFSET (inbuffer) = (j - 1) * 2 * samples; in test_discont_stream_instance()
293 GST_BUFFER_OFFSET (inbuffer), GST_BUFFER_OFFSET_END (inbuffer)); in test_discont_stream_instance()
305 GST_BUFFER_OFFSET (outbuffer), GST_BUFFER_OFFSET_END (outbuffer)); in test_discont_stream_instance()
362 GST_BUFFER_OFFSET (inbuffer) = 0; in GST_START_TEST()
385 GST_BUFFER_OFFSET (inbuffer) = 0; in GST_START_TEST()
461 GST_BUFFER_OFFSET (inbuffer) = 0; in live_switch_push()
641 GST_BUFFER_OFFSET (inbuffer) = 0; in live_switch_push_downstream()
[all …]
Dappsrc.c509 GST_LOG (" buffer # %3u", (guint) GST_BUFFER_OFFSET (buf)); in chain_____func()
511 fail_unless_equals_int (GST_BUFFER_OFFSET (buf), expect_offset); in chain_____func()
528 GST_LOG (" buffer # %3u", (guint) GST_BUFFER_OFFSET (buf)); in chainlist_func()
530 fail_unless_equals_int (GST_BUFFER_OFFSET (buf), expect_offset); in chainlist_func()
564 GST_BUFFER_OFFSET (buf) = i; in GST_START_TEST()
572 GST_BUFFER_OFFSET (buf) = ++i; in GST_START_TEST()
1374 GST_LOG (" buffer # %3u", (guint) GST_BUFFER_OFFSET (buf)); in send_event_chain_func()
1376 fail_unless_equals_int (GST_BUFFER_OFFSET (buf), expect_offset); in send_event_chain_func()
1419 GST_BUFFER_OFFSET (buf) = 0; in GST_START_TEST()
1428 GST_BUFFER_OFFSET (buf) = 1; in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dkate.c275 GST_BUFFER_OFFSET (buf) = 0; in GST_START_TEST()
447 GST_BUFFER_TIMESTAMP (inbuffer) = GST_BUFFER_OFFSET (inbuffer) = in GST_START_TEST()
494 GST_BUFFER_TIMESTAMP (inbuffer) = GST_BUFFER_OFFSET (inbuffer) = in GST_START_TEST()
547 GST_BUFFER_TIMESTAMP (inbuffer) = GST_BUFFER_OFFSET (inbuffer) = in GST_START_TEST()
664 GST_BUFFER_OFFSET (inbuffer) = GST_BUFFER_OFFSET_END (inbuffer) = 0; in test_kate_send_headers()
669 GST_BUFFER_OFFSET (inbuffer) = GST_BUFFER_OFFSET_END (inbuffer) = 0; in test_kate_send_headers()
678 GST_BUFFER_OFFSET (inbuffer) = GST_BUFFER_OFFSET_END (inbuffer) = 0; in test_kate_send_headers()
684 GST_BUFFER_OFFSET (inbuffer) = GST_BUFFER_OFFSET_END (inbuffer) = 0; in test_kate_send_headers()
707 GST_BUFFER_TIMESTAMP (inbuffer) = GST_BUFFER_OFFSET (inbuffer) = in GST_START_TEST()
716 GST_BUFFER_TIMESTAMP (inbuffer) = GST_BUFFER_OFFSET (inbuffer) = in GST_START_TEST()
Dneonhttpsrc.c83 GST_DEBUG ("buffer offset = %" G_GUINT64_FORMAT, GST_BUFFER_OFFSET (buf)); in GST_START_TEST()
86 fail_unless (GST_BUFFER_OFFSET (buf) == 0); in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/ext/vorbis/
Dgstvorbisparse.c316 samples = GST_BUFFER_OFFSET (buf); in vorbis_parse_push_buffer()
320 GST_BUFFER_OFFSET (buf) = granulepos * GST_SECOND / parse->sample_rate; in vorbis_parse_push_buffer()
322 GST_BUFFER_OFFSET (buf) - GST_BUFFER_DURATION (buf); in vorbis_parse_push_buffer()
347 granulepos += GST_BUFFER_OFFSET (buf); in vorbis_parse_drain_queue_prematurely()
369 cur -= GST_BUFFER_OFFSET (walk->data); in vorbis_parse_drain_queue()
379 cur += GST_BUFFER_OFFSET (buf); in vorbis_parse_drain_queue()
418 GST_BUFFER_OFFSET (buf) = 0; in vorbis_parse_queue_buffer()
420 GST_BUFFER_OFFSET (buf) = (blocksize + parse->prev_blocksize) / 4; in vorbis_parse_queue_buffer()
/third_party/gstreamer/gstplugins_good/ext/jpeg/
Dgstsmokedec.c244 GST_BUFFER_OFFSET (outbuf) = GST_BUFFER_OFFSET (buf); in gst_smokedec_chain()
248 if (GST_BUFFER_OFFSET (buf) == -1) { in gst_smokedec_chain()
251 time = GST_BUFFER_OFFSET (buf) * GST_BUFFER_DURATION (outbuf); in gst_smokedec_chain()
/third_party/gstreamer/gstplugins_base/gst/audioresample/
Dgstaudioresample.c634 GST_BUFFER_OFFSET (outbuf) = resample->out_offset0 + resample->samples_out; in gst_audio_resample_push_drain()
635 GST_BUFFER_OFFSET_END (outbuf) = GST_BUFFER_OFFSET (outbuf) + out_len; in gst_audio_resample_push_drain()
637 GST_BUFFER_OFFSET (outbuf) = GST_BUFFER_OFFSET_NONE; in gst_audio_resample_push_drain()
649 GST_TIME_ARGS (GST_BUFFER_DURATION (outbuf)), GST_BUFFER_OFFSET (outbuf), in gst_audio_resample_push_drain()
852 GST_BUFFER_OFFSET (outbuf) = resample->out_offset0 + resample->samples_out; in gst_audio_resample_process()
853 GST_BUFFER_OFFSET_END (outbuf) = GST_BUFFER_OFFSET (outbuf) + out_len; in gst_audio_resample_process()
855 GST_BUFFER_OFFSET (outbuf) = GST_BUFFER_OFFSET_NONE; in gst_audio_resample_process()
874 GST_BUFFER_OFFSET (outbuf), GST_BUFFER_OFFSET_END (outbuf)); in gst_audio_resample_process()
894 GST_BUFFER_OFFSET (inbuf), GST_BUFFER_OFFSET_END (inbuf)); in gst_audio_resample_transform()
925 resample->in_offset0 = GST_BUFFER_OFFSET (inbuf); in gst_audio_resample_transform()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Dgsttagmux.c276 GST_BUFFER_OFFSET (buffer) = 0; in gst_tag_mux_render_start_tag()
327 GST_BUFFER_OFFSET (buffer) = mux->priv->max_offset; in gst_tag_mux_render_end_tag()
407 if (GST_BUFFER_OFFSET (buffer) != GST_BUFFER_OFFSET_NONE) { in gst_tag_mux_chain()
409 " to %" G_GINT64_FORMAT, GST_BUFFER_OFFSET (buffer), in gst_tag_mux_chain()
410 GST_BUFFER_OFFSET (buffer) + mux->priv->start_tag_size); in gst_tag_mux_chain()
411 GST_BUFFER_OFFSET (buffer) += mux->priv->start_tag_size; in gst_tag_mux_chain()
/third_party/gstreamer/gstplugins_base/tests/check/gst/
Dtypefindfunctions.c40 GST_BUFFER_OFFSET (buf) = 0; in typefind_data()
93 GST_BUFFER_OFFSET (buf) = 0; in GST_START_TEST()
123 GST_BUFFER_OFFSET (buf) = 0; in GST_START_TEST()
160 GST_BUFFER_OFFSET (buf) = 0; in typefind_test_file()
382 GST_BUFFER_OFFSET (buf) = 0; in GST_START_TEST()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpmp4gdepay.c362 AU_index = GST_BUFFER_OFFSET (outbuf); in gst_rtp_mp4g_depay_flush_queue()
373 guint AU_index = GST_BUFFER_OFFSET (outbuf); in gst_rtp_mp4g_depay_queue()
388 AU_index = GST_BUFFER_OFFSET (outbuf); in gst_rtp_mp4g_depay_queue()
411 idx = GST_BUFFER_OFFSET (GST_BUFFER_CAST (list->data)); in gst_rtp_mp4g_depay_queue()
623 rtpmp4gdepay->next_AU_index = GST_BUFFER_OFFSET (outbuf); in gst_rtp_mp4g_depay_process()
707 GST_BUFFER_OFFSET (outbuf) = AU_index; in gst_rtp_mp4g_depay_process()
/third_party/gstreamer/gstplugins_good/gst/matroska/
Debml-write.c253 GST_BUFFER_OFFSET (buffer) = ebml->pos - gst_buffer_get_size (buffer); in gst_ebml_write_flush_cache()
256 if (GST_BUFFER_OFFSET (buffer) != ebml->last_pos) { in gst_ebml_write_flush_cache()
257 gst_ebml_writer_send_segment_event (ebml, GST_BUFFER_OFFSET (buffer)); in gst_ebml_write_flush_cache()
461 GST_BUFFER_OFFSET (buf) = ebml->pos - data_size; in gst_ebml_write_element_push()
470 if (GST_BUFFER_OFFSET (buf) != ebml->last_pos) { in gst_ebml_write_element_push()
471 gst_ebml_writer_send_segment_event (ebml, GST_BUFFER_OFFSET (buf)); in gst_ebml_write_element_push()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/uridownloader/
Dgstfragment.c250 offset = GST_BUFFER_OFFSET (fragment->priv->buffer); in gst_fragment_get_caps()
252 GST_BUFFER_OFFSET (fragment->priv->buffer) = GST_BUFFER_OFFSET_NONE; in gst_fragment_get_caps()
256 GST_BUFFER_OFFSET (fragment->priv->buffer) = offset; in gst_fragment_get_caps()
/third_party/gstreamer/gstplugins_good/gst/audiofx/
Daudiofxbasefirfilter.c705 GST_BUFFER_OFFSET (outbuf) = in gst_audio_fx_base_fir_filter_push_residue()
707 GST_BUFFER_OFFSET_END (outbuf) = GST_BUFFER_OFFSET (outbuf) + outsamples; in gst_audio_fx_base_fir_filter_push_residue()
716 GST_TIME_ARGS (GST_BUFFER_DURATION (outbuf)), GST_BUFFER_OFFSET (outbuf), in gst_audio_fx_base_fir_filter_push_residue()
844 self->start_off = GST_BUFFER_OFFSET (inbuf); in gst_audio_fx_base_fir_filter_transform()
849 self->start_off = GST_BUFFER_OFFSET (inbuf); in gst_audio_fx_base_fir_filter_transform()
895 GST_BUFFER_OFFSET (outbuf) = self->start_off + output_offset; in gst_audio_fx_base_fir_filter_transform()
897 GST_BUFFER_OFFSET (outbuf) + generated_samples; in gst_audio_fx_base_fir_filter_transform()
899 GST_BUFFER_OFFSET (outbuf) = GST_BUFFER_OFFSET_NONE; in gst_audio_fx_base_fir_filter_transform()
910 GST_TIME_ARGS (GST_BUFFER_DURATION (outbuf)), GST_BUFFER_OFFSET (outbuf), in gst_audio_fx_base_fir_filter_transform()
/third_party/gstreamer/gstplugins_good/ext/vpx/
Dgstvp8enc.c467 GST_BUFFER_OFFSET (buf) = GST_BUFFER_OFFSET_NONE; in gst_vp8_enc_pre_push()
472 GST_BUFFER_OFFSET (buf) = in gst_vp8_enc_pre_push()
499 GST_BUFFER_OFFSET (buf) = GST_BUFFER_OFFSET_NONE; in gst_vp8_enc_pre_push()
504 GST_BUFFER_OFFSET (buf) = in gst_vp8_enc_pre_push()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgsttypefindhelper.c118 buf_offset = GST_BUFFER_OFFSET (buf); in helper_find_peek()
167 buf_offset = GST_BUFFER_OFFSET (buffer); in helper_find_peek()
197 helper->last_offset = GST_BUFFER_OFFSET (buffer) + buf_size; in helper_find_peek()
836 g_return_val_if_fail (GST_BUFFER_OFFSET (buf) == 0 || in gst_type_find_helper_for_buffer_with_extension()
837 GST_BUFFER_OFFSET (buf) == GST_BUFFER_OFFSET_NONE, NULL); in gst_type_find_helper_for_buffer_with_extension()
/third_party/gstreamer/gstplugins_bad/gst/rtmp2/rtmp/
Drtmpchunkstream.c335 GST_BUFFER_OFFSET (ret) = GST_BUFFER_OFFSET_IS_VALID (cstream->buffer) ? in serialize_next()
336 GST_BUFFER_OFFSET (cstream->buffer) + cstream->offset : cstream->bytes; in serialize_next()
337 GST_BUFFER_OFFSET_END (ret) = GST_BUFFER_OFFSET (ret); in serialize_next()
445 GST_BUFFER_OFFSET (buffer) = cstream->bytes; in gst_rtmp_chunk_stream_parse_header()
621 GST_BUFFER_OFFSET (empty) = GST_BUFFER_OFFSET_END (buffer); in gst_rtmp_chunk_stream_parse_finish()
/third_party/gstreamer/gstplugins_base/tests/check/pipelines/
Dvorbisenc.c66 fail_unless (clocktime == GST_BUFFER_OFFSET (buffer), in check_buffer_granulepos()
69 GST_TIME_ARGS (clocktime), GST_TIME_ARGS (GST_BUFFER_OFFSET (buffer))); in check_buffer_granulepos()
275 if (GST_BUFFER_OFFSET (buffer) == 4096) in drop_second_data_buffer()
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2src.c1091 GST_BUFFER_OFFSET (*buf) != v4l2src->offset) { in gst_v4l2src_create()
1107 || GST_BUFFER_OFFSET (*buf) <= in gst_v4l2src_create()
1109 GST_BUFFER_OFFSET (*buf) = v4l2src->offset; in gst_v4l2src_create()
1116 GST_BUFFER_OFFSET (*buf) += v4l2src->renegotiation_adjust; in gst_v4l2src_create()
1121 && (GST_BUFFER_OFFSET (*buf) != (v4l2src->offset + 1))) { in gst_v4l2src_create()
1122 guint64 lost_frame_count = GST_BUFFER_OFFSET (*buf) - v4l2src->offset - 1; in gst_v4l2src_create()
1134 v4l2src->offset = GST_BUFFER_OFFSET (*buf); in gst_v4l2src_create()

12345678