From 47ef3f848fa07f9b6770c661b005f2969e5a3ded Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 21 Feb 2001 23:01:36 +0000 Subject: [PATCH] Fixed the jpeg decoder Original commit message from CVS: Fixed the jpeg decoder Modifications for lame >=3.86 --- configure.in | 2 +- docs/gst/tmpl/gstasyncdisksrc.sgml | 17 + docs/gst/tmpl/gstpad.sgml | 28 +- docs/gst/tmpl/gstreamer-unused.sgml | 1439 ++++++++++++++++++----------------- 4 files changed, 778 insertions(+), 708 deletions(-) create mode 100644 docs/gst/tmpl/gstasyncdisksrc.sgml diff --git a/configure.in b/configure.in index d3ca376..a50d43f 100644 --- a/configure.in +++ b/configure.in @@ -345,7 +345,7 @@ AC_CHECK_HEADER(cdda_paranoia.h, :, HAVE_CDPARANOIA=no) dnl Check for liblame AC_MSG_CHECKING(LAME library) AC_CHECK_LIB(mp3lame, lame_init, HAVE_LIBLAME=yes, HAVE_LIBLAME=no, ) -AC_CHECK_HEADER(lame.h, :, HAVE_LIBLAME=no) +AC_CHECK_HEADER(lame/lame.h, :, HAVE_LIBLAME=no) dnl Check for libshout AC_MSG_CHECKING(Shout library) diff --git a/docs/gst/tmpl/gstasyncdisksrc.sgml b/docs/gst/tmpl/gstasyncdisksrc.sgml new file mode 100644 index 0000000..f31ccb9 --- /dev/null +++ b/docs/gst/tmpl/gstasyncdisksrc.sgml @@ -0,0 +1,17 @@ + +GstAsyncDiskSrc + + +Asynchronous disk reader. (asyncdisksrc) + + + +Reads data from a file. You can seek to a specific location by setting +the offset. + + + + + + + diff --git a/docs/gst/tmpl/gstpad.sgml b/docs/gst/tmpl/gstpad.sgml index 06601cf..c4dd1f6 100644 --- a/docs/gst/tmpl/gstpad.sgml +++ b/docs/gst/tmpl/gstpad.sgml @@ -127,9 +127,12 @@ The function that will be called when pulling a region buffer. @pad: the pad to get a buffer from +@type: @offset: the offset of the region to get -@size: the size of the region to get +@len: @Returns: a #GstBuffer + +@size: the size of the region to get @@ -175,9 +178,12 @@ The function that will be called when pulling a region buffer. @pad: the pad to pull +@type: @offset: the offset of the region to pull -@size: the size of the region to pull +@len: @Returns: a GstBuffer + +@size: the size of the region to pull @@ -446,24 +452,17 @@ Destroy the pad. @Returns: - + @pad: +@type: @offset: -@size: +@len: @Returns: - - - - - - - -@pad: -@offset: + @size: @@ -526,6 +525,9 @@ Call the EOS function of the pad @threadstate: @peer: @bufpen: +@regiontype: +@offset: +@len: @chainfunc: @getfunc: @getregionfunc: diff --git a/docs/gst/tmpl/gstreamer-unused.sgml b/docs/gst/tmpl/gstreamer-unused.sgml index a50a979..61b61d7 100644 --- a/docs/gst/tmpl/gstreamer-unused.sgml +++ b/docs/gst/tmpl/gstreamer-unused.sgml @@ -1,295 +1,307 @@ - + -@obj: +@pad: +@buf: - + - +Query the element for the current mime type - + +@Returns: - + -@format: -@args...: - + -@id: -@sink: - + -@src: +@Returns: - + -@Returns: +@obj: - + -@obj: +@meta: - + @obj: - + -An eos signal is triggered whenever the GstSrc has reached the end of -the stream. -@gstsrc: the object which received the signal. -@arg1: the object which received the signal - + -@name: -@Returns: +@pad: +@buf: - + +@pad: +@parent: - + - +This macro usets the given flags. -@obj: +@src: +@flag: Flag to set, must be a single bit in guint32. +@obj: GstSrc to unset flag in. - + +@pad: +@buf: - + +@pad: +@buf: - + +@Returns: - + -@obj: +@klass: - + -@obj: +@elementfactory: +@id: - + -@name: -@Returns: +@obj: - + -@obj: - + +@obj: - + -@format: -@args...: - + - +Use this macro to show debugging info. This is only usefull when developing new +plugin elements. +If you #define DEBUG_ENABLED before including gst/gst.h, this macro will produce +g_print messages. -@obj: +@format: the format specification as in g_print +@args...: arguments - + +GstEsdSink + + + -@obj: - + +@type: +@parent: +@Returns: - + + + - + -@klass: - + -@klass: +@src: - + @obj: - + - + -@Returns: +@obj: - + - + -@Returns: +@esdsink: +@format: - + +An eos signal is triggered whenever the GstSrc has reached the end of +the stream. -@obj: +@gstsrc: the object which received the signal. +@arg1: the object which received the signal - + - + -@klass: +@obj: - + -@Returns: - + -Use this macro to show debugging info. This is only usefull when developing new -plugin elements. -If you #define DEBUG_ENABLED before including gst/gst.h, this macro will produce -g_print messages. + -@format: the format specification as in g_print -@args...: arguments +@Returns: - + +@obj: - + +@Returns: - + @obj: - + -The sink is the end of the filter graph. A typical sink would be an audio -or a video card. +@obj: - + @@ -297,32 +309,38 @@ or a video card. @name: @Returns: - + -@Returns: +@pad: +@buf: - + +@pad: +@Returns: - + +GstSrc + + + - + -@name: -@Returns: +@obj: @@ -330,1082 +348,1063 @@ or a video card. - + @obj: - + -@connection: - - - -This macro checks to see if the GST_SRC_ASYNC flag is set. - - -@obj: GstSrc to check for flag in. - + +@name: +@Returns: - + - + @klass: - + -@arg: - - -GstEsdSink - - + +@klass: - + @obj: - + +@arg: - + +@pad: +@parent: +@Returns: - + -@name: -@Returns: +@obj: - + -A connection is a bas class for a generic connection between -elements. A connection is typically a bas class for queues. - - + +GstConnection - -@Returns: - - + - + +@obj: - + - +The frequency. -@pad: -@buf: - + - +Specify how many bytes to read at a time. -@id: -@src: - + -@Returns: - + -@pad: -@buf: - + -@cat: -@format: -@args...: +@name: +@Returns: - - + - -@id: -@Returns: - - + - - + - + +@Returns: - + -@klass: - + -@klass: +@connection: - + - +subclass use this to start their flag enumeration - + +GstElement + + + @obj: - + -@obj: +@id: +@Returns: - + +@buf: - + -@obj: +@audiosink: +@channels: - -GstColorSpace + +Generic connection between elements. - + - + -@obj: - + - + @obj: - + +@element: +@format: +@args...: - + -@id: -@Returns: +@obj: - -Take data in and spit data out + + + + +@obj: - + -Filters take data in and spit data out. They are the main Element in a filter graph. -Filters have zero or more inputs and zero or more outputs. Filters are connected -together to form filter graphs. A GstFilter is the base class and is not very usefull -on its own. +The sink is the end of the filter graph. A typical sink would be an audio +or a video card. + - + -@name: -@Returns: +@esdsink: +@channels: - + -@name: @Returns: - + +@obj: - + -@name: -@Returns: - + -@format: -@args...: +@obj: - + -@obj: - + +Query whether this object has multiple input pads. -@obj: +@obj: Element to query for multiple input pads. - + -@src: +@pad: +@offset: +@size: +@Returns: - + @name: +@fd: @Returns: - + +@format: +@args...: - + -@obj: - + -Is trigered whenever the state of an element changes - -@gstelement: the object which received the signal. -@arg1: the new state of the object - - -GstGetbits + - + -@klass: +@obj: - + -@element: -@format: -@args...: - + -@obj: - + -@src: -@offset: -@size: - + -@src: - + -@klass: +@obj: - + -@obj: +@pad: +@pull: - + -@name: -@Returns: - + -@name: @Returns: - + +@obj: - + -@klass: - + -A GstSrc is the start of a filter graph. It typically is a file or an -audio source. It provides data for the next element in the graph. - + -@pad: -@buf: +@src: - + -@obj: - + -@esdsink: -@channels: - + -@klass: +@format: +@args...: - + -@pad: -@parent: - + -@klass: +@obj: - + +@Returns: - -GstSrc + + +Specify the current offset in the file. + - + -@obj: +@name: +@Returns: - + -@obj: +@klass: - + -@Returns: +@obj: - + -@obj: - + -@Returns: - + -The frequency. + +@klass: - + - + +@name: +@Returns: - + -@obj: +@klass: - + -This macro unsets the given state on the element. + -@obj: Element to unset state of. -@flag: State to unset, can be any number of bits in guint32. +@Returns: - + +@obj: - + -This macro returns the entire set of flags for the object. + -@obj: GstSrc to return flags for. - + -@Returns: +@klass: - + -@tee: -@Returns: - - + - - + -@klass: +@Returns: - -The start point of a filter graph + + + + - + -@klass: - + @obj: - + - +Filters take data in and spit data out. They are the main Element in a filter graph. +Filters have zero or more inputs and zero or more outputs. Filters are connected +together to form filter graphs. A GstFilter is the base class and is not very usefull +on its own. - + -@obj: +@tee: +@Returns: - + +@obj: - + -@parent: -@Returns: +@obj: - + +@obj: - + + + +@klass: - - + - -@format: -@args...: - + -@klass: - + -@klass: - + @obj: - + -@Returns: +@pad: +@caps: - + +@klass: - + @obj: - -GstConnection - - - + - + - + +@name: +@Returns: - + -This macro sets the given state on the element. + -@obj: Element to set state of. -@flag: State to set, can be any number of bits in guint32. +@obj: - + +@name: +@Returns: - + -@klass: - + -@GST_CAPS_ALWAYS: -@GST_CAPS_MAYBE: +@obj: - + -@obj: - - -Generic connection between elements. - - + - + - + -@esdsink: +@klass: - + @obj: - + -@obj: +@src: - + -@obj: +@id: +@sink: - + +@obj: - + -@obj: - + - +This macro returns the entire set of flags for the object. -@obj: +@obj: GstSrc to return flags for. - -plugin + +GstGetbits - + - +Get the size of the current file. - + -@pad: -@buf: +@klass: - + +@name: +@Returns: - + +The start point of a filter graph + + + -@name: -@Returns: +@src: - + -@obj: +@element: +@parent: +@Returns: - + @obj: - + +@sinkid: +@srcid: +@Returns: - + +@obj: - + -This macro usets the given flags. + -@src: -@flag: Flag to set, must be a single bit in guint32. -@obj: GstSrc to unset flag in. - + -@audiosink: - + -@name: -@Returns: +@src: - + @obj: - + -@pad: +@id: @Returns: - + -@obj: - - +@esdsink: +@frequency: + + -@obj: +@klass: - + + + + + -A flag indicating that SSE instructions are supported. + - + -@pad: -@id: - + - + -@obj: - + - + +@Returns: - + + + +@obj: - -The end point of a filter graph + + + - +@Returns: + + -@Returns: +@obj: - + @klass: - + +@obj: - + @obj: - + -@Returns: +@klass: - + -@obj: - + -@Returns: +@audiosink: - + -@element: -@templ: -@Returns: -@temp: +@elementfactory: +@id: - + -@pad: -@caps: +@obj: + + + +This macro unsets the given state on the element. + + +@obj: Element to unset state of. +@flag: State to unset, can be any number of bits in guint32. @@ -1414,85 +1413,83 @@ The end point of a filter graph @obj: - + -This macro checks to see if the given state is set. + -@obj: Element to check for state. -@flag: State to check for, must be a single bit in guint32. +@klass: - + -@type: -@parent: -@Returns: +@pad: +@id: - + -@obj: - + @Returns: - + -@obj: +@pad: +@parent: - + +@name: +@Returns: - + -@obj: +@audiosink: +@frequency: - + -@Returns: - + -This macro sets the given flags. + -@src: -@flag: Flag to set, can by any number of bits in guint32. -@obj: GstSrc to set flag in. - + -Query a GstSrc for the ASYNC flag + -@obj: The GstSrc to query +@elementfactory: - + +@obj: @@ -1502,136 +1499,147 @@ Query a GstSrc for the ASYNC flag @argv: @Returns: - + +@obj: - + +@obj: - + -@pad: @Returns: - + +@element: +@object: +@format: +@args...: - -GstSink - - - + -@sinkid: -@srcid: -@Returns: +@obj: - + +@obj: - + - + -@Returns: +@obj: - + +@obj: - + -@connection: +@pad: +@buf: - + +@pad: +@Returns: - + +@Returns: - + -@obj: +@klass: - + +A connection is a bas class for a generic connection between +elements. A connection is typically a bas class for queues. -@buf: - + +@buf: - + -Query the element for the current mime type +Query a GstSrc for the ASYNC flag +@obj: The GstSrc to query - + + + +@obj: - + - +This macro sets the given state on the element. +@obj: Element to set state of. +@flag: State to set, can be any number of bits in guint32. - + -@buffer: -@size: -@root: -@Returns: +@pad: +@buf: - + @@ -1644,685 +1652,728 @@ Query the element for the current mime type @Returns: - + -@element: -@state: -@Returns: - + -@klass: +@obj: - + - + - + -@klass: +@src: +@offset: +@size: - + +@Returns: - + -@GST_PROPS_END_ID_NUM: -@GST_PROPS_LIST_ID_NUM: -@GST_PROPS_INT_ID_NUM: -@GST_PROPS_INT_RANGE_ID_NUM: -@GST_PROPS_FOURCC_ID_NUM: -@GST_PROPS_BOOL_ID_NUM: - + -@pad: -@Returns: +@obj: - + +@format: +@args...: - + - +Is trigered whenever the state of an element changes -@esdsink: -@frequency: +@gstelement: the object which received the signal. +@arg1: the new state of the object - + -Get the size of the current file. - - - - -subclass use this to start their flag enumeration +@obj: - + +@cat: @element: -@object: @format: @args...: - + -Flags for the GstSrc element + -@GST_SRC_ASYNC: Indicates that this src is asynchronous -@GST_SRC_FLAG_LAST: subclasses can use this to number their flags +@klass: - + +@name: +@Returns: - + +@klass: - + -@name: -@Returns: - + -@audiosink: -@channels: +@id: +@src: - + - + -@thread: +@Returns: - + @obj: - + - + @obj: - - + +Take data in and spit data out + + + +This macro checks to see if the GST_SRC_ASYNC flag is set. +@obj: GstSrc to check for flag in. - + -@obj: - + -@elementfactory: -@id: +@klass: - + -@Returns: - + - +A flag indicating that SSE instructions are supported. -@pad: -@buf: - + +@esdsink: - + -@pad: -@Returns: +@obj: - + +@connection: - + -@pad: -@buf: - + +@name: +@Returns: - + -@pad: -@buf: - + -Indicates this pad is active + +@Returns: - + -@klass: +@obj: - + -@obj: - + @obj: - + -@klass: - + +GstFilter + + + +@obj: - + +@obj: - + -@element: -@parent: @Returns: - + -@src: +@GST_PROPS_END_ID_NUM: +@GST_PROPS_LIST_ID_NUM: +@GST_PROPS_INT_ID_NUM: +@GST_PROPS_INT_RANGE_ID_NUM: +@GST_PROPS_FOURCC_ID_NUM: +@GST_PROPS_BOOL_ID_NUM: - + -@audiosink: -@frequency: +@pad: +@Returns: - + +@pad: +@Returns: - + -@elementfactory: +@thread: - + -@Returns: +@GST_CAPS_ALWAYS: +@GST_CAPS_MAYBE: - + -@meta: - + + +Flags for the GstSrc element + + +@GST_SRC_ASYNC: Indicates that this src is asynchronous +@GST_SRC_FLAG_LAST: subclasses can use this to number their flags + + -@Returns: +@obj: - + +GstColorSpace + + + + + + + +GST_ASYNCDISKSRC_OPEN +the asyncdisksrc is open for reading + + + -@Returns: +@GST_ASYNCDISKSRC_OPEN: +@GST_ASYNCDISKSRC_FLAG_LAST: - + -@obj: - + +@element: +@state: @Returns: - + -@obj: - + @pad: -@parent: @Returns: - + - + +@obj: - + -@obj: - + - +Specify the location of the file to read. -@obj: - + -@obj: +@klass: - + +@Returns: - + -@pad: -@parent: - - -GstElement - +@Returns: - + -@obj: +@klass: - + +@klass: - + - + +@parent: +@Returns: - + -@pad: -@pull: - + +@name: +@Returns: - + -@esdsink: @format: +@args...: - + -Query whether this object has multiple input pads. -@obj: Element to query for multiple input pads. +@element: +@templ: +@Returns: +@temp: - + -@klass: +@audiosink: +@format: - + +@obj: - + +The end point of a filter graph + + + +@cat: +@format: +@args...: - + @obj: - + + + +@name: +@Returns: - + -@src: - + -@klass: - - + +plugin + + + +This macro checks to see if the given state is set. -@obj: +@obj: Element to check for state. +@flag: State to check for, must be a single bit in guint32. - + -@obj: +@buffer: +@size: +@root: +@Returns: - + @obj: - + -@obj: - + - + @name: -@fd: @Returns: - -GstFilter + + + - +@obj: + + -@elementfactory: -@id: - + -@buf: - + -@pad: -@Returns: +@obj: - + - +This macro sets the given flags. -@audiosink: -@format: +@src: +@flag: Flag to set, can by any number of bits in guint32. +@obj: GstSrc to set flag in. - + @klass: - + @obj: - + -@Returns: +@klass: - + -@obj: - + + +Indicates this pad is active + + + + -@cat: -@element: -@format: -@args...: +@Returns: - + -@obj: +@name: +@Returns: - + -@obj: - + +A GstSrc is the start of a filter graph. It typically is a file or an +audio source. It provides data for the next element in the graph. -@name: -@Returns: - + + +GstSink + + A flag indicating that MMX instructions are supported. -- 2.7.4