Home
last modified time | relevance | path

Searched refs:GST_BUFFER_DURATION (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dcccombiner.c49 GST_BUFFER_DURATION (buf) = 40 * GST_MSECOND; in GST_START_TEST()
89 GST_BUFFER_DURATION (buf) = 40 * GST_MSECOND; in GST_START_TEST()
94 GST_BUFFER_DURATION (buf) = 40 * GST_MSECOND; in GST_START_TEST()
101 GST_BUFFER_DURATION (buf) = 40 * GST_MSECOND; in GST_START_TEST()
106 GST_BUFFER_DURATION (buf) = 40 * GST_MSECOND; in GST_START_TEST()
170 GST_BUFFER_DURATION (buf) = 40 * GST_MSECOND; in GST_START_TEST()
175 GST_BUFFER_DURATION (buf) = 40 * GST_MSECOND; in GST_START_TEST()
185 GST_BUFFER_DURATION (buf) = 40 * GST_MSECOND; in GST_START_TEST()
190 GST_BUFFER_DURATION (buf) = 40 * GST_MSECOND; in GST_START_TEST()
Dnvenc.c111 GST_BUFFER_DURATION (buffer) = gst_util_uint64_scale (1, GST_SECOND, 25); in GST_START_TEST()
129 fail_unless_equals_uint64 (GST_BUFFER_DURATION (buffer), in GST_START_TEST()
180 GST_BUFFER_DURATION (buffer) = gst_util_uint64_scale (1, GST_SECOND, 25); in GST_START_TEST()
199 fail_unless_equals_uint64 (GST_BUFFER_DURATION (buffer), in GST_START_TEST()
Dx265enc.c119 GST_BUFFER_DURATION (buffer) = gst_util_uint64_scale (1, GST_SECOND, 25); in GST_START_TEST()
137 fail_unless_equals_uint64 (GST_BUFFER_DURATION (buffer), in GST_START_TEST()
Dmsdkh264enc.c119 GST_BUFFER_DURATION (buffer) = gst_util_uint64_scale (1, GST_SECOND, 25); in GST_START_TEST()
136 fail_unless_equals_uint64 (GST_BUFFER_DURATION (buffer), in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Daudio.c70 GST_BUFFER_DURATION (buf) = 0; in GST_START_TEST()
95 GST_BUFFER_DURATION (buf) = 10 * GST_SECOND; in GST_START_TEST()
103 fail_unless_equals_int64 (GST_BUFFER_DURATION (ret), 4 * GST_SECOND); in GST_START_TEST()
137 GST_BUFFER_DURATION (buf) = 10 * GST_SECOND; in GST_START_TEST()
145 fail_unless_equals_int64 (GST_BUFFER_DURATION (ret), 4 * GST_SECOND); in GST_START_TEST()
173 GST_BUFFER_DURATION (buf) = 10 * GST_SECOND; in GST_START_TEST()
181 fail_unless_equals_int64 (GST_BUFFER_DURATION (ret), 8 * GST_SECOND); in GST_START_TEST()
216 GST_BUFFER_DURATION (buf) = 5 * GST_SECOND; in GST_START_TEST()
224 fail_unless_equals_int64 (GST_BUFFER_DURATION (ret), 3 * GST_SECOND); in GST_START_TEST()
259 GST_BUFFER_DURATION (buf) = 10 * GST_SECOND; in GST_START_TEST()
[all …]
Daudioencoder.c100 GST_BUFFER_DURATION (output_buffer) = GST_BUFFER_DURATION (buffer); in gst_audio_encoder_tester_handle_frame()
184 GST_BUFFER_DURATION (buffer) = GST_SECOND; in create_test_buffer()
220 fail_unless (GST_BUFFER_DURATION (buffer) == GST_SECOND); in GST_START_TEST()
Daudiodecoder.c268 GST_BUFFER_DURATION (buffer) = in create_test_buffer()
299 fail_unless_equals_uint64 (GST_BUFFER_DURATION (buffer), in GST_START_TEST()
630 pos = GST_BUFFER_TIMESTAMP (buffer) + GST_BUFFER_DURATION (buffer); in GST_START_TEST()
643 fail_unless_equals_uint64 (GST_BUFFER_DURATION (buffer), in GST_START_TEST()
689 fail_unless_equals_uint64 (GST_BUFFER_DURATION (buffer), in GST_START_TEST()
1067 fail_unless_equals_int (dur, GST_BUFFER_DURATION (buf)); in GST_START_TEST()
1075 fail_unless_equals_int (dur, GST_BUFFER_DURATION (buf)); in GST_START_TEST()
1085 fail_unless_equals_int (dur, GST_BUFFER_DURATION (buf)); in GST_START_TEST()
1110 fail_unless_equals_int (dur, GST_BUFFER_DURATION (buf)); in GST_START_TEST()
1125 fail_unless_equals_int (dur, GST_BUFFER_DURATION (buf)); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/pipelines/
Dvorbisenc.c45 fail_unless (GST_BUFFER_DURATION (buffer) == duration, in check_buffer_duration()
48 GST_TIME_ARGS (duration), GST_TIME_ARGS (GST_BUFFER_DURATION (buffer))); in check_buffer_duration()
157 TIMESTAMP_OFFSET + GST_BUFFER_DURATION (buffer)); in GST_START_TEST()
159 next_timestamp = TIMESTAMP_OFFSET + GST_BUFFER_DURATION (buffer); in GST_START_TEST()
171 next_timestamp + GST_BUFFER_DURATION (buffer)); in GST_START_TEST()
241 check_buffer_granulepos_from_endtime (buffer, GST_BUFFER_DURATION (buffer)); in GST_START_TEST()
243 next_timestamp = GST_BUFFER_DURATION (buffer); in GST_START_TEST()
255 next_timestamp + GST_BUFFER_DURATION (buffer)); in GST_START_TEST()
365 next_timestamp += GST_BUFFER_DURATION (buffer); in GST_START_TEST()
Dtheoraenc.c53 fail_unless (GST_BUFFER_DURATION (buffer) == duration, \
56 GST_TIME_ARGS (duration), GST_TIME_ARGS (GST_BUFFER_DURATION (buffer)))
200 next_timestamp = TIMESTAMP_OFFSET + GST_BUFFER_DURATION (buffer); in GST_START_TEST()
292 next_timestamp = GST_BUFFER_DURATION (buffer); in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Daudiorate.c78 GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf) + GST_BUFFER_DURATION (buf)), in test_injector_chain()
106 delta = GST_BUFFER_DURATION (buf); in test_injector_chain()
110 GST_BUFFER_DURATION (ibuf) = GST_CLOCK_TIME_NONE; in test_injector_chain()
119 GST_BUFFER_DURATION (ibuf)), GST_BUFFER_OFFSET (ibuf), in test_injector_chain()
162 GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf) + GST_BUFFER_DURATION (buf)), in probe_cb()
268 GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf) + GST_BUFFER_DURATION (buf)), in do_perfect_stream_test()
286 next_time = GST_BUFFER_TIMESTAMP (buf) + GST_BUFFER_DURATION (buf); in do_perfect_stream_test()
476 GST_BUFFER_DURATION (buf) = GST_SECOND / 100; in generate_buffers()
477 pts += GST_BUFFER_DURATION (buf); in generate_buffers()
485 GST_BUFFER_DURATION (buf) = GST_SECOND / 100; in generate_buffers()
[all …]
Dtextoverlay.c361 GST_BUFFER_DURATION (buffer) = duration; in create_text_buffer()
452 GST_BUFFER_DURATION (inbuffer) = GST_CLOCK_TIME_NONE; in GST_START_TEST()
487 GST_BUFFER_DURATION (inbuffer) = GST_CLOCK_TIME_NONE; in GST_START_TEST()
505 GST_BUFFER_DURATION (inbuffer) = GST_SECOND / 10; in GST_START_TEST()
524 GST_BUFFER_DURATION (inbuffer) = GST_SECOND; in GST_START_TEST()
540 fail_unless (GST_BUFFER_DURATION (outbuffer) == (GST_SECOND / 4)); in GST_START_TEST()
581 GST_BUFFER_DURATION (inbuffer) = GST_SECOND / 10; in GST_START_TEST()
606 fail_unless (GST_BUFFER_DURATION (outbuffer) == (GST_SECOND / 10)); in GST_START_TEST()
647 GST_BUFFER_DURATION (inbuffer) = GST_SECOND / 10; in GST_START_TEST()
672 fail_unless (GST_BUFFER_DURATION (outbuffer) == (GST_SECOND / 10)); in GST_START_TEST()
[all …]
Dopus.c196 GST_BUFFER_DURATION (inbuffer) = GST_CLOCK_TIME_NONE; in GST_START_TEST()
284 GST_BUFFER_DURATION (inbuffer) = GST_CLOCK_TIME_NONE; in GST_START_TEST()
452 GST_BUFFER_DURATION (buf) * 2))); in GST_START_TEST()
458 fail_unless_equals_int64 (dur0, GST_BUFFER_DURATION (buf)); in GST_START_TEST()
472 fail_unless_equals_int64 (dur * 2, GST_BUFFER_DURATION (buf)); in GST_START_TEST()
482 fail_unless_equals_int64 (dur, GST_BUFFER_DURATION (buf)); in GST_START_TEST()
Daudioresample.c141 GST_BUFFER_DURATION (buffer), in fail_unless_perfect_stream()
146 duration = GST_BUFFER_DURATION (buffer); in fail_unless_perfect_stream()
182 GST_BUFFER_DURATION (inbuffer) = GST_FRAMES_TO_CLOCK_TIME (samples, inrate); in test_perfect_stream_instance()
183 GST_BUFFER_TIMESTAMP (inbuffer) = GST_BUFFER_DURATION (inbuffer) * (j - 1); in test_perfect_stream_instance()
271 GST_BUFFER_DURATION (inbuffer) = samples * GST_SECOND / inrate; in test_discont_stream_instance()
273 ints = GST_BUFFER_DURATION (inbuffer) * 2 * (j - 1); in test_discont_stream_instance()
292 GST_BUFFER_DURATION (inbuffer), GST_BUFFER_IS_DISCONT (inbuffer), in test_discont_stream_instance()
304 GST_BUFFER_DURATION (outbuffer), GST_BUFFER_IS_DISCONT (outbuffer), in test_discont_stream_instance()
360 GST_BUFFER_DURATION (inbuffer) = GST_SECOND; in GST_START_TEST()
383 GST_BUFFER_DURATION (inbuffer) = GST_SECOND; in GST_START_TEST()
[all …]
/third_party/gstreamer/gstreamer/tests/check/elements/
Dfakesink.c133 GST_BUFFER_DURATION (buffer) = 1 * GST_MSECOND; in GST_START_TEST()
150 GST_BUFFER_DURATION (buffer) = 1 * GST_MSECOND; in GST_START_TEST()
169 GST_BUFFER_DURATION (buffer) = 1 * GST_MSECOND; in GST_START_TEST()
198 GST_BUFFER_DURATION (buffer) = 1 * GST_MSECOND; in GST_START_TEST()
207 GST_BUFFER_DURATION (buffer) = 2 * GST_SECOND; in GST_START_TEST()
216 GST_BUFFER_DURATION (buffer) = 2 * GST_SECOND; in GST_START_TEST()
296 GST_BUFFER_DURATION (buffer) = 1 * GST_SECOND; in GST_START_TEST()
326 GST_BUFFER_DURATION (buffer) = 100 * GST_SECOND; in GST_START_TEST()
458 GST_BUFFER_DURATION (buffer) = 1 * GST_SECOND; in GST_START_TEST()
509 GST_BUFFER_DURATION (buffer) = 1 * GST_SECOND; in GST_START_TEST()
[all …]
Dqueue.c553 GST_BUFFER_DURATION (buffer) = 1 * GST_SECOND; in GST_START_TEST()
564 GST_BUFFER_DURATION (buffer) = 1 * GST_SECOND; in GST_START_TEST()
575 GST_BUFFER_DURATION (buffer) = 1 * GST_SECOND; in GST_START_TEST()
1049 GST_BUFFER_DURATION (buffer) = 500 * GST_MSECOND; in GST_START_TEST()
1054 GST_BUFFER_DURATION (buffer) = 500 * GST_MSECOND; in GST_START_TEST()
1069 GST_BUFFER_DURATION (buffer) = 1000 * GST_MSECOND; in GST_START_TEST()
1084 GST_BUFFER_DURATION (buffer) = 250 * GST_MSECOND; in GST_START_TEST()
1088 GST_BUFFER_DURATION (buffer) = 250 * GST_MSECOND; in GST_START_TEST()
1092 GST_BUFFER_DURATION (buffer) = 250 * GST_MSECOND; in GST_START_TEST()
1096 GST_BUFFER_DURATION (buffer) = 250 * GST_MSECOND; in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio.c115 duration = GST_BUFFER_DURATION (buffer); in gst_audio_buffer_clip()
221 if (GST_BUFFER_DURATION (ret) != duration) { in gst_audio_buffer_clip()
223 GST_BUFFER_DURATION (ret) = duration; in gst_audio_buffer_clip()
235 GST_BUFFER_DURATION (ret) = duration; in gst_audio_buffer_clip()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dvp8dec.c168 GST_BUFFER_DURATION (buffer) = gst_util_uint64_scale (1, GST_SECOND, 25); in GST_START_TEST()
184 fail_unless_equals_uint64 (GST_BUFFER_DURATION (buffer), in GST_START_TEST()
213 GST_BUFFER_DURATION (buffer) = gst_util_uint64_scale (1, GST_SECOND, 25); in GST_START_TEST()
237 GST_BUFFER_DURATION (buffer) = gst_util_uint64_scale (1, GST_SECOND, 30); in GST_START_TEST()
Dimagefreeze.c112 fail_unless_equals_uint64 (GST_BUFFER_DURATION (buffer), GST_CLOCK_TIME_NONE); in sink_handoff_cb_0_1()
181 fail_unless_equals_uint64 (GST_BUFFER_DURATION (buffer), 40 * GST_MSECOND); in sink_handoff_cb_25_1_0ms_400ms()
260 fail_unless_equals_uint64 (GST_BUFFER_DURATION (buffer), 40 * GST_MSECOND); in sink_handoff_cb_25_1_200ms_400ms()
340 fail_unless_equals_uint64 (GST_BUFFER_DURATION (buffer), 40 * GST_MSECOND); in sink_handoff_cb_25_1_400ms_0ms()
421 fail_unless_equals_uint64 (GST_BUFFER_DURATION (buffer), 20 * GST_MSECOND); in sink_handoff_cb_25_1_220ms_380ms()
425 fail_unless_equals_uint64 (GST_BUFFER_DURATION (buffer), 20 * GST_MSECOND); in sink_handoff_cb_25_1_220ms_380ms()
429 fail_unless_equals_uint64 (GST_BUFFER_DURATION (buffer), 40 * GST_MSECOND); in sink_handoff_cb_25_1_220ms_380ms()
Dvp8enc.c117 GST_BUFFER_DURATION (buffer) = gst_util_uint64_scale (1, GST_SECOND, 25); in GST_START_TEST()
144 fail_unless_equals_uint64 (GST_BUFFER_DURATION (buffer), in GST_START_TEST()
/third_party/gstreamer/gstplugins_good/gst/deinterlace/
Dgstdeinterlace.c451 GST_TIME_ARGS (GST_BUFFER_DURATION (buffer))); in gst_deinterlace_clip_buffer()
461 stop = start + GST_BUFFER_DURATION (buffer); in gst_deinterlace_clip_buffer()
469 GST_BUFFER_DURATION (buffer) = cstop - cstart; in gst_deinterlace_clip_buffer()
476 GST_TIME_ARGS (GST_BUFFER_DURATION (buffer))); in gst_deinterlace_clip_buffer()
795 GST_TIME_ARGS (GST_BUFFER_DURATION (frame->buffer)), in gst_deinterlace_pop_history()
1144 GST_TIME_ARGS (GST_BUFFER_DURATION (buffer)), in gst_deinterlace_push_history()
1154 self->buf_states[0].duration = GST_BUFFER_DURATION (buffer); in gst_deinterlace_push_history()
1359 timestamp, GST_BUFFER_DURATION (buffer)); in gst_deinterlace_do_qos()
1388 GST_BUFFER_DURATION (field1->buffer) = self->pattern_buf_dur; in gst_deinterlace_fix_timestamps()
1397 GST_BUFFER_DURATION (field1->buffer) == in gst_deinterlace_fix_timestamps()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/subenc/
Dgstwebvttenc.c99 GST_BUFFER_DURATION (new_buffer) = GST_CLOCK_TIME_NONE; in gst_webvtt_enc_chain()
113 dur = GST_BUFFER_DURATION (buf) + webvttenc->duration; in gst_webvtt_enc_chain()
140 GST_BUFFER_DURATION (new_buffer) = GST_BUFFER_DURATION (buf); in gst_webvtt_enc_chain()
Dgstsrtenc.c94 dur = GST_BUFFER_DURATION (buf) + srtenc->duration; in gst_srt_enc_chain()
124 GST_BUFFER_DURATION (new_buffer) = GST_BUFFER_DURATION (buf); in gst_srt_enc_chain()
/third_party/gstreamer/gstplugins_bad/ext/mpeg2enc/
Dgstmpeg2encstreamwriter.cc69 GST_BUFFER_DURATION (buf) = GST_BUFFER_DURATION (inbuf); in WriteOutBufferUpto()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpgsmpay.c139 duration = GST_BUFFER_DURATION (buffer); in gst_rtp_gsm_pay_handle_buffer()
152 GST_BUFFER_DURATION (outbuf) = duration; in gst_rtp_gsm_pay_handle_buffer()
/third_party/gstreamer/gstplugins_base/gst/audioresample/
Dgstaudioresample.c579 GST_BUFFER_DURATION (outbuf) = resample->t0 + in gst_audio_resample_push_drain()
584 GST_BUFFER_DURATION (outbuf) = GST_CLOCK_TIME_NONE; in gst_audio_resample_push_drain()
603 GST_TIME_ARGS (GST_BUFFER_DURATION (outbuf)), GST_BUFFER_OFFSET (outbuf), in gst_audio_resample_push_drain()
800 GST_BUFFER_DURATION (outbuf) = resample->t0 + in gst_audio_resample_process()
805 GST_BUFFER_DURATION (outbuf) = GST_CLOCK_TIME_NONE; in gst_audio_resample_process()
830 GST_TIME_ARGS (GST_BUFFER_DURATION (outbuf)), in gst_audio_resample_process()
850 GST_TIME_ARGS (GST_BUFFER_DURATION (inbuf)), in gst_audio_resample_transform()
902 GST_BUFFER_DURATION (inbuf), GST_BUFFER_OFFSET (outbuf), in gst_audio_resample_transform()
904 GST_BUFFER_TIMESTAMP (outbuf) + GST_BUFFER_DURATION (outbuf)); in gst_audio_resample_transform()

12345678910>>...13