Home
last modified time | relevance | path

Searched refs:n_buffers (Results 1 – 9 of 9) sorted by relevance

/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dimagefreeze.c108 guint *n_buffers = (guint *) user_data; in sink_handoff_cb_0_1() local
110 if (*n_buffers == G_MAXUINT) in sink_handoff_cb_0_1()
118 *n_buffers = *n_buffers + 1; in sink_handoff_cb_0_1()
127 guint n_buffers = G_MAXUINT; in GST_START_TEST() local
143 &n_buffers); in GST_START_TEST()
153 n_buffers = 0; in GST_START_TEST()
159 fail_unless_equals_int (n_buffers, 1); in GST_START_TEST()
176 guint *n_buffers = (guint *) user_data; in sink_handoff_cb_25_1_0ms_400ms() local
178 if (*n_buffers == G_MAXUINT) in sink_handoff_cb_25_1_0ms_400ms()
182 *n_buffers * 40 * GST_MSECOND); in sink_handoff_cb_25_1_0ms_400ms()
[all …]
/third_party/gstreamer/gstreamer/gst/
Dgstbufferlist.c61 guint n_buffers; member
88 len = list->n_buffers; in _gst_buffer_list_copy()
98 copy->n_buffers = len; in _gst_buffer_list_copy()
112 len = list->n_buffers; in _gst_buffer_list_free()
139 list->n_buffers = 0; in gst_buffer_list_init()
204 return list->n_buffers; in gst_buffer_list_length()
221 if (idx + length != list->n_buffers) { in gst_buffer_list_remove_range_internal()
223 (list->n_buffers - (idx + length)) * sizeof (void *)); in gst_buffer_list_remove_range_internal()
226 list->n_buffers -= length; in gst_buffer_list_remove_range_internal()
257 len = list->n_buffers; in gst_buffer_list_foreach()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/jni/
Dgstamc-codec-jni.c348 gsize n_buffers) in gst_amc_jni_free_buffer_array() argument
354 for (i = 0; i < n_buffers; i++) { in gst_amc_jni_free_buffer_array()
363 RealBuffer ** buffers_, gsize * n_buffers) in gst_amc_jni_get_buffer_array() argument
368 *n_buffers = (*env)->GetArrayLength (env, array); in gst_amc_jni_get_buffer_array()
369 *buffers = g_new0 (RealBuffer, *n_buffers); in gst_amc_jni_get_buffer_array()
371 for (i = 0; i < *n_buffers; i++) { in gst_amc_jni_get_buffer_array()
409 gst_amc_jni_free_buffer_array (env, *buffers, *n_buffers); in gst_amc_jni_get_buffer_array()
411 *n_buffers = 0; in gst_amc_jni_get_buffer_array()
635 gst_amc_codec_get_input_buffers (GstAmcCodec * codec, gsize * n_buffers, in gst_amc_codec_get_input_buffers() argument
643 g_return_val_if_fail (n_buffers != NULL, NULL); in gst_amc_codec_get_input_buffers()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dwasapi.c32 guint n_buffers; member
71 data->n_buffers++; in handle_handoff()
74 if (data->n_buffers > 10) { in handle_handoff()
76 data->n_buffers = 0; in handle_handoff()
Dwasapi2.c33 guint n_buffers; member
72 data->n_buffers++; in handle_handoff()
75 if (data->n_buffers > 10) { in handle_handoff()
77 data->n_buffers = 0; in handle_handoff()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cMultiBindTests.cpp1648 static const GLsizei n_buffers = 4; in iterate() local
1656 GLsizei count = n_buffers; in iterate()
1663 size_t validated_index = n_buffers - 1; in iterate()
1683 if (n_buffers > max_buffers) in iterate()
1690 Buffer buffer[n_buffers]; in iterate()
1691 GLuint buffer_ids[n_buffers]; in iterate()
1692 GLintptr offsets[n_buffers]; in iterate()
1693 GLintptr sizes[n_buffers]; in iterate()
1696 for (size_t j = 0; j < n_buffers; ++j) in iterate()
1707 GLsizei t_count = n_buffers; in iterate()
[all …]
Dgl4cMapBufferAlignmentTests.cpp200 static const size_t n_buffers = sizeof(buffers) / sizeof(buffers[0]); in iterate() local
229 for (size_t buffer_idx = 0; buffer_idx < n_buffers; ++buffer_idx) in iterate()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dvideoscale.c203 guint *n_buffers = user_data; in on_sink_handoff() local
205 *n_buffers = *n_buffers + 1; in on_sink_handoff()
227 guint n_buffers = 0; in run_test() local
274 g_signal_connect (sink, "handoff", G_CALLBACK (on_sink_handoff), &n_buffers); in run_test()
310 fail_unless (n_buffers == 1); in run_test()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/app/
Dgstappsrc.c1374 guint n_buffers = 0; in gst_app_src_update_queued_pop() local
1380 n_buffers = 1; in gst_app_src_update_queued_pop()
1392 n_buffers = gst_buffer_list_length (buffer_list); in gst_app_src_update_queued_pop()
1394 for (i = 0; i < n_buffers; i++) { in gst_app_src_update_queued_pop()
1409 priv->queued_buffers -= n_buffers; in gst_app_src_update_queued_pop()
1471 guint n_buffers = 0; in gst_app_src_update_queued_push() local
1477 n_buffers = 1; in gst_app_src_update_queued_push()
1487 n_buffers = gst_buffer_list_length (buffer_list); in gst_app_src_update_queued_push()
1489 for (i = 0; i < n_buffers; i++) { in gst_app_src_update_queued_push()
1506 priv->queued_buffers += n_buffers; in gst_app_src_update_queued_push()