Home
last modified time | relevance | path

Searched refs:buf_copy (Results 1 – 4 of 4) sorted by relevance

/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dvapostproc.c36 GstBuffer *buf, *buf_copy; in GST_START_TEST() local
52 buf_copy = gst_buffer_new (); in GST_START_TEST()
53 ret = gst_buffer_copy_into (buf_copy, buf, in GST_START_TEST()
58 gst_clear_buffer (&buf_copy); in GST_START_TEST()
68 GstBuffer *buf, *buf_copy; in GST_START_TEST() local
84 buf_copy = gst_buffer_new (); in GST_START_TEST()
85 ret = gst_buffer_copy_into (buf_copy, buf, in GST_START_TEST()
88 if (gst_buffer_n_memory (buf_copy) == 1) in GST_START_TEST()
93 gst_clear_buffer (&buf_copy); in GST_START_TEST()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstbufferlist.c207 GstBuffer *buf_copy; in GST_START_TEST() local
223 buf_copy = gst_buffer_list_get (list_copy, 0); in GST_START_TEST()
225 fail_unless (buf_copy != buf1); in GST_START_TEST()
229 buf_copy = gst_buffer_list_get (list_copy, 1); in GST_START_TEST()
230 fail_unless (buf_copy != buf2); in GST_START_TEST()
235 fail_unless (gst_buffer_map (buf_copy, &sinfo, GST_MAP_READ)); in GST_START_TEST()
242 gst_buffer_unmap (buf_copy, &sinfo); in GST_START_TEST()
/third_party/node/src/
Dcares_wrap.h312 unsigned char* buf_copy = nullptr; in Callback() local
314 buf_copy = node::Malloc<unsigned char>(answer_len); in Callback()
315 memcpy(buf_copy, answer_buf, answer_len); in Callback()
322 data->buf = MallocedBuffer<unsigned char>(buf_copy, answer_len); in Callback()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvaallocator.c316 GstVaBufferSurface *buf_copy = NULL; in gst_va_dmabuf_mem_copy() local
327 buf_copy = gst_mini_object_get_qdata (GST_MINI_OBJECT (copy), in gst_va_dmabuf_mem_copy()
330 g_assert (g_atomic_int_get (&buf_copy->ref_mems_count) == 0); in gst_va_dmabuf_mem_copy()
332 g_atomic_int_add (&buf_copy->ref_mems_count, 1); in gst_va_dmabuf_mem_copy()
344 buf_copy = gst_mini_object_get_qdata (GST_MINI_OBJECT (copy), in gst_va_dmabuf_mem_copy()
348 g_assert (buf_copy->n_mems == 1); in gst_va_dmabuf_mem_copy()
351 if (copy_func && gst_va_surface_copy (copy_func, buf_copy->surface, in gst_va_dmabuf_mem_copy()