Home
last modified time | relevance | path

Searched refs:buffer_list (Results 1 – 25 of 40) sorted by relevance

12

/third_party/gstreamer/gstreamer/gst/
Dgstsample.c47 GstBufferList *buffer_list; member
70 if (sample->buffer_list) { in _gst_sample_copy()
71 copy->buffer_list = gst_buffer_list_ref (sample->buffer_list); in _gst_sample_copy()
72 gst_mini_object_add_parent (GST_MINI_OBJECT_CAST (copy->buffer_list), in _gst_sample_copy()
100 if (sample->buffer_list) { in _gst_sample_free()
101 gst_mini_object_remove_parent (GST_MINI_OBJECT_CAST (sample->buffer_list), in _gst_sample_free()
103 gst_buffer_list_unref (sample->buffer_list); in _gst_sample_free()
266 return sample->buffer_list; in gst_sample_get_buffer_list()
279 gst_sample_set_buffer_list (GstSample * sample, GstBufferList * buffer_list) in gst_sample_set_buffer_list() argument
285 old = sample->buffer_list; in gst_sample_set_buffer_list()
[all …]
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstfilesink.c425 if (sink->buffer_list) in gst_file_sink_open_file()
426 gst_buffer_list_unref (sink->buffer_list); in gst_file_sink_open_file()
427 sink->buffer_list = NULL; in gst_file_sink_open_file()
439 sink->buffer_list = gst_buffer_list_new (); in gst_file_sink_open_file()
487 if (sink->buffer_list) { in gst_file_sink_close_file()
488 gst_buffer_list_unref (sink->buffer_list); in gst_file_sink_close_file()
489 sink->buffer_list = NULL; in gst_file_sink_close_file()
640 if (filesink->buffer_list) { in gst_file_sink_event()
641 gst_buffer_list_unref (filesink->buffer_list); in gst_file_sink_event()
642 filesink->buffer_list = gst_buffer_list_new (); in gst_file_sink_event()
[all …]
Dgstqueue.c202 GstBufferList * buffer_list);
677 apply_buffer_list (GstQueue * queue, GstBufferList * buffer_list, in apply_buffer_list() argument
685 gst_buffer_list_foreach (buffer_list, buffer_list_apply_time, &timestamp); in apply_buffer_list()
760 GstBufferList *buffer_list = GST_BUFFER_LIST_CAST (item); in gst_queue_locked_enqueue_buffer_list() local
763 bsize = gst_buffer_list_calculate_size (buffer_list); in gst_queue_locked_enqueue_buffer_list()
766 queue->cur_level.buffers += gst_buffer_list_length (buffer_list); in gst_queue_locked_enqueue_buffer_list()
768 apply_buffer_list (queue, buffer_list, &queue->sink_segment, TRUE); in gst_queue_locked_enqueue_buffer_list()
850 GstBufferList *buffer_list = GST_BUFFER_LIST_CAST (item); in gst_queue_locked_dequeue() local
853 "retrieved buffer list %p from queue", buffer_list); in gst_queue_locked_dequeue()
855 queue->cur_level.buffers -= gst_buffer_list_length (buffer_list); in gst_queue_locked_dequeue()
[all …]
Dgstclocksync.c506 GstBufferList * buffer_list) in gst_clock_sync_chain_list() argument
513 buffer_list); in gst_clock_sync_chain_list()
515 if (gst_buffer_list_length (buffer_list) == 0) in gst_clock_sync_chain_list()
518 buf = gst_buffer_list_get (buffer_list, 0); in gst_clock_sync_chain_list()
538 gst_buffer_list_unref (buffer_list); in gst_clock_sync_chain_list()
545 return gst_pad_push_list (clocksync->srcpad, buffer_list); in gst_clock_sync_chain_list()
Dgstelements_private.c493 GstBufferList * buffer_list, in gst_writev_buffer_list() argument
505 num_bufs = gst_buffer_list_length (buffer_list); in gst_writev_buffer_list()
508 GST_DEBUG ("Writing buffer list %p with %u buffers", buffer_list, num_bufs); in gst_writev_buffer_list()
522 buf = gst_buffer_list_get (buffer_list, i); in gst_writev_buffer_list()
610 buf = gst_buffer_list_get (buffer_list, i); in gst_writev_buffer_list()
Dgstfdsink.c128 GstBufferList * buffer_list);
249 gst_fd_sink_render_list (GstBaseSink * bsink, GstBufferList * buffer_list) in gst_fd_sink_render_list() argument
258 num_buffers = gst_buffer_list_length (buffer_list); in gst_fd_sink_render_list()
266 buffer_list, &bytes_written, skip, 0, -1, NULL); in gst_fd_sink_render_list()
Dgstqueue2.c286 GstBufferList * buffer_list);
958 apply_buffer_list (GstQueue2 * queue, GstBufferList * buffer_list, in apply_buffer_list() argument
977 gst_buffer_list_foreach (buffer_list, buffer_list_apply_time, &bld); in apply_buffer_list()
2347 GstBufferList *buffer_list; in gst_queue2_locked_enqueue() local
2350 buffer_list = GST_BUFFER_LIST_CAST (item); in gst_queue2_locked_enqueue()
2352 size = gst_buffer_list_calculate_size (buffer_list); in gst_queue2_locked_enqueue()
2357 queue->cur_level.buffers += gst_buffer_list_length (buffer_list); in gst_queue2_locked_enqueue()
2363 apply_buffer_list (queue, buffer_list, &queue->sink_segment, TRUE); in gst_queue2_locked_enqueue()
2369 gst_buffer_list_foreach (buffer_list, buffer_list_create_write, queue); in gst_queue2_locked_enqueue()
2542 GstBufferList *buffer_list; in gst_queue2_locked_dequeue() local
[all …]
Dgstelements_private.h45 GstBufferList * buffer_list,
/third_party/gstreamer/gstplugins_base/ext/alsa/
Dgstalsamidisrc.c413 GstClockTime time, GstBufferList * buffer_list) in push_buffer() argument
431 gst_buffer_list_add (buffer_list, buffer); in push_buffer()
436 GstBufferList * buffer_list) in push_tick_buffer() argument
439 push_buffer (alsamidisrc, alsamidisrc->buffer, 1, time, buffer_list); in push_tick_buffer()
446 GstBufferList *buffer_list; in gst_alsa_midi_src_create() local
455 buffer_list = gst_buffer_list_new (); in gst_alsa_midi_src_create()
462 gst_buffer_list_unref (buffer_list); in gst_alsa_midi_src_create()
482 push_tick_buffer (alsamidisrc, time, buffer_list); in gst_alsa_midi_src_create()
504 buffer_list); in gst_alsa_midi_src_create()
510 len = gst_buffer_list_length (buffer_list); in gst_alsa_midi_src_create()
[all …]
/third_party/gstreamer/gstreamer/tests/check/elements/
Dqueue.c989 GstBufferList *buffer_list = NULL; in GST_START_TEST() local
1029 buffer_list = gst_buffer_list_new (); in GST_START_TEST()
1032 gst_buffer_list_add (buffer_list, buffer); in GST_START_TEST()
1035 gst_buffer_list_add (buffer_list, buffer); in GST_START_TEST()
1036 gst_pad_push_list (mysrcpad, buffer_list); in GST_START_TEST()
1046 buffer_list = gst_buffer_list_new (); in GST_START_TEST()
1051 gst_buffer_list_add (buffer_list, buffer); in GST_START_TEST()
1056 gst_buffer_list_add (buffer_list, buffer); in GST_START_TEST()
1057 gst_pad_push_list (mysrcpad, buffer_list); in GST_START_TEST()
1066 buffer_list = gst_buffer_list_new (); in GST_START_TEST()
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.c1009 unsigned *dst, struct radeon_winsys_bo **buffer_list, in write_texel_buffer_descriptor() argument
1017 *buffer_list = NULL; in write_texel_buffer_descriptor()
1026 *buffer_list = buffer_view->bo; in write_texel_buffer_descriptor()
1031 unsigned *dst, struct radeon_winsys_bo **buffer_list, in write_buffer_descriptor() argument
1039 *buffer_list = NULL; in write_buffer_descriptor()
1079 *buffer_list = buffer->bo; in write_buffer_descriptor()
1094 struct radeon_winsys_bo **buffer_list, in write_dynamic_buffer_descriptor() argument
1103 *buffer_list = NULL; in write_dynamic_buffer_descriptor()
1122 *buffer_list = buffer->bo; in write_dynamic_buffer_descriptor()
1127 unsigned size, unsigned *dst, struct radeon_winsys_bo **buffer_list, in write_image_descriptor() argument
[all …]
/third_party/flutter/skia/third_party/externals/libpng/contrib/libtests/
Dpngimage.c366 struct buffer_list struct
368 struct buffer_list *next; /* next buffer in list */ argument
374 struct buffer_list *last; /* last buffer in use */ argument
376 struct buffer_list *current; /* current buffer being read */
378 struct buffer_list first; /* the very first buffer */
391 buffer_destroy_list(struct buffer_list *list) in buffer_destroy_list()
395 struct buffer_list *next = list->next; in buffer_destroy_list()
404 struct buffer_list *list = buffer->first.next; in buffer_destroy()
438 static struct buffer_list *
439 buffer_extend(struct buffer_list *current) in buffer_extend()
[all …]
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dpngimage.c366 struct buffer_list struct
368 struct buffer_list *next; /* next buffer in list */ argument
374 struct buffer_list *last; /* last buffer in use */ argument
376 struct buffer_list *current; /* current buffer being read */
378 struct buffer_list first; /* the very first buffer */
391 buffer_destroy_list(struct buffer_list *list) in buffer_destroy_list()
395 struct buffer_list *next = list->next; in buffer_destroy_list()
404 struct buffer_list *list = buffer->first.next; in buffer_destroy()
438 static struct buffer_list *
439 buffer_extend(struct buffer_list *current) in buffer_extend()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/app/
Dgstappsrc.c306 GstBufferList * buffer_list);
1410 GstBufferList *buffer_list = GST_BUFFER_LIST_CAST (item); in gst_app_src_update_queued_pop() local
1413 n_buffers = gst_buffer_list_length (buffer_list); in gst_app_src_update_queued_pop()
1416 GstBuffer *tmp = gst_buffer_list_get (buffer_list, i); in gst_app_src_update_queued_pop()
1505 GstBufferList *buffer_list = GST_BUFFER_LIST_CAST (item); in gst_app_src_update_queued_push() local
1508 n_buffers = gst_buffer_list_length (buffer_list); in gst_app_src_update_queued_push()
1511 GstBuffer *tmp = gst_buffer_list_get (buffer_list, i); in gst_app_src_update_queued_push()
1692 GstBufferList *buffer_list; in gst_app_src_create() local
1694 buffer_list = GST_BUFFER_LIST (obj); in gst_app_src_create()
1701 buffer_list = gst_buffer_list_make_writable (buffer_list); in gst_app_src_create()
[all …]
Dgstappsrc.h132 GstFlowReturn (*push_buffer_list) (GstAppSrc *appsrc, GstBufferList *buffer_list);
214 …lowReturn gst_app_src_push_buffer_list (GstAppSrc * appsrc, GstBufferList * buffer_list);
/third_party/gstreamer/gstplugins_bad/gst/mpegtsdemux/
Dtsdemux.c3059 GstBufferList *buffer_list = NULL; in parse_opus_access_unit() local
3061 buffer_list = gst_buffer_list_new (); in parse_opus_access_unit()
3128 gst_buffer_list_add (buffer_list, buffer); in parse_opus_access_unit()
3135 return buffer_list; in parse_opus_access_unit()
3143 if (buffer_list) in parse_opus_access_unit()
3144 gst_buffer_list_unref (buffer_list); in parse_opus_access_unit()
3389 GstBufferList *buffer_list = NULL; in gst_ts_demux_push_pending_data() local
3428 buffer_list = parse_opus_access_unit (stream); in gst_ts_demux_push_pending_data()
3429 if (!buffer_list) { in gst_ts_demux_push_pending_data()
3434 if (gst_buffer_list_length (buffer_list) == 1) { in gst_ts_demux_push_pending_data()
[all …]
/third_party/gstreamer/gstreamer/tests/check/libs/
Dadapter.c1273 GstBufferList *buffer_list; in GST_START_TEST() local
1280 buffer_list = gst_adapter_take_buffer_list (adapter, sizeof (guint32) * 5); in GST_START_TEST()
1281 fail_unless (buffer_list != NULL); in GST_START_TEST()
1282 num = gst_buffer_list_length (buffer_list); in GST_START_TEST()
1286 buf = gst_buffer_list_get (buffer_list, n); in GST_START_TEST()
1301 gst_buffer_list_unref (buffer_list); in GST_START_TEST()
1318 GstBufferList *buffer_list; in GST_START_TEST() local
1328 buffer_list = gst_adapter_get_buffer_list (adapter, sizeof (guint32) * 5); in GST_START_TEST()
1329 fail_unless (buffer_list != NULL); in GST_START_TEST()
1331 num = gst_buffer_list_length (buffer_list); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_bad/tools/element-templates/
Dbasesink32 GstBufferList * buffer_list);
38 GstBufferList * buffer_list);
217 gst_replace_prepare_list (GstBaseSink * sink, GstBufferList * buffer_list)
249 gst_replace_render_list (GstBaseSink * sink, GstBufferList * buffer_list)
/third_party/gstreamer/gstplugins_bad/gst/rtp/
Dgstrtpsrc.c608 GstBufferList *buffer_list = info->data; in gst_rtp_src_on_recv_rtcp() local
609 buffer = gst_buffer_list_get (buffer_list, 0); in gst_rtp_src_on_recv_rtcp()
640 GstBufferList *buffer_list = info->data; in gst_rtp_src_on_send_rtcp() local
644 info->data = buffer_list = gst_buffer_list_make_writable (buffer_list); in gst_rtp_src_on_send_rtcp()
645 for (i = 0; i < gst_buffer_list_length (buffer_list); i++) { in gst_rtp_src_on_send_rtcp()
646 buffer = gst_buffer_list_get (buffer_list, i); in gst_rtp_src_on_send_rtcp()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtp/
Dgstrtpbaseaudiopayload.c115 gboolean buffer_list; member
212 payload->priv->buffer_list = DEFAULT_BUFFER_LIST; in gst_rtp_base_audio_payload_init()
238 payload->priv->buffer_list = g_value_get_boolean (value); in gst_rtp_base_audio_payload_set_property()
240 payload->priv->buffer_list = FALSE; in gst_rtp_base_audio_payload_set_property()
258 g_value_set_boolean (value, payload->priv->buffer_list); in gst_rtp_base_audio_payload_get_property()
535 if (priv->buffer_list) { in gst_rtp_base_audio_payload_push_buffer()
623 if (priv->buffer_list && gst_adapter_available_fast (adapter) >= payload_len) { in gst_rtp_base_audio_payload_flush()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstadapter.c1207 GstBufferList *buffer_list; in gst_adapter_take_buffer_list() local
1225 buffer_list = gst_buffer_list_new_sized (n_bufs); in gst_adapter_take_buffer_list()
1233 gst_buffer_list_add (buffer_list, gst_adapter_take_buffer (adapter, hsize)); in gst_adapter_take_buffer_list()
1236 return buffer_list; in gst_adapter_take_buffer_list()
1260 GstBufferList *buffer_list; in gst_adapter_get_buffer_list() local
1279 buffer_list = gst_buffer_list_new_sized (n_bufs); in gst_adapter_get_buffer_list()
1299 gst_buffer_list_add (buffer_list, buffer); in gst_adapter_get_buffer_list()
1305 return buffer_list; in gst_adapter_get_buffer_list()
Dgstbasesink.h212 GstFlowReturn (*prepare_list) (GstBaseSink *sink, GstBufferList *buffer_list);
218 GstFlowReturn (*render_list) (GstBaseSink *sink, GstBufferList *buffer_list);
/third_party/pulseaudio/src/modules/macosx/
Dmodule-coreaudio-device.c653 AudioBufferList *buffer_list; in ca_device_create_streams() local
689 buffer_list = (AudioBufferList *) pa_xmalloc(size); in ca_device_create_streams()
690 err = AudioObjectGetPropertyData(u->object_id, &property_address, 0, NULL, &size, buffer_list); in ca_device_create_streams()
700 for (channel_idx = 0, i = 0; i < buffer_list->mNumberBuffers; i++) { in ca_device_create_streams()
701 AudioBuffer *buf = buffer_list->mBuffers + i; in ca_device_create_streams()
712 pa_xfree(buffer_list); in ca_device_create_streams()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_threaded_context.c253 BITSET_ZERO(buf_list->buffer_list); in tc_begin_next_buffer_list()
443 BITSET_SET(next->buffer_list, id & TC_BUFFER_ID_MASK); in tc_add_to_buffer_list()
455 BITSET_SET(next->buffer_list, id & TC_BUFFER_ID_MASK); in tc_bind_buffer()
474 tc_add_bindings_to_buffer_list(BITSET_WORD *buffer_list, const uint32_t *bindings, in tc_add_bindings_to_buffer_list() argument
479 BITSET_SET(buffer_list, bindings[i] & TC_BUFFER_ID_MASK); in tc_add_bindings_to_buffer_list()
500 BITSET_WORD *buffer_list, in tc_add_shader_bindings_to_buffer_list() argument
503 tc_add_bindings_to_buffer_list(buffer_list, tc->const_buffers[shader], in tc_add_shader_bindings_to_buffer_list()
506 tc_add_bindings_to_buffer_list(buffer_list, tc->shader_buffers[shader], in tc_add_shader_bindings_to_buffer_list()
510 tc_add_bindings_to_buffer_list(buffer_list, tc->image_buffers[shader], in tc_add_shader_bindings_to_buffer_list()
514 tc_add_bindings_to_buffer_list(buffer_list, tc->sampler_buffers[shader], in tc_add_shader_bindings_to_buffer_list()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/rist/
Dgstristsrc.c526 GstBufferList *buffer_list = info->data; in gst_rist_src_on_recv_rtcp() local
527 buffer = gst_buffer_list_get (buffer_list, 0); in gst_rist_src_on_recv_rtcp()
580 GstBufferList *buffer_list = info->data; in gst_rist_src_on_send_rtcp() local
584 info->data = buffer_list = gst_buffer_list_make_writable (buffer_list); in gst_rist_src_on_send_rtcp()
585 for (i = 0; i < gst_buffer_list_length (buffer_list); i++) { in gst_rist_src_on_send_rtcp()
586 buffer = gst_buffer_list_get (buffer_list, i); in gst_rist_src_on_send_rtcp()

12