From 7cae289036193f3fad5dc5423e7adbc8604b8c2a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 30 Mar 2011 19:01:13 +0200 Subject: [PATCH] docs: update docs --- docs/gst/gstreamer-sections.txt | 76 +++++++++++++++++++---------------------- gst/gstbuffer.c | 4 +-- gst/gstbuffer.h | 2 +- gst/gstmeta.c | 7 ++-- 4 files changed, 42 insertions(+), 47 deletions(-) diff --git a/docs/gst/gstreamer-sections.txt b/docs/gst/gstreamer-sections.txt index 06f1c25..2027493 100644 --- a/docs/gst/gstreamer-sections.txt +++ b/docs/gst/gstreamer-sections.txt @@ -164,13 +164,10 @@ GST_BUFFER_FLAG_IS_SET GST_BUFFER_FLAG_SET GST_BUFFER_FLAG_UNSET -GST_BUFFER_DATA -GST_BUFFER_MALLOCDATA -GST_BUFFER_FREE_FUNC -GST_BUFFER_SIZE +GST_BUFFER_CAPS + GST_BUFFER_TIMESTAMP GST_BUFFER_DURATION -GST_BUFFER_CAPS GST_BUFFER_OFFSET GST_BUFFER_OFFSET_END GST_BUFFER_OFFSET_NONE @@ -183,50 +180,56 @@ GST_BUFFER_TRACE_NAME gst_buffer_new gst_buffer_new_and_alloc -gst_buffer_try_new_and_alloc gst_buffer_ref gst_buffer_unref -gst_buffer_set_data -gst_buffer_copy +gst_buffer_get_size +gst_buffer_resize +gst_buffer_set_size + +gst_buffer_n_memory +gst_buffer_take_memory +gst_buffer_peek_memory +gst_buffer_remove_memory +gst_buffer_remove_memory_range + +gst_buffer_map +gst_buffer_unmap + +gst_buffer_extract +gst_buffer_fill +GST_BUFFER_COPY_METADATA GST_BUFFER_COPY_ALL -gst_buffer_copy_metadata +gst_buffer_copy +gst_buffer_copy_into +gst_buffer_copy_region + gst_buffer_is_writable gst_buffer_make_writable -gst_buffer_is_metadata_writable -gst_buffer_make_metadata_writable gst_buffer_replace gst_buffer_get_caps gst_buffer_set_caps -gst_buffer_create_sub gst_buffer_is_span_fast gst_buffer_span -gst_buffer_join -gst_buffer_merge - -gst_buffer_get_meta_by_api gst_buffer_get_meta +gst_buffer_add_meta gst_buffer_remove_meta gst_buffer_iterate_meta GstBufferClass GST_BUFFER -GST_BUFFER_CLASS -GST_BUFFER_GET_CLASS GST_IS_BUFFER -GST_IS_BUFFER_CLASS GST_TYPE_BUFFER GST_TYPE_BUFFER_FLAG GST_TYPE_BUFFER_COPY_FLAGS GST_BUFFER_CAST -gst_buffer_get_type gst_buffer_flag_get_type gst_buffer_copy_flags_get_type @@ -276,6 +279,7 @@ GST_BUFFER_POOL GST_IS_BUFFER_POOL GST_TYPE_BUFFER_POOL gst_buffer_pool_get_type +gst_buffer_pool_flags_get_type GST_IS_BUFFER_POOL_CLASS GST_BUFFER_POOL_GET_CLASS @@ -1269,6 +1273,8 @@ gst_memory_register gst_memory_get_info GST_MEMORY_TRACE_NAME +gst_map_flags_get_type +gst_memory_flags_get_type
@@ -1390,51 +1396,39 @@ GST_MESSAGE_WAIT GstMiniObject GstMiniObjectFlags GstMiniObjectCopyFunction -GstMiniObjectFinalizeFunction +GstMiniObjectDisposeFunction +GstMiniObjectFreeFunction +GST_MINI_OBJECT_TYPE GST_MINI_OBJECT_FLAGS GST_MINI_OBJECT_FLAG_IS_SET GST_MINI_OBJECT_FLAG_SET GST_MINI_OBJECT_FLAG_UNSET GST_MINI_OBJECT_REFCOUNT GST_MINI_OBJECT_REFCOUNT_VALUE +GST_MINI_OBJECT_SIZE + +gst_mini_object_register +gst_mini_object_init -gst_mini_object_new gst_mini_object_copy gst_mini_object_is_writable gst_mini_object_make_writable gst_mini_object_ref gst_mini_object_unref -gst_mini_object_replace - -GstParamSpecMiniObject -gst_param_spec_mini_object -gst_value_set_mini_object -gst_value_take_mini_object -gst_value_get_mini_object -gst_value_dup_mini_object +gst_mini_object_replace -GstMiniObjectClass GST_MINI_OBJECT -GST_IS_MINI_OBJECT -GST_MINI_OBJECT_CLASS -GST_IS_MINI_OBJECT_CLASS -GST_MINI_OBJECT_GET_CLASS -GST_TYPE_MINI_OBJECT +GST_IS_MINI_OBJECT_TYPE GST_TYPE_MINI_OBJECT_FLAGS GST_MINI_OBJECT_CAST GST_MINI_OBJECT_CONST_CAST -GST_IS_PARAM_SPEC_MINI_OBJECT -GST_PARAM_SPEC_MINI_OBJECT -GST_TYPE_PARAM_MINI_OBJECT -gst_mini_object_get_type gst_mini_object_flags_get_type -gst_param_spec_mini_object_get_type
diff --git a/gst/gstbuffer.c b/gst/gstbuffer.c index 5f657a5..f37a4b4 100644 --- a/gst/gstbuffer.c +++ b/gst/gstbuffer.c @@ -1352,9 +1352,9 @@ init_failed: /** * gst_buffer_remove_meta: * @buffer: a #GstBuffer - * @info: a #GstMetaInfo + * @meta: a #GstMeta * - * Remove the metadata for @info on @buffer. + * Remove the metadata for @meta on @buffer. * * Returns: %TRUE if the metadata existed and was removed, %FALSE if no such * metadata was on @buffer. diff --git a/gst/gstbuffer.h b/gst/gstbuffer.h index 6e9cc1d..b1d7673 100644 --- a/gst/gstbuffer.h +++ b/gst/gstbuffer.h @@ -476,7 +476,7 @@ GstBuffer* gst_buffer_copy_region (GstBuffer *parent, GstBufferCop /* span, two buffers, intelligently */ gboolean gst_buffer_is_span_fast (GstBuffer *buf1, GstBuffer *buf2); -GstBuffer* gst_buffer_span (GstBuffer *buf1, gsize offset, GstBuffer *buf2, gsize len); +GstBuffer* gst_buffer_span (GstBuffer *buf1, gsize offset, GstBuffer *buf2, gsize size); /* metadata */ #include diff --git a/gst/gstmeta.c b/gst/gstmeta.c index f003d5c..d874eef 100644 --- a/gst/gstmeta.c +++ b/gst/gstmeta.c @@ -88,11 +88,12 @@ gst_meta_register (const gchar * api, const gchar * impl, gsize size, /** * gst_meta_get_info: - * @name: the name + * @impl: the name * - * Lookup a previously registered meta info structure by its @implementor name. + * Lookup a previously registered meta info structure by its implementor name + * @impl. * - * Returns: a #GstMetaInfo with @name or #NULL when no such metainfo + * Returns: a #GstMetaInfo with @impl or #NULL when no such metainfo * exists. */ const GstMetaInfo * -- 2.7.4