Home
last modified time | relevance | path

Searched refs:gst_buffer_n_memory (Results 1 – 25 of 58) sorted by relevance

123

/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dudpsrc.c192 fail_unless_equals_int (gst_buffer_n_memory (buf), 2); in GST_START_TEST()
199 fail_unless_equals_int (gst_buffer_n_memory (buf), 2); in GST_START_TEST()
206 fail_unless_equals_int (gst_buffer_n_memory (buf), 1); in GST_START_TEST()
213 fail_unless_equals_int (gst_buffer_n_memory (buf), 2); in GST_START_TEST()
220 fail_unless_equals_int (gst_buffer_n_memory (buf), 1); in GST_START_TEST()
Drtp-payloading.c79 GST_LOG ("n_memory %d", gst_buffer_n_memory (paybuf)); in rtp_pipeline_chain_list()
80 fail_unless (gst_buffer_n_memory (paybuf) > 1); in rtp_pipeline_chain_list()
81 mem = gst_buffer_get_memory_range (paybuf, gst_buffer_n_memory (paybuf) - 1, in rtp_pipeline_chain_list()
Drtph264.c326 GST_LOG ("buffer has %u memories", gst_buffer_n_memory (buf)); in GST_START_TEST()
329 fail_unless (gst_buffer_n_memory (buf) > 0); in GST_START_TEST()
1426 GST_DEBUG ("number of memories: %d", gst_buffer_n_memory (buffer)); in test_rtph264pay_avc_two_slices()
Drtph265.c282 GST_LOG ("buffer has %u memories", gst_buffer_n_memory (buf)); in GST_START_TEST()
285 fail_unless (gst_buffer_n_memory (buf) > 0); in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11pluginutils.cpp609 for (i = 0; i < gst_buffer_n_memory (buffer); i++) { in gst_d3d11_allocate_staging_buffer_for()
635 for (i = 0; i < gst_buffer_n_memory (buffer); i++) { in gst_d3d11_allocate_staging_buffer_for()
732 if (gst_buffer_n_memory (dst) != gst_buffer_n_memory (src)) { in gst_d3d11_buffer_copy_into()
742 for (i = 0; i < gst_buffer_n_memory (dst); i++) { in gst_d3d11_buffer_copy_into()
824 size = gst_buffer_n_memory (buffer); in gst_is_d3d11_buffer()
851 for (i = 0; i < gst_buffer_n_memory (buffer); i++) { in gst_d3d11_buffer_can_access_device()
880 for (num_mapped = 0; num_mapped < gst_buffer_n_memory (buffer); num_mapped++) { in gst_d3d11_buffer_map()
912 for (i = 0; i < gst_buffer_n_memory (buffer); i++) { in gst_d3d11_buffer_unmap()
936 for (i = 0; i < gst_buffer_n_memory (buffer); i++) { in gst_d3d11_buffer_get_shader_resource_view()
975 for (i = 0; i < gst_buffer_n_memory (buffer); i++) { in gst_d3d11_buffer_get_render_target_view()
Dgstd3d11convert.cpp1938 if (gst_buffer_n_memory (inbuf) != 1 || gst_buffer_n_memory (outbuf) != 1) { in gst_d3d11_base_convert_prefer_video_processor()
1940 gst_buffer_n_memory (inbuf), gst_buffer_n_memory (outbuf)); in gst_d3d11_base_convert_prefer_video_processor()
2090 for (i = 0; i < gst_buffer_n_memory (inbuf); i++) { in gst_d3d11_base_convert_transform()
2151 for (i = 0; i < gst_buffer_n_memory (outbuf); i++) { in gst_d3d11_base_convert_transform()
Dgstd3d11compositor.cpp968 for (i = 0; i < gst_buffer_n_memory (new_buf); i++) { in gst_d3d11_compsitor_prepare_fallback_buffer()
1041 for (i = 0; i < gst_buffer_n_memory (buffer); i++) { in gst_d3d11_compositor_check_d3d11_memory()
2311 for (i = 0; i < gst_buffer_n_memory (target_buf); i++) { in gst_d3d11_compositor_aggregate_frames()
2371 for (i = 0; i < gst_buffer_n_memory (buffer); i++) { in gst_d3d11_compositor_aggregate_frames()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstbuffer.c656 fail_unless (gst_buffer_n_memory (buf) == 2); in GST_START_TEST()
663 fail_unless (gst_buffer_n_memory (buf) == 2); in GST_START_TEST()
666 fail_unless (gst_buffer_n_memory (buf) == 2); in GST_START_TEST()
675 fail_unless (gst_buffer_n_memory (buf) == 1); in GST_START_TEST()
716 fail_unless (gst_buffer_n_memory (buf) == 3); in GST_START_TEST()
722 fail_unless (gst_buffer_n_memory (buf) == 3); in GST_START_TEST()
726 fail_unless (gst_buffer_n_memory (buf) == 3); in GST_START_TEST()
733 fail_unless (gst_buffer_n_memory (buf) == 2); in GST_START_TEST()
737 fail_unless (gst_buffer_n_memory (buf) == 2); in GST_START_TEST()
741 fail_unless (gst_buffer_n_memory (buf) == 1); in GST_START_TEST()
[all …]
Dgstbufferlist.c128 fail_unless_equals_int (gst_buffer_n_memory (buf), 2); in GST_START_TEST()
147 fail_unless_equals_int (gst_buffer_n_memory (buf), 2); in GST_START_TEST()
157 fail_unless_equals_int (gst_buffer_n_memory (buf), 2); in GST_START_TEST()
194 fail_unless_equals_int (gst_buffer_n_memory (buf2), 2); in GST_START_TEST()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstbuffermemory.c30 if (gst_buffer_n_memory (buffer) == 0) { in gst_buffer_memory_map()
68 if (map->index >= gst_buffer_n_memory (map->buf)) { in buffer_memory_map_next()
Drtpulpfeccommon.c341 if (gst_buffer_n_memory (buffer) > 1) { in rtp_ulpfec_map_info_map()
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstelements_private.c368 num_mem = num_vecs = gst_buffer_n_memory (buffer); in gst_writev_buffer()
523 num_mem = gst_buffer_n_memory (buf); in gst_writev_buffer_list()
611 num_mem = gst_buffer_n_memory (buf); in gst_writev_buffer_list()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dvapostproc.c88 if (gst_buffer_n_memory (buf_copy) == 1) in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/ext/wayland/
Dgstwaylandsink.c768 for (i = 0; i < gst_buffer_n_memory (buffer); i++) in gst_wayland_sink_show_frame()
772 if (nb_dmabuf && (nb_dmabuf == gst_buffer_n_memory (buffer))) in gst_wayland_sink_show_frame()
778 if (gst_buffer_n_memory (buffer) == 1 && gst_is_fd_memory (mem)) in gst_wayland_sink_show_frame()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstcudabasetransform.c310 if (gst_buffer_n_memory (inbuf) == 1 && in gst_cuda_base_transform_transform()
325 if (gst_buffer_n_memory (outbuf) == 1 && in gst_cuda_base_transform_transform()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglupload.c307 if (gst_buffer_n_memory (buffer) != expected_memories) in _gl_memory_upload_accept()
431 n = gst_buffer_n_memory (buffer); in _gl_memory_upload_perform()
630 n_mem = gst_buffer_n_memory (buffer); in _dma_buf_upload_accept()
1561 n_mem = gst_buffer_n_memory (buffer); in _directviv_upload_accept()
1644 g_assert (gst_buffer_n_memory (directviv->inbuf) == 1); in _directviv_upload_perform_gl_thread()
1858 n_mem = gst_buffer_n_memory (buffer); in _nvmm_upload_accept()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/
Dgstrtspconnection.c1982 guint j, n = gst_buffer_n_memory (serialized_messages[i].body_buffer); in gst_rtsp_connection_send_messages_usec()
2013 n_vectors += gst_buffer_n_memory (serialized_messages[i].body_buffer); in gst_rtsp_connection_send_messages_usec()
2014 n_memories += gst_buffer_n_memory (serialized_messages[i].body_buffer); in gst_rtsp_connection_send_messages_usec()
2037 n = gst_buffer_n_memory (serialized_messages[i].body_buffer); in gst_rtsp_connection_send_messages_usec()
2069 n = gst_buffer_n_memory (serialized_messages[i].body_buffer); in gst_rtsp_connection_send_messages_usec()
4052 n = gst_buffer_n_memory (msg->body_buffer); in gst_rtsp_source_dispatch_write()
4097 n = gst_buffer_n_memory (msg->body_buffer); in gst_rtsp_source_dispatch_write()
4530 n_vectors += gst_buffer_n_memory (messages[i].body_buffer); in gst_rtsp_watch_write_serialized_messages()
4531 n_memories += gst_buffer_n_memory (messages[i].body_buffer); in gst_rtsp_watch_write_serialized_messages()
4553 n = gst_buffer_n_memory (messages[i].body_buffer); in gst_rtsp_watch_write_serialized_messages()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Drtpbasedepayload.c134 GST_BUFFER_OFFSET (buf), gst_buffer_n_memory (buf)); in gst_rtp_dummy_depay_process()
136 for (i = 0; i < gst_buffer_n_memory (buf); i++) { in gst_rtp_dummy_depay_process()
156 GST_BUFFER_OFFSET (outbuf), rtptime, gst_buffer_n_memory (buf)); in gst_rtp_dummy_depay_process()
158 for (i = 0; i < gst_buffer_n_memory (buf); i++) { in gst_rtp_dummy_depay_process()
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstgldownloadelement.c1158 for (i = 0; i < gst_buffer_n_memory (inbuf); i++) { in _try_export_dmabuf()
1206 for (i = 0; i < gst_buffer_n_memory (inbuf); i++) { in _try_export_dmabuf()
1326 n = gst_buffer_n_memory (*outbuf); in gst_gl_download_element_prepare_output_buffer()
/third_party/gstreamer/gstreamer/tests/check/libs/
Dadapter.c1411 fail_unless (gst_buffer_n_memory (buffer) == 3); in GST_START_TEST()
1431 fail_unless (gst_buffer_n_memory (buffer) == 2); in GST_START_TEST()
1438 fail_unless (gst_buffer_n_memory (buffer) == 1); in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/gst/audiolatency/
Dgstaudiolatency.c326 switch (gst_buffer_n_memory (buffer)) { in buffer_has_wave()
/third_party/gstreamer/gstplugins_bad/sys/shm/
Dgstshmsink.c706 if (gst_buffer_n_memory (buf) > 1) { in gst_shm_sink_render()
708 " one, need to do a memcpy", buf, gst_buffer_n_memory (buf)); in gst_shm_sink_render()
/third_party/gstreamer/gstplugins_good/ext/qt/
Dgstqtoverlay.cc412 if (gst_buffer_n_memory (buffer) <= 0) { in gst_qt_overlay_prepare_output_buffer()
/third_party/gstreamer/gstplugins_good/gst/udp/
Dgstmultiudpsink.c576 g_assert (gst_buffer_n_memory (buf) == n); in fill_vectors()
900 mem_nums[i] = gst_buffer_n_memory (buffers[i]); in gst_multiudpsink_render_list()
925 n_mem = gst_buffer_n_memory (buffer); in gst_multiudpsink_render()
/third_party/gstreamer/gstreamer/gst/
Dgstbuffer.h327 guint gst_buffer_n_memory (GstBuffer *buffer);

123