Home
last modified time | relevance | path

Searched refs:GST_MINI_OBJECT_CAST (Results 1 – 25 of 98) sorted by relevance

1234

/third_party/gstreamer/gstreamer/gst/
Dgstsample.c72 gst_mini_object_add_parent (GST_MINI_OBJECT_CAST (copy->buffer_list), in _gst_sample_copy()
73 GST_MINI_OBJECT_CAST (copy)); in _gst_sample_copy()
85 gst_mini_object_remove_parent (GST_MINI_OBJECT_CAST (sample->buffer), in _gst_sample_free()
86 GST_MINI_OBJECT_CAST (sample)); in _gst_sample_free()
91 gst_mini_object_remove_parent (GST_MINI_OBJECT_CAST (sample->caps), in _gst_sample_free()
92 GST_MINI_OBJECT_CAST (sample)); in _gst_sample_free()
101 gst_mini_object_remove_parent (GST_MINI_OBJECT_CAST (sample->buffer_list), in _gst_sample_free()
102 GST_MINI_OBJECT_CAST (sample)); in _gst_sample_free()
136 gst_mini_object_init (GST_MINI_OBJECT_CAST (sample), 0, _gst_sample_type, in gst_sample_new()
142 gst_mini_object_add_parent (GST_MINI_OBJECT_CAST (sample->buffer), in gst_sample_new()
[all …]
Dgstbufferlist.c94 gst_mini_object_add_parent (GST_MINI_OBJECT_CAST (copy->buffers[i]), in _gst_buffer_list_copy()
95 GST_MINI_OBJECT_CAST (copy)); in _gst_buffer_list_copy()
114 gst_mini_object_remove_parent (GST_MINI_OBJECT_CAST (list->buffers[i]), in _gst_buffer_list_free()
115 GST_MINI_OBJECT_CAST (list)); in _gst_buffer_list_free()
134 gst_mini_object_init (GST_MINI_OBJECT_CAST (list), 0, _gst_buffer_list_type, in gst_buffer_list_init()
215 gst_mini_object_remove_parent (GST_MINI_OBJECT_CAST (list->buffers[i]), in gst_buffer_list_remove_range_internal()
216 GST_MINI_OBJECT_CAST (list)); in gst_buffer_list_remove_range_internal()
275 gst_mini_object_remove_parent (GST_MINI_OBJECT_CAST (buf), in gst_buffer_list_foreach()
276 GST_MINI_OBJECT_CAST (list)); in gst_buffer_list_foreach()
304 gst_mini_object_remove_parent (GST_MINI_OBJECT_CAST (buf), in gst_buffer_list_foreach()
[all …]
Dgsttoc.h164 #define gst_toc_ref(toc) (GstToc*)gst_mini_object_ref(GST_MINI_OBJECT_CAST(toc))
165 #define gst_toc_unref(toc) gst_mini_object_unref(GST_MINI_OBJECT_CAST(toc))
166 #define gst_toc_copy(toc) (GstToc*)gst_mini_object_copy(GST_MINI_OBJECT_CAST(toc))
167 #define gst_toc_make_writable(toc) (GstToc*)gst_mini_object_make_writable(GST_MINI_OBJECT_CAST(toc…
174 #define gst_toc_entry_ref(entry) (GstTocEntry*)gst_mini_object_ref(GST_MINI_OBJECT_CAST(…
175 #define gst_toc_entry_unref(entry) gst_mini_object_unref(GST_MINI_OBJECT_CAST(entry))
176 #define gst_toc_entry_copy(entry) (GstTocEntry*)gst_mini_object_copy(GST_MINI_OBJECT_CAST
177 …ntry_make_writable(entry) (GstTocEntry*)gst_mini_object_make_writable(GST_MINI_OBJECT_CAST(entry))
Dgstminiobject.h37 #define GST_MINI_OBJECT_CAST(obj) ((GstMiniObject*)(obj)) macro
39 #define GST_MINI_OBJECT(obj) (GST_MINI_OBJECT_CAST(obj))
94 #define GST_MINI_OBJECT_TYPE(obj) (GST_MINI_OBJECT_CAST(obj)->type)
102 #define GST_MINI_OBJECT_FLAGS(obj) (GST_MINI_OBJECT_CAST(obj)->flags)
189 #define GST_MINI_OBJECT_REFCOUNT(obj) ((GST_MINI_OBJECT_CAST(obj))->refcount)
196 #define GST_MINI_OBJECT_REFCOUNT_VALUE(obj) (g_atomic_int_get (&(GST_MINI_OBJECT_CAST(obj))->re…
Dgstmemory.h331 return (GstMemory *) gst_mini_object_ref (GST_MINI_OBJECT_CAST (memory)); in gst_memory_ref()
337 gst_mini_object_unref (GST_MINI_OBJECT_CAST (memory)); in gst_memory_unref()
355 #define gst_memory_lock(m,f) gst_mini_object_lock (GST_MINI_OBJECT_CAST (m), (f))
356 #define gst_memory_unlock(m,f) gst_mini_object_unlock (GST_MINI_OBJECT_CAST (m), (f))
357 #define gst_memory_is_writable(m) gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (m))
358 …_memory_make_writable(m) GST_MEMORY_CAST (gst_mini_object_make_writable (GST_MINI_OBJECT_CAST (m)))
Dgstcontext.h53 return (GstContext *) gst_mini_object_ref (GST_MINI_OBJECT_CAST (context)); in gst_context_ref()
59 gst_mini_object_unref (GST_MINI_OBJECT_CAST (context)); in gst_context_unref()
86 … gst_context_is_writable(context) gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (context))
98 …ritable(context) GST_CONTEXT_CAST (gst_mini_object_make_writable (GST_MINI_OBJECT_CAST (context)))
Dgstsample.h95 return GST_SAMPLE_CAST (gst_mini_object_ref (GST_MINI_OBJECT_CAST ( in gst_sample_ref()
102 gst_mini_object_unref (GST_MINI_OBJECT_CAST (sample)); in gst_sample_unref()
120 … gst_sample_is_writable(sample) gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (sample))
148 …_writable(sample) GST_SAMPLE_CAST (gst_mini_object_make_writable (GST_MINI_OBJECT_CAST (sample)))
Dgsttoc.c145 gst_mini_object_init (GST_MINI_OBJECT_CAST (toc), 0, GST_TYPE_TOC, in gst_toc_new()
180 g_return_if_fail (gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (toc))); in gst_toc_set_tags()
199 g_return_if_fail (gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (toc))); in gst_toc_merge_tags()
237 g_return_if_fail (gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (toc))); in gst_toc_append_entry()
238 g_return_if_fail (gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (entry))); in gst_toc_append_entry()
274 gst_mini_object_init (GST_MINI_OBJECT_CAST (entry), 0, GST_TYPE_TOC_ENTRY, in gst_toc_entry_new_internal()
678 g_return_if_fail (gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (entry))); in gst_toc_entry_append_sub_entry()
679 g_return_if_fail (gst_mini_object_is_writable (GST_MINI_OBJECT_CAST in gst_toc_entry_append_sub_entry()
719 g_return_if_fail (gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (entry))); in gst_toc_entry_set_tags()
739 g_return_if_fail (gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (entry))); in gst_toc_entry_merge_tags()
Dgstbufferlist.h66 return GST_BUFFER_LIST_CAST (gst_mini_object_ref (GST_MINI_OBJECT_CAST ( in gst_buffer_list_ref()
73 gst_mini_object_unref (GST_MINI_OBJECT_CAST (list)); in gst_buffer_list_unref()
130 #define gst_buffer_list_is_writable(list) gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (list))
143 …e_writable(list) GST_BUFFER_LIST_CAST (gst_mini_object_make_writable (GST_MINI_OBJECT_CAST (list)))
Dgstcaps.h197 return (GstCaps *) gst_mini_object_ref (GST_MINI_OBJECT_CAST (caps)); in gst_caps_ref()
203 gst_mini_object_unref (GST_MINI_OBJECT_CAST (caps)); in gst_caps_unref()
226 #define gst_caps_copy(caps) GST_CAPS (gst_mini_object_copy (GST_MINI_OBJECT_CAST (caps)))
235 #define gst_caps_is_writable(caps) gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (c…
256 …s_make_writable(caps) GST_CAPS_CAST (gst_mini_object_make_writable (GST_MINI_OBJECT_CAST (caps)))
Dgstbuffer.c335 gst_mini_object_remove_parent (GST_MINI_OBJECT_CAST (old), in _replace_memory()
336 GST_MINI_OBJECT_CAST (buffer)); in _replace_memory()
342 gst_mini_object_add_parent (GST_MINI_OBJECT_CAST (mem), in _replace_memory()
343 GST_MINI_OBJECT_CAST (buffer)); in _replace_memory()
486 gst_mini_object_add_parent (GST_MINI_OBJECT_CAST (mem), in _memory_add()
487 GST_MINI_OBJECT_CAST (buffer)); in _memory_add()
804 gst_mini_object_remove_parent (GST_MINI_OBJECT_CAST (GST_BUFFER_MEM_PTR in _gst_buffer_free()
805 (buffer, i)), GST_MINI_OBJECT_CAST (buffer)); in _gst_buffer_free()
823 gst_mini_object_init (GST_MINI_OBJECT_CAST (buffer), 0, _gst_buffer_type, in gst_buffer_init()
1157 gst_mini_object_add_parent (GST_MINI_OBJECT_CAST (mapped), in _get_mapped()
[all …]
Dgstcontext.c150 gst_mini_object_init (GST_MINI_OBJECT_CAST (context), 0, _gst_context_type, in gst_context_init()
301 return (GstContext *) gst_mini_object_ref (GST_MINI_OBJECT_CAST (context)); in gst_context_ref()
316 gst_mini_object_unref (GST_MINI_OBJECT_CAST (context)); in gst_context_unref()
Dgstpromise.h100 return (GstPromise *) gst_mini_object_ref (GST_MINI_OBJECT_CAST (promise)); in gst_promise_ref()
106 gst_mini_object_unref (GST_MINI_OBJECT_CAST (promise)); in gst_promise_unref()
/third_party/gstreamer/gstplugins_bad/ext/ttml/
Dsubtitle.h422 gst_mini_object_ref (GST_MINI_OBJECT_CAST (style_set)); in gst_subtitle_style_set_ref()
435 gst_mini_object_unref (GST_MINI_OBJECT_CAST (style_set)); in gst_subtitle_style_set_unref()
484 gst_mini_object_ref (GST_MINI_OBJECT_CAST (element)); in gst_subtitle_element_ref()
497 gst_mini_object_unref (GST_MINI_OBJECT_CAST (element)); in gst_subtitle_element_unref()
548 gst_mini_object_ref (GST_MINI_OBJECT_CAST (block)); in gst_subtitle_block_ref()
561 gst_mini_object_unref (GST_MINI_OBJECT_CAST (block)); in gst_subtitle_block_unref()
615 gst_mini_object_ref (GST_MINI_OBJECT_CAST (region)); in gst_subtitle_region_ref()
628 gst_mini_object_unref (GST_MINI_OBJECT_CAST (region)); in gst_subtitle_region_unref()
Dsubtitle.c66 gst_mini_object_init (GST_MINI_OBJECT_CAST (ret), 0, in gst_subtitle_style_set_new()
117 gst_mini_object_init (GST_MINI_OBJECT_CAST (element), 0, in gst_subtitle_element_new()
158 gst_mini_object_init (GST_MINI_OBJECT_CAST (block), 0, in gst_subtitle_block_new()
254 gst_mini_object_init (GST_MINI_OBJECT_CAST (region), 0, in gst_subtitle_region_new()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-overlay-composition.c315 gst_mini_object_remove_parent (GST_MINI_OBJECT_CAST (comp->rectangles[num - in gst_video_overlay_composition_free()
316 1]), GST_MINI_OBJECT_CAST (comp)); in gst_video_overlay_composition_free()
351 gst_mini_object_init (GST_MINI_OBJECT_CAST (comp), 0, in gst_video_overlay_composition_new()
387 g_return_if_fail (gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (comp))); in gst_video_overlay_composition_add_rectangle()
397 gst_mini_object_add_parent (GST_MINI_OBJECT_CAST (rectangle), in gst_video_overlay_composition_add_rectangle()
398 GST_MINI_OBJECT_CAST (comp)); in gst_video_overlay_composition_add_rectangle()
588 if (gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (comp))) { in gst_video_overlay_composition_make_writable()
592 if (!gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (comp->rectangles in gst_video_overlay_composition_make_writable()
636 gst_mini_object_remove_parent (GST_MINI_OBJECT_CAST (rect->pixels), in gst_video_overlay_rectangle_free()
637 GST_MINI_OBJECT_CAST (rect)); in gst_video_overlay_rectangle_free()
[all …]
Dvideo-overlay-composition.h64 return (GstVideoOverlayRectangle *) gst_mini_object_ref (GST_MINI_OBJECT_CAST (comp)); in gst_video_overlay_rectangle_ref()
77 gst_mini_object_unref (GST_MINI_OBJECT_CAST (comp)); in gst_video_overlay_rectangle_unref()
219 return (GstVideoOverlayComposition *) gst_mini_object_ref (GST_MINI_OBJECT_CAST (comp)); in gst_video_overlay_composition_ref()
232 gst_mini_object_unref (GST_MINI_OBJECT_CAST (comp)); in gst_video_overlay_composition_unref()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstminiobject.c35 copy = GST_BUFFER (gst_mini_object_copy (GST_MINI_OBJECT_CAST (buffer))); in GST_START_TEST()
53 mobj = GST_MINI_OBJECT_CAST (buffer); in GST_START_TEST()
75 mobj = GST_MINI_OBJECT_CAST (buffer); in GST_START_TEST()
130 mobj = GST_MINI_OBJECT_CAST (buffer); in GST_START_TEST()
431 g_assert (GST_MINI_OBJECT_REFCOUNT_VALUE (GST_MINI_OBJECT_CAST (buf)) == 1); in GST_START_TEST()
437 g_assert (GST_MINI_OBJECT_REFCOUNT_VALUE (GST_MINI_OBJECT_CAST (buf)) == 1); in GST_START_TEST()
455 mo = GST_MINI_OBJECT_CAST (g_value_dup_boxed (&value)); in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkimageview.h81 return (GstVulkanImageView *) gst_mini_object_ref (GST_MINI_OBJECT_CAST (trash)); in gst_vulkan_image_view_ref()
97 gst_mini_object_unref (GST_MINI_OBJECT_CAST (trash)); in gst_vulkan_image_view_unref()
Dgstvkcommandbuffer.h84 return (GstVulkanCommandBuffer *) gst_mini_object_ref (GST_MINI_OBJECT_CAST (cmd)); in gst_vulkan_command_buffer_ref()
100 gst_mini_object_unref (GST_MINI_OBJECT_CAST (cmd)); in gst_vulkan_command_buffer_unref()
Dgstvkdescriptorset.h89 return (GstVulkanDescriptorSet *) gst_mini_object_ref (GST_MINI_OBJECT_CAST (set)); in gst_vulkan_descriptor_set_ref()
105 gst_mini_object_unref (GST_MINI_OBJECT_CAST (set)); in gst_vulkan_descriptor_set_unref()
Dgstvkhandle.h147 return (GstVulkanHandle *) gst_mini_object_ref (GST_MINI_OBJECT_CAST (handle)); in gst_vulkan_handle_ref()
163 gst_mini_object_unref (GST_MINI_OBJECT_CAST (handle)); in gst_vulkan_handle_unref()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecs/
Dgstvp8picture.h62 return (GstVp8Picture *) gst_mini_object_ref (GST_MINI_OBJECT_CAST (picture)); in gst_vp8_picture_ref()
68 gst_mini_object_unref (GST_MINI_OBJECT_CAST (picture)); in gst_vp8_picture_unref()
Dgstvp9picture.h62 return (GstVp9Picture *) gst_mini_object_ref (GST_MINI_OBJECT_CAST (picture)); in gst_vp9_picture_ref()
68 gst_mini_object_unref (GST_MINI_OBJECT_CAST (picture)); in gst_vp9_picture_unref()
Dgstav1picture.h95 return (GstAV1Picture *) gst_mini_object_ref (GST_MINI_OBJECT_CAST (picture)); in gst_av1_picture_ref()
101 gst_mini_object_unref (GST_MINI_OBJECT_CAST (picture)); in gst_av1_picture_unref()

1234