From: Thomas Vander Stichele Date: Wed, 17 Apr 2002 12:28:32 +0000 (+0000) Subject: review of gstbuffer documentation small doc fixes X-Git-Tag: BRANCH-RELEASE-0_4_0-ROOT~255 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2af387684372e273aab6fdabf01b086dde52d5e;p=platform%2Fupstream%2Fgstreamer.git review of gstbuffer documentation small doc fixes Original commit message from CVS: * review of gstbuffer documentation * small doc fixes --- diff --git a/docs/gst/gstreamer-docs.sgml b/docs/gst/gstreamer-docs.sgml index 50d46a3..bf31b99 100644 --- a/docs/gst/gstreamer-docs.sgml +++ b/docs/gst/gstreamer-docs.sgml @@ -65,7 +65,7 @@ libgst.la provides all the core GStreamer services, including initialization, plugin management and types, as -well as the object hiarchy that defines elements and bins, along +well as the object hierarchy that defines elements and bins, along with some more specialized elements. &Gst; diff --git a/docs/gst/gstreamer-sections.txt b/docs/gst/gstreamer-sections.txt index 9df84a5..92c4c1f 100644 --- a/docs/gst/gstreamer-sections.txt +++ b/docs/gst/gstreamer-sections.txt @@ -240,7 +240,7 @@ GST_BUFFER_COPY_FUNC GST_BUFFER_FREE_FUNC GstBufferCopyFunc GstBufferFreeFunc -GstBufferFlags +GstBufferFlag GstBuffer gst_buffer_new gst_buffer_new_from_pool diff --git a/docs/gst/tmpl/gstbuffer.sgml b/docs/gst/tmpl/gstbuffer.sgml index 3669daa..a3e315f 100644 --- a/docs/gst/tmpl/gstbuffer.sgml +++ b/docs/gst/tmpl/gstbuffer.sgml @@ -6,9 +6,9 @@ Data-passing buffer type, supporting sub-buffers and metadata -Buffers are the basic unit of data transfer in GST. The GstBuffer type +Buffers are the basic unit of data transfer in GStreamer. The GstBuffer type provides all the state necessary to define a region of memory as part of a -stream. Sub-buffer are also supported, allowing a smaller region of a +stream. Sub-buffers are also supported, allowing a smaller region of a buffer to become its own buffer, with mechanisms in place to ensure that neither memory space goes away. Metadata is supported as a list of pointers to arbitrary metadata. @@ -27,7 +27,6 @@ buffer data. GST_BUFFER_SIZE (buffer) = size; GST_BUFFER_DATA (buffer) = g_alloc (size); ... - @@ -62,197 +61,194 @@ regardless of the refcount (dangerous). -Check if the object is a buffer. +Checks if the object is a buffer. -@buf: The object to check +@buf: object to check -Cast an object to a GstBuffer +Casts an object to a GstBuffer. -@buf: The object to cast. +@buf: object to cast -Get the flags from this buffer. +Gets the flags from this buffer. -@buf: GstBuffer to retrieve the flags from +@buf: #GstBuffer to retrieve the flags from -Gives the status of a given flag. +Gives the status of a given #GstBufferFlag. -@buf: GstBuffer to query -@flag: the flag to check +@buf: #GstBuffer to query +@flag: the #GstBufferFlag to check -Set a flag in a buffer. +Sets a buffer flag. -@buf: GstBuffer to query -@flag: the flag to set +@buf: #GstBuffer to modify +@flag: #GstBufferFlag to set -Clear a flag in a buffer. +Clears a buffer flag. -@buf: GstBuffer to modify -@flag: the flag to clear +@buf: #GstBuffer to modify +@flag: #GstBufferFlag to clear -Retrieves a pointer to the data element of this buffer +Retrieves a pointer to the data element of this buffer. -@buf: GstBuffer +@buf: #GstBuffer to get data pointer of -Get the size of the data in this buffer. +Gets the size of the data in this buffer. -@buf: GstBuffer +@buf: #GstBuffer to get data size of -Get the offset in the source file of this buffer. +Gets the offset in the source file of this buffer. -@buf: GstBuffer +@buf: #GstBuffer to get offset of -Gets the maximun size of this buffer. +Gets the maximum size of this buffer. -@buf: GstBuffer +@buf: #GstBuffer to get maximum size of -Get the timestamp for this buffer. +Gets the timestamp for this buffer. -@buf: GstBuffer +@buf: #GstBuffer to get timestamp of -Get the bufferpool for this buffer. +Gets the bufferpool for this buffer. -@buf: GstBuffer +@buf: #GstBuffer to get bufferpool of -Get the bufferpool private data. +Gets the bufferpool private data. -@buf: GstBuffer +@buf: #GstBuffer to get bufferpool's private data of -This macro will obtain a lock on the object, making serialization -possible. - +Obtains a lock on the object, making serialization possible. -@buf: GstBuffer to lock +@buf: #GstBuffer to lock -This macro will try to obtain a lock on the object, but will return with -FALSE if it can't get it immediately. - +Tries to obtain a lock on the buffer. +If it can't get immediately, will return FALSE. -@buf: GstBuffer to try to lock +@buf: #GstBuffer to try to lock -This macro releases a lock on the object. +Releases a lock on the buffer. -@buf: GstBuffer to unlock. +@buf: #GstBuffer to unlock -Get the parent of this buffer. The parent is set on subbuffers. +Gets the parent of this buffer. The parent is set on sub-buffers. -@buf: GstBuffer to get the parent of. +@buf: #GstBuffer to get parent of -Get the maximun age of a buffer. +Gets the maximum age of a buffer. -@buf: GstBuffer to get the maxage of. +@buf: #GstBuffer to get maximum age of -Call the buffer specific copy function on the given buffer. +Calls the buffer-specific copy function on the given buffer. -@buf: the buffer to copy. +@buf: #GstBuffer to copy -Call the buffer specific free function on the given buffer. +Calls the buffer-specific free function on the given buffer. -@buf: the buffer to free. +@buf: #GstBuffer to free -This function is used to copy the buffer contents. +This supplied function is used to copy the buffer contents. -@srcbuf: the src buffer -@Returns: The copied buffer +@srcbuf: #GstBuffer to copy from +@Returns: newly allocated #GstBuffer copy of srcbuf -The function called when the buffer data has to be freed +This supplied function is called when the buffer data has to be freed. -@buf: the buffer to clear the buffer data of. +@buf: #GstBuffer to clear the buffer data of - + - +This enumeration type describes the flags that can be used for a buffer. -@GST_BUFFER_READONLY: the buffer is read only -@GST_BUFFER_ORIGINAL: this buffer not a copy -@GST_BUFFER_DONTFREE: do not try to free the data when this buffer is unref-ed +@GST_BUFFER_READONLY: buffer is read-only +@GST_BUFFER_ORIGINAL: buffer is not a copy of another buffer +@GST_BUFFER_DONTFREE: do not try to free the data when this buffer is unreferenced diff --git a/docs/gst/tmpl/gstelement.sgml b/docs/gst/tmpl/gstelement.sgml index 98f3f44..2d23bf1 100644 --- a/docs/gst/tmpl/gstelement.sgml +++ b/docs/gst/tmpl/gstelement.sgml @@ -444,26 +444,6 @@ instead. @Returns: - - - - - -@element: -@templ: -@Returns: - - - - - - - -@element: -@templ: -@Returns: - - diff --git a/docs/gst/tmpl/gstpad.sgml b/docs/gst/tmpl/gstpad.sgml index c3bce94..97a3322 100644 --- a/docs/gst/tmpl/gstpad.sgml +++ b/docs/gst/tmpl/gstpad.sgml @@ -789,6 +789,7 @@ Destroy the pad. @sched_private: @peer: @bufpen: +@regiontype: @offset: @len: @chainfunc: diff --git a/docs/gst/tmpl/gstreamer-unused.sgml b/docs/gst/tmpl/gstreamer-unused.sgml index 507a0e8..7cd5ec1 100644 --- a/docs/gst/tmpl/gstreamer-unused.sgml +++ b/docs/gst/tmpl/gstreamer-unused.sgml @@ -5441,6 +5441,24 @@ must be defined to activate the tracing functionality. @parent: @Returns: + + + + + +@element: +@templ: +@Returns: + + + + + + +@element: +@templ: +@Returns: +