mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 07:02:53 +00:00
libs: Remove "Since" markers and minor doc fixups
This commit is contained in:
parent
666716a0f0
commit
2817bdadc9
90 changed files with 94 additions and 1180 deletions
|
@ -59,8 +59,6 @@
|
|||
* to avoid polling.
|
||||
*
|
||||
* Last reviewed on 2008-12-17 (0.10.22)
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
@ -820,8 +818,6 @@ gst_app_sink_query (GstBaseSink * bsink, GstQuery * query)
|
|||
* a copy of the caps structure. After calling this method, the sink will only
|
||||
* accept caps that match @caps. If @caps is non-fixed, you must check the caps
|
||||
* on the buffers to get the actual used caps.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
void
|
||||
gst_app_sink_set_caps (GstAppSink * appsink, const GstCaps * caps)
|
||||
|
@ -853,8 +849,6 @@ gst_app_sink_set_caps (GstAppSink * appsink, const GstCaps * caps)
|
|||
* Get the configured caps on @appsink.
|
||||
*
|
||||
* Returns: the #GstCaps accepted by the sink. gst_caps_unref() after usage.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
GstCaps *
|
||||
gst_app_sink_get_caps (GstAppSink * appsink)
|
||||
|
@ -886,8 +880,6 @@ gst_app_sink_get_caps (GstAppSink * appsink)
|
|||
* PLAYING state.
|
||||
*
|
||||
* Returns: %TRUE if no more samples can be pulled and the appsink is EOS.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
gboolean
|
||||
gst_app_sink_is_eos (GstAppSink * appsink)
|
||||
|
@ -930,8 +922,6 @@ not_started:
|
|||
* Make appsink emit the "new-preroll" and "new-sample" signals. This option is
|
||||
* by default disabled because signal emission is expensive and unneeded when
|
||||
* the application prefers to operate in pull mode.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
void
|
||||
gst_app_sink_set_emit_signals (GstAppSink * appsink, gboolean emit)
|
||||
|
@ -955,8 +945,6 @@ gst_app_sink_set_emit_signals (GstAppSink * appsink, gboolean emit)
|
|||
*
|
||||
* Returns: %TRUE if @appsink is emiting the "new-preroll" and "new-sample"
|
||||
* signals.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
gboolean
|
||||
gst_app_sink_get_emit_signals (GstAppSink * appsink)
|
||||
|
@ -983,8 +971,6 @@ gst_app_sink_get_emit_signals (GstAppSink * appsink)
|
|||
* Set the maximum amount of buffers that can be queued in @appsink. After this
|
||||
* amount of buffers are queued in appsink, any more buffers will block upstream
|
||||
* elements until a sample is pulled from @appsink.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
void
|
||||
gst_app_sink_set_max_buffers (GstAppSink * appsink, guint max)
|
||||
|
@ -1011,8 +997,6 @@ gst_app_sink_set_max_buffers (GstAppSink * appsink, guint max)
|
|||
* Get the maximum amount of buffers that can be queued in @appsink.
|
||||
*
|
||||
* Returns: The maximum amount of buffers that can be queued.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
guint
|
||||
gst_app_sink_get_max_buffers (GstAppSink * appsink)
|
||||
|
@ -1038,8 +1022,6 @@ gst_app_sink_get_max_buffers (GstAppSink * appsink)
|
|||
*
|
||||
* Instruct @appsink to drop old buffers when the maximum amount of queued
|
||||
* buffers is reached.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
void
|
||||
gst_app_sink_set_drop (GstAppSink * appsink, gboolean drop)
|
||||
|
@ -1068,8 +1050,6 @@ gst_app_sink_set_drop (GstAppSink * appsink, gboolean drop)
|
|||
*
|
||||
* Returns: %TRUE if @appsink is dropping old buffers when the queue is
|
||||
* filled.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
gboolean
|
||||
gst_app_sink_get_drop (GstAppSink * appsink)
|
||||
|
@ -1110,8 +1090,6 @@ gst_app_sink_get_drop (GstAppSink * appsink)
|
|||
* element is set to the READY/NULL state.
|
||||
*
|
||||
* Returns: a #GstBuffer or NULL when the appsink is stopped or EOS.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
GstSample *
|
||||
gst_app_sink_pull_preroll (GstAppSink * appsink)
|
||||
|
@ -1180,8 +1158,6 @@ not_started:
|
|||
* %NULL. Use gst_app_sink_is_eos () to check for the EOS condition.
|
||||
*
|
||||
* Returns: a #GstBuffer or NULL when the appsink is stopped or EOS.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
|
||||
GstSample *
|
||||
|
@ -1250,8 +1226,6 @@ not_started:
|
|||
*
|
||||
* If callbacks are installed, no signals will be emitted for performance
|
||||
* reasons.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
void
|
||||
gst_app_sink_set_callbacks (GstAppSink * appsink,
|
||||
|
|
|
@ -35,7 +35,6 @@ G_BEGIN_DECLS
|
|||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_APP_SINK))
|
||||
#define GST_IS_APP_SINK_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_APP_SINK))
|
||||
/* Since 0.10.23 */
|
||||
#define GST_APP_SINK_CAST(obj) \
|
||||
((GstAppSink*)(obj))
|
||||
|
||||
|
@ -60,8 +59,6 @@ typedef struct _GstAppSinkPrivate GstAppSinkPrivate;
|
|||
*
|
||||
* A set of callbacks that can be installed on the appsink with
|
||||
* gst_app_sink_set_callbacks().
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
typedef struct {
|
||||
void (*eos) (GstAppSink *sink, gpointer user_data);
|
||||
|
|
|
@ -86,8 +86,6 @@
|
|||
* happened or the state of the appsrc has gone through READY.
|
||||
*
|
||||
* Last reviewed on 2008-12-17 (0.10.10)
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
@ -259,7 +257,7 @@ gst_app_src_class_init (GstAppSrcClass * klass)
|
|||
gobject_class->get_property = gst_app_src_get_property;
|
||||
|
||||
/**
|
||||
* GstAppSrc::caps
|
||||
* GstAppSrc::caps:
|
||||
*
|
||||
* The GstCaps that will negotiated downstream and will be put
|
||||
* on outgoing buffers.
|
||||
|
@ -269,7 +267,7 @@ gst_app_src_class_init (GstAppSrcClass * klass)
|
|||
"The allowed caps for the src pad", GST_TYPE_CAPS,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstAppSrc::format
|
||||
* GstAppSrc::format:
|
||||
*
|
||||
* The format to use for segment events. When the source is producing
|
||||
* timestamped buffers this property should be set to GST_FORMAT_TIME.
|
||||
|
@ -279,7 +277,7 @@ gst_app_src_class_init (GstAppSrcClass * klass)
|
|||
"The format of the segment events and seek", GST_TYPE_FORMAT,
|
||||
DEFAULT_PROP_FORMAT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstAppSrc::size
|
||||
* GstAppSrc::size:
|
||||
*
|
||||
* The total size in bytes of the data stream. If the total size is known, it
|
||||
* is recommended to configure it with this property.
|
||||
|
@ -290,7 +288,7 @@ gst_app_src_class_init (GstAppSrcClass * klass)
|
|||
-1, G_MAXINT64, DEFAULT_PROP_SIZE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstAppSrc::stream-type
|
||||
* GstAppSrc::stream-type:
|
||||
*
|
||||
* The type of stream that this source is producing. For seekable streams the
|
||||
* application should connect to the seek-data signal.
|
||||
|
@ -301,7 +299,7 @@ gst_app_src_class_init (GstAppSrcClass * klass)
|
|||
DEFAULT_PROP_STREAM_TYPE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstAppSrc::max-bytes
|
||||
* GstAppSrc::max-bytes:
|
||||
*
|
||||
* The maximum amount of bytes that can be queued internally.
|
||||
* After the maximum amount of bytes are queued, appsrc will emit the
|
||||
|
@ -313,7 +311,7 @@ gst_app_src_class_init (GstAppSrcClass * klass)
|
|||
0, G_MAXUINT64, DEFAULT_PROP_MAX_BYTES,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstAppSrc::block
|
||||
* GstAppSrc::block:
|
||||
*
|
||||
* When max-bytes are queued and after the enough-data signal has been emitted,
|
||||
* block any further push-buffer calls until the amount of queued bytes drops
|
||||
|
@ -325,7 +323,7 @@ gst_app_src_class_init (GstAppSrcClass * klass)
|
|||
DEFAULT_PROP_BLOCK, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
* GstAppSrc::is-live
|
||||
* GstAppSrc::is-live:
|
||||
*
|
||||
* Instruct the source to behave like a live source. This includes that it
|
||||
* will only push out buffers in the PLAYING state.
|
||||
|
@ -335,7 +333,7 @@ gst_app_src_class_init (GstAppSrcClass * klass)
|
|||
"Whether to act as a live source",
|
||||
DEFAULT_PROP_IS_LIVE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstAppSrc::min-latency
|
||||
* GstAppSrc::min-latency:
|
||||
*
|
||||
* The minimum latency of the source. A value of -1 will use the default
|
||||
* latency calculations of #GstBaseSrc.
|
||||
|
@ -346,7 +344,7 @@ gst_app_src_class_init (GstAppSrcClass * klass)
|
|||
-1, G_MAXINT64, DEFAULT_PROP_MIN_LATENCY,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstAppSrc::max-latency
|
||||
* GstAppSrc::max-latency:
|
||||
*
|
||||
* The maximum latency of the source. A value of -1 means an unlimited amout
|
||||
* of latency.
|
||||
|
@ -358,13 +356,11 @@ gst_app_src_class_init (GstAppSrcClass * klass)
|
|||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
* GstAppSrc::emit-signals
|
||||
* GstAppSrc::emit-signals:
|
||||
*
|
||||
* Make appsrc emit the "need-data", "enough-data" and "seek-data" signals.
|
||||
* This option is by default enabled for backwards compatibility reasons but
|
||||
* can disabled when needed because signal emission is expensive.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_EMIT_SIGNALS,
|
||||
g_param_spec_boolean ("emit-signals", "Emit signals",
|
||||
|
@ -373,12 +369,10 @@ gst_app_src_class_init (GstAppSrcClass * klass)
|
|||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
* GstAppSrc::empty-percent
|
||||
* GstAppSrc::empty-percent:
|
||||
*
|
||||
* Make appsrc emit the "need-data" signal when the amount of bytes in the
|
||||
* queue drops below this percentage of max-bytes.
|
||||
*
|
||||
* Since: 0.10.27
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_MIN_PERCENT,
|
||||
g_param_spec_uint ("min-percent", "Min Percent",
|
||||
|
@ -1085,8 +1079,6 @@ seek_error:
|
|||
* a copy of the caps structure. After calling this method, the source will
|
||||
* only produce caps that match @caps. @caps must be fixed and the caps on the
|
||||
* buffers must match the caps or left NULL.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
void
|
||||
gst_app_src_set_caps (GstAppSrc * appsrc, const GstCaps * caps)
|
||||
|
@ -1118,8 +1110,6 @@ gst_app_src_set_caps (GstAppSrc * appsrc, const GstCaps * caps)
|
|||
* Get the configured caps on @appsrc.
|
||||
*
|
||||
* Returns: the #GstCaps produced by the source. gst_caps_unref() after usage.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
GstCaps *
|
||||
gst_app_src_get_caps (GstAppSrc * appsrc)
|
||||
|
@ -1136,8 +1126,6 @@ gst_app_src_get_caps (GstAppSrc * appsrc)
|
|||
*
|
||||
* Set the size of the stream in bytes. A value of -1 means that the size is
|
||||
* not known.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
void
|
||||
gst_app_src_set_size (GstAppSrc * appsrc, gint64 size)
|
||||
|
@ -1162,8 +1150,6 @@ gst_app_src_set_size (GstAppSrc * appsrc, gint64 size)
|
|||
* not known.
|
||||
*
|
||||
* Returns: the size of the stream previously set with gst_app_src_set_size();
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
gint64
|
||||
gst_app_src_get_size (GstAppSrc * appsrc)
|
||||
|
@ -1192,8 +1178,6 @@ gst_app_src_get_size (GstAppSrc * appsrc)
|
|||
* be connected to.
|
||||
*
|
||||
* A stream_type stream
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
void
|
||||
gst_app_src_set_stream_type (GstAppSrc * appsrc, GstAppStreamType type)
|
||||
|
@ -1218,8 +1202,6 @@ gst_app_src_set_stream_type (GstAppSrc * appsrc, GstAppStreamType type)
|
|||
* with gst_app_src_set_stream_type().
|
||||
*
|
||||
* Returns: the stream type.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
GstAppStreamType
|
||||
gst_app_src_get_stream_type (GstAppSrc * appsrc)
|
||||
|
@ -1247,8 +1229,6 @@ gst_app_src_get_stream_type (GstAppSrc * appsrc)
|
|||
* Set the maximum amount of bytes that can be queued in @appsrc.
|
||||
* After the maximum amount of bytes are queued, @appsrc will emit the
|
||||
* "enough-data" signal.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
void
|
||||
gst_app_src_set_max_bytes (GstAppSrc * appsrc, guint64 max)
|
||||
|
@ -1276,8 +1256,6 @@ gst_app_src_set_max_bytes (GstAppSrc * appsrc, guint64 max)
|
|||
* Get the maximum amount of bytes that can be queued in @appsrc.
|
||||
*
|
||||
* Returns: The maximum amount of bytes that can be queued.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
guint64
|
||||
gst_app_src_get_max_bytes (GstAppSrc * appsrc)
|
||||
|
@ -1330,8 +1308,6 @@ gst_app_src_set_latencies (GstAppSrc * appsrc, gboolean do_min, guint64 min,
|
|||
*
|
||||
* Configure the @min and @max latency in @src. If @min is set to -1, the
|
||||
* default latency calculations for pseudo-live sources will be used.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
void
|
||||
gst_app_src_set_latency (GstAppSrc * appsrc, guint64 min, guint64 max)
|
||||
|
@ -1346,8 +1322,6 @@ gst_app_src_set_latency (GstAppSrc * appsrc, guint64 min, guint64 max)
|
|||
* @max: the min latency
|
||||
*
|
||||
* Retrieve the min and max latencies in @min and @max respectively.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
void
|
||||
gst_app_src_get_latency (GstAppSrc * appsrc, guint64 * min, guint64 * max)
|
||||
|
@ -1374,8 +1348,6 @@ gst_app_src_get_latency (GstAppSrc * appsrc, guint64 * min, guint64 * max)
|
|||
* Make appsrc emit the "new-preroll" and "new-buffer" signals. This option is
|
||||
* by default disabled because signal emission is expensive and unneeded when
|
||||
* the application prefers to operate in pull mode.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
void
|
||||
gst_app_src_set_emit_signals (GstAppSrc * appsrc, gboolean emit)
|
||||
|
@ -1399,8 +1371,6 @@ gst_app_src_set_emit_signals (GstAppSrc * appsrc, gboolean emit)
|
|||
*
|
||||
* Returns: %TRUE if @appsrc is emitting the "new-preroll" and "new-buffer"
|
||||
* signals.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
gboolean
|
||||
gst_app_src_get_emit_signals (GstAppSrc * appsrc)
|
||||
|
@ -1522,8 +1492,6 @@ eos:
|
|||
* Returns: #GST_FLOW_OK when the buffer was successfuly queued.
|
||||
* #GST_FLOW_FLUSHING when @appsrc is not PAUSED or PLAYING.
|
||||
* #GST_FLOW_EOS when EOS occured.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
GstFlowReturn
|
||||
gst_app_src_push_buffer (GstAppSrc * appsrc, GstBuffer * buffer)
|
||||
|
@ -1548,8 +1516,6 @@ gst_app_src_push_buffer_action (GstAppSrc * appsrc, GstBuffer * buffer)
|
|||
*
|
||||
* Returns: #GST_FLOW_OK when the EOS was successfuly queued.
|
||||
* #GST_FLOW_FLUSHING when @appsrc is not PAUSED or PLAYING.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
GstFlowReturn
|
||||
gst_app_src_end_of_stream (GstAppSrc * appsrc)
|
||||
|
@ -1596,8 +1562,6 @@ flushing:
|
|||
*
|
||||
* If callbacks are installed, no signals will be emitted for performance
|
||||
* reasons.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
void
|
||||
gst_app_src_set_callbacks (GstAppSrc * appsrc,
|
||||
|
|
|
@ -35,7 +35,6 @@ G_BEGIN_DECLS
|
|||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_APP_SRC))
|
||||
#define GST_IS_APP_SRC_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_APP_SRC))
|
||||
/* Since 0.10.23 */
|
||||
#define GST_APP_SRC_CAST(obj) \
|
||||
((GstAppSrc*)(obj))
|
||||
|
||||
|
@ -57,8 +56,6 @@ typedef struct _GstAppSrcPrivate GstAppSrcPrivate;
|
|||
*
|
||||
* A set of callbacks that can be installed on the appsrc with
|
||||
* gst_app_src_set_callbacks().
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
typedef struct {
|
||||
void (*need_data) (GstAppSrc *src, guint length, gpointer user_data);
|
||||
|
@ -117,7 +114,7 @@ struct _GstAppSrcClass
|
|||
|
||||
GType gst_app_src_get_type(void);
|
||||
|
||||
/* GType getter for GstAppStreamType, since 0.10.32 */
|
||||
/* GType getter for GstAppStreamType */
|
||||
#define GST_TYPE_APP_STREAM_TYPE (gst_app_stream_type_get_type ())
|
||||
GType gst_app_stream_type_get_type (void);
|
||||
|
||||
|
|
|
@ -293,7 +293,6 @@ gst_audio_channel_positions_to_mask (const GstAudioChannelPosition * position,
|
|||
* @channels: The number of channels
|
||||
* @channel_mask: The input channel_mask
|
||||
* @position: The %GstAudioChannelPositions
|
||||
* @caps: a #GstCaps
|
||||
*
|
||||
* Convert the @channels present in @channel_mask to a @position array
|
||||
* (which should have at least @channels entries ensured by caller).
|
||||
|
|
|
@ -370,10 +370,10 @@ invalid_channel_positions:
|
|||
/**
|
||||
* gst_audio_info_convert:
|
||||
* @info: a #GstAudioInfo
|
||||
* @src_format: #GstFormat of the @src_value
|
||||
* @src_value: value to convert
|
||||
* @dest_format: #GstFormat of the @dest_value
|
||||
* @dest_value: pointer to destination value
|
||||
* @src_fmt: #GstFormat of the @src_val
|
||||
* @src_val: value to convert
|
||||
* @dest_fmt: #GstFormat of the @dest_val
|
||||
* @dest_val: pointer to destination value
|
||||
*
|
||||
* Converts among various #GstFormat types. This function handles
|
||||
* GST_FORMAT_BYTES, GST_FORMAT_TIME, and GST_FORMAT_DEFAULT. For
|
||||
|
|
|
@ -51,8 +51,6 @@
|
|||
*
|
||||
* If the buffer has no timestamp, it is assumed to be inside the segment and
|
||||
* is not clipped
|
||||
*
|
||||
* Since: 0.10.14
|
||||
*/
|
||||
GstBuffer *
|
||||
gst_audio_buffer_clip (GstBuffer * buffer, GstSegment * segment, gint rate,
|
||||
|
|
|
@ -234,12 +234,10 @@ gst_audio_base_sink_class_init (GstAudioBaseSinkClass * klass)
|
|||
"Allow pull-based scheduling", DEFAULT_CAN_ACTIVATE_PULL,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstAudioBaseSink:drift-tolerance
|
||||
* GstAudioBaseSink:drift-tolerance:
|
||||
*
|
||||
* Controls the amount of time in microseconds that clocks are allowed
|
||||
* to drift before resynchronisation happens.
|
||||
*
|
||||
* Since: 0.10.26
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_DRIFT_TOLERANCE,
|
||||
g_param_spec_int64 ("drift-tolerance", "Drift Tolerance",
|
||||
|
@ -247,12 +245,10 @@ gst_audio_base_sink_class_init (GstAudioBaseSinkClass * klass)
|
|||
G_MAXINT64, DEFAULT_DRIFT_TOLERANCE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstAudioBaseSink:alignment_threshold
|
||||
* GstAudioBaseSink:alignment_threshold:
|
||||
*
|
||||
* Controls the amount of time in nanoseconds that timestamps are allowed
|
||||
* to drift from their ideal time before choosing not to align them.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_ALIGNMENT_THRESHOLD,
|
||||
g_param_spec_uint64 ("alignment-threshold", "Alignment Threshold",
|
||||
|
@ -261,12 +257,10 @@ gst_audio_base_sink_class_init (GstAudioBaseSinkClass * klass)
|
|||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
* GstAudioBaseSink:discont-wait
|
||||
* GstAudioBaseSink:discont-wait:
|
||||
*
|
||||
* A window of time in nanoseconds to wait before creating a discontinuity as
|
||||
* a result of breaching the drift-tolerance.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_DISCONT_WAIT,
|
||||
g_param_spec_uint64 ("discont-wait", "Discont Wait",
|
||||
|
@ -561,8 +555,6 @@ gst_audio_base_sink_get_time (GstClock * clock, GstAudioBaseSink * sink)
|
|||
* Controls whether @sink will provide a clock or not. If @provide is %TRUE,
|
||||
* gst_element_provide_clock() will return a clock that reflects the datarate
|
||||
* of @sink. If @provide is %FALSE, gst_element_provide_clock() will return NULL.
|
||||
*
|
||||
* Since: 0.10.16
|
||||
*/
|
||||
void
|
||||
gst_audio_base_sink_set_provide_clock (GstAudioBaseSink * sink,
|
||||
|
@ -586,8 +578,6 @@ gst_audio_base_sink_set_provide_clock (GstAudioBaseSink * sink,
|
|||
* gst_audio_base_sink_set_provide_clock.
|
||||
*
|
||||
* Returns: %TRUE if @sink will provide a clock.
|
||||
*
|
||||
* Since: 0.10.16
|
||||
*/
|
||||
gboolean
|
||||
gst_audio_base_sink_get_provide_clock (GstAudioBaseSink * sink)
|
||||
|
@ -609,8 +599,6 @@ gst_audio_base_sink_get_provide_clock (GstAudioBaseSink * sink)
|
|||
* @method: the new slave method
|
||||
*
|
||||
* Controls how clock slaving will be performed in @sink.
|
||||
*
|
||||
* Since: 0.10.16
|
||||
*/
|
||||
void
|
||||
gst_audio_base_sink_set_slave_method (GstAudioBaseSink * sink,
|
||||
|
@ -630,8 +618,6 @@ gst_audio_base_sink_set_slave_method (GstAudioBaseSink * sink,
|
|||
* Get the current slave method used by @sink.
|
||||
*
|
||||
* Returns: The current slave method used by @sink.
|
||||
*
|
||||
* Since: 0.10.16
|
||||
*/
|
||||
GstAudioBaseSinkSlaveMethod
|
||||
gst_audio_base_sink_get_slave_method (GstAudioBaseSink * sink)
|
||||
|
@ -654,8 +640,6 @@ gst_audio_base_sink_get_slave_method (GstAudioBaseSink * sink)
|
|||
* @drift_tolerance: the new drift tolerance in microseconds
|
||||
*
|
||||
* Controls the sink's drift tolerance.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
void
|
||||
gst_audio_base_sink_set_drift_tolerance (GstAudioBaseSink * sink,
|
||||
|
@ -669,14 +653,12 @@ gst_audio_base_sink_set_drift_tolerance (GstAudioBaseSink * sink,
|
|||
}
|
||||
|
||||
/**
|
||||
* gst_audio_base_sink_get_drift_tolerance
|
||||
* gst_audio_base_sink_get_drift_tolerance:
|
||||
* @sink: a #GstAudioBaseSink
|
||||
*
|
||||
* Get the current drift tolerance, in microseconds, used by @sink.
|
||||
*
|
||||
* Returns: The current drift tolerance used by @sink.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
gint64
|
||||
gst_audio_base_sink_get_drift_tolerance (GstAudioBaseSink * sink)
|
||||
|
@ -698,8 +680,6 @@ gst_audio_base_sink_get_drift_tolerance (GstAudioBaseSink * sink)
|
|||
* @alignment_threshold: the new alignment threshold in nanoseconds
|
||||
*
|
||||
* Controls the sink's alignment threshold.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_base_sink_set_alignment_threshold (GstAudioBaseSink * sink,
|
||||
|
@ -713,14 +693,12 @@ gst_audio_base_sink_set_alignment_threshold (GstAudioBaseSink * sink,
|
|||
}
|
||||
|
||||
/**
|
||||
* gst_audio_base_sink_get_alignment_threshold
|
||||
* gst_audio_base_sink_get_alignment_threshold:
|
||||
* @sink: a #GstAudioBaseSink
|
||||
*
|
||||
* Get the current alignment threshold, in nanoseconds, used by @sink.
|
||||
*
|
||||
* Returns: The current alignment threshold used by @sink.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstClockTime
|
||||
gst_audio_base_sink_get_alignment_threshold (GstAudioBaseSink * sink)
|
||||
|
@ -742,8 +720,6 @@ gst_audio_base_sink_get_alignment_threshold (GstAudioBaseSink * sink)
|
|||
* @discont_wait: the new discont wait in nanoseconds
|
||||
*
|
||||
* Controls how long the sink will wait before creating a discontinuity.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_base_sink_set_discont_wait (GstAudioBaseSink * sink,
|
||||
|
@ -757,14 +733,12 @@ gst_audio_base_sink_set_discont_wait (GstAudioBaseSink * sink,
|
|||
}
|
||||
|
||||
/**
|
||||
* gst_audio_base_sink_get_discont_wait
|
||||
* gst_audio_base_sink_get_discont_wait:
|
||||
* @sink: a #GstAudioBaseSink
|
||||
*
|
||||
* Get the current discont wait, in nanoseconds, used by @sink.
|
||||
*
|
||||
* Returns: The current discont wait used by @sink.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstClockTime
|
||||
gst_audio_base_sink_get_discont_wait (GstAudioBaseSink * sink)
|
||||
|
@ -1981,7 +1955,7 @@ sync_latency_failed:
|
|||
* ::create_ringbuffer vmethod and will set @sink as the parent of the returned
|
||||
* buffer (see gst_object_set_parent()).
|
||||
*
|
||||
* Returns: The new ringbuffer of @sink.
|
||||
* Returns: (transfer none): The new ringbuffer of @sink.
|
||||
*/
|
||||
GstAudioRingBuffer *
|
||||
gst_audio_base_sink_create_ringbuffer (GstAudioBaseSink * sink)
|
||||
|
|
|
@ -139,7 +139,7 @@ struct _GstAudioBaseSink {
|
|||
* @payload: payload data in a format suitable to write to the sink. If no
|
||||
* payloading is required, returns a reffed copy of the original
|
||||
* buffer, else returns the payloaded buffer with all other metadata
|
||||
* copied. (Since: 0.10.36)
|
||||
* copied.
|
||||
*
|
||||
* #GstAudioBaseSink class. Override the vmethod to implement
|
||||
* functionality.
|
||||
|
|
|
@ -179,8 +179,6 @@ gst_audio_base_src_class_init (GstAudioBaseSrcClass * klass)
|
|||
* GstAudioBaseSrc:actual-buffer-time:
|
||||
*
|
||||
* Actual configured size of audio buffer in microseconds.
|
||||
*
|
||||
* Since: 0.10.20
|
||||
**/
|
||||
g_object_class_install_property (gobject_class, PROP_ACTUAL_BUFFER_TIME,
|
||||
g_param_spec_int64 ("actual-buffer-time", "Actual Buffer Time",
|
||||
|
@ -192,8 +190,6 @@ gst_audio_base_src_class_init (GstAudioBaseSrcClass * klass)
|
|||
* GstAudioBaseSrc:actual-latency-time:
|
||||
*
|
||||
* Actual configured audio latency in microseconds.
|
||||
*
|
||||
* Since: 0.10.20
|
||||
**/
|
||||
g_object_class_install_property (gobject_class, PROP_ACTUAL_LATENCY_TIME,
|
||||
g_param_spec_int64 ("actual-latency-time", "Actual Latency Time",
|
||||
|
@ -357,8 +353,6 @@ gst_audio_base_src_get_time (GstClock * clock, GstAudioBaseSrc * src)
|
|||
* Controls whether @src will provide a clock or not. If @provide is %TRUE,
|
||||
* gst_element_provide_clock() will return a clock that reflects the datarate
|
||||
* of @src. If @provide is %FALSE, gst_element_provide_clock() will return NULL.
|
||||
*
|
||||
* Since: 0.10.16
|
||||
*/
|
||||
void
|
||||
gst_audio_base_src_set_provide_clock (GstAudioBaseSrc * src, gboolean provide)
|
||||
|
@ -381,8 +375,6 @@ gst_audio_base_src_set_provide_clock (GstAudioBaseSrc * src, gboolean provide)
|
|||
* gst_audio_base_src_set_provide_clock.
|
||||
*
|
||||
* Returns: %TRUE if @src will provide a clock.
|
||||
*
|
||||
* Since: 0.10.16
|
||||
*/
|
||||
gboolean
|
||||
gst_audio_base_src_get_provide_clock (GstAudioBaseSrc * src)
|
||||
|
@ -404,8 +396,6 @@ gst_audio_base_src_get_provide_clock (GstAudioBaseSrc * src)
|
|||
* @method: the new slave method
|
||||
*
|
||||
* Controls how clock slaving will be performed in @src.
|
||||
*
|
||||
* Since: 0.10.20
|
||||
*/
|
||||
void
|
||||
gst_audio_base_src_set_slave_method (GstAudioBaseSrc * src,
|
||||
|
@ -425,8 +415,6 @@ gst_audio_base_src_set_slave_method (GstAudioBaseSrc * src,
|
|||
* Get the current slave method used by @src.
|
||||
*
|
||||
* Returns: The current slave method used by @src.
|
||||
*
|
||||
* Since: 0.10.20
|
||||
*/
|
||||
GstAudioBaseSrcSlaveMethod
|
||||
gst_audio_base_src_get_slave_method (GstAudioBaseSrc * src)
|
||||
|
@ -1062,7 +1050,7 @@ stopped:
|
|||
* ::create_ringbuffer vmethod and will set @src as the parent of the returned
|
||||
* buffer (see gst_object_set_parent()).
|
||||
*
|
||||
* Returns: The new ringbuffer of @src.
|
||||
* Returns: (transfer none): The new ringbuffer of @src.
|
||||
*/
|
||||
GstAudioRingBuffer *
|
||||
gst_audio_base_src_create_ringbuffer (GstAudioBaseSrc * src)
|
||||
|
|
|
@ -131,8 +131,6 @@ gst_audio_clock_dispose (GObject * object)
|
|||
* #GST_CLOCK_TIME_NONE, the clock will return the last reported time.
|
||||
*
|
||||
* Returns: a new #GstAudioClock casted to a #GstClock.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
GstClock *
|
||||
gst_audio_clock_new (const gchar * name, GstAudioClockGetTimeFunc func,
|
||||
|
@ -217,8 +215,6 @@ gst_audio_clock_get_internal_time (GstClock * clock)
|
|||
* any offsets.
|
||||
*
|
||||
* Returns: the time as reported by the time function of the audio clock
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GstClockTime
|
||||
gst_audio_clock_get_time (GstClock * clock)
|
||||
|
@ -249,8 +245,6 @@ gst_audio_clock_get_time (GstClock * clock)
|
|||
* Adjust @time with the internal offset of the audio clock.
|
||||
*
|
||||
* Returns: @time adjusted with the internal offset.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GstClockTime
|
||||
gst_audio_clock_adjust (GstClock * clock, GstClockTime time)
|
||||
|
@ -275,8 +269,6 @@ gst_audio_clock_adjust (GstClock * clock, GstClockTime time)
|
|||
*
|
||||
* After calling this function, @clock will return the last returned time for
|
||||
* the rest of its lifetime.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
void
|
||||
gst_audio_clock_invalidate (GstClock * clock)
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
* SECTION:gstaudiodecoder
|
||||
* @short_description: Base class for audio decoders
|
||||
* @see_also: #GstBaseTransform
|
||||
* @since: 0.10.36
|
||||
*
|
||||
* This base class is for audio decoders turning encoded data into
|
||||
* raw audio samples.
|
||||
|
@ -823,8 +822,6 @@ gst_audio_decoder_push_event (GstAudioDecoder * dec, GstEvent * event)
|
|||
* invalidated by a call to this function.
|
||||
*
|
||||
* Returns: a #GstFlowReturn that should be escalated to caller (of caller)
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstFlowReturn
|
||||
gst_audio_decoder_finish_frame (GstAudioDecoder * dec, GstBuffer * buf,
|
||||
|
@ -2252,8 +2249,6 @@ _gst_audio_decoder_error (GstAudioDecoder * dec, gint weight,
|
|||
* @dec: a #GstAudioDecoder
|
||||
*
|
||||
* Returns: a #GstAudioInfo describing the input audio format
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstAudioInfo *
|
||||
gst_audio_decoder_get_audio_info (GstAudioDecoder * dec)
|
||||
|
@ -2269,8 +2264,6 @@ gst_audio_decoder_get_audio_info (GstAudioDecoder * dec)
|
|||
* @plc: new plc state
|
||||
*
|
||||
* Indicates whether or not subclass handles packet loss concealment (plc).
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_decoder_set_plc_aware (GstAudioDecoder * dec, gboolean plc)
|
||||
|
@ -2285,8 +2278,6 @@ gst_audio_decoder_set_plc_aware (GstAudioDecoder * dec, gboolean plc)
|
|||
* @dec: a #GstAudioDecoder
|
||||
*
|
||||
* Returns: currently configured plc handling
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gint
|
||||
gst_audio_decoder_get_plc_aware (GstAudioDecoder * dec)
|
||||
|
@ -2302,8 +2293,6 @@ gst_audio_decoder_get_plc_aware (GstAudioDecoder * dec)
|
|||
* @enabled: whether to enable byte to time conversion
|
||||
*
|
||||
* Allows baseclass to perform byte to time estimated conversion.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_decoder_set_estimate_rate (GstAudioDecoder * dec, gboolean enabled)
|
||||
|
@ -2318,8 +2307,6 @@ gst_audio_decoder_set_estimate_rate (GstAudioDecoder * dec, gboolean enabled)
|
|||
* @dec: a #GstAudioDecoder
|
||||
*
|
||||
* Returns: currently configured byte to time conversion setting
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gint
|
||||
gst_audio_decoder_get_estimate_rate (GstAudioDecoder * dec)
|
||||
|
@ -2334,8 +2321,6 @@ gst_audio_decoder_get_estimate_rate (GstAudioDecoder * dec)
|
|||
* @dec: a #GstAudioDecoder
|
||||
*
|
||||
* Returns: currently configured decoder delay
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gint
|
||||
gst_audio_decoder_get_delay (GstAudioDecoder * dec)
|
||||
|
@ -2353,8 +2338,6 @@ gst_audio_decoder_get_delay (GstAudioDecoder * dec)
|
|||
* Sets numbers of tolerated decoder errors, where a tolerated one is then only
|
||||
* warned about, but more than tolerated will lead to fatal error. Default
|
||||
* is set to GST_AUDIO_DECODER_MAX_ERRORS.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_decoder_set_max_errors (GstAudioDecoder * dec, gint num)
|
||||
|
@ -2369,8 +2352,6 @@ gst_audio_decoder_set_max_errors (GstAudioDecoder * dec, gint num)
|
|||
* @dec: a #GstAudioDecoder
|
||||
*
|
||||
* Returns: currently configured decoder tolerated error count.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gint
|
||||
gst_audio_decoder_get_max_errors (GstAudioDecoder * dec)
|
||||
|
@ -2387,8 +2368,6 @@ gst_audio_decoder_get_max_errors (GstAudioDecoder * dec)
|
|||
* @max: maximum latency
|
||||
*
|
||||
* Sets decoder latency.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_decoder_set_latency (GstAudioDecoder * dec,
|
||||
|
@ -2410,8 +2389,6 @@ gst_audio_decoder_set_latency (GstAudioDecoder * dec,
|
|||
*
|
||||
* Sets the variables pointed to by @min and @max to the currently configured
|
||||
* latency.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_decoder_get_latency (GstAudioDecoder * dec,
|
||||
|
@ -2434,8 +2411,6 @@ gst_audio_decoder_get_latency (GstAudioDecoder * dec,
|
|||
* @eos: a pointer to a variable to hold the current eos state
|
||||
*
|
||||
* Return current parsing (sync and eos) state.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_decoder_get_parse_state (GstAudioDecoder * dec,
|
||||
|
@ -2458,8 +2433,6 @@ gst_audio_decoder_get_parse_state (GstAudioDecoder * dec,
|
|||
* and codec are capable and allow handling plc.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_decoder_set_plc (GstAudioDecoder * dec, gboolean enabled)
|
||||
|
@ -2482,8 +2455,6 @@ gst_audio_decoder_set_plc (GstAudioDecoder * dec, gboolean enabled)
|
|||
* Returns: TRUE if packet loss concealment is enabled.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gboolean
|
||||
gst_audio_decoder_get_plc (GstAudioDecoder * dec)
|
||||
|
@ -2507,8 +2478,6 @@ gst_audio_decoder_get_plc (GstAudioDecoder * dec)
|
|||
* Sets decoder minimum aggregation latency.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_decoder_set_min_latency (GstAudioDecoder * dec, gint64 num)
|
||||
|
@ -2529,8 +2498,6 @@ gst_audio_decoder_set_min_latency (GstAudioDecoder * dec, gint64 num)
|
|||
* Returns: aggregation latency.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gint64
|
||||
gst_audio_decoder_get_min_latency (GstAudioDecoder * dec)
|
||||
|
@ -2554,8 +2521,6 @@ gst_audio_decoder_get_min_latency (GstAudioDecoder * dec)
|
|||
* Configures decoder audio jitter tolerance threshold.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_decoder_set_tolerance (GstAudioDecoder * dec, gint64 tolerance)
|
||||
|
@ -2576,8 +2541,6 @@ gst_audio_decoder_set_tolerance (GstAudioDecoder * dec, gint64 tolerance)
|
|||
* Returns: decoder audio jitter tolerance threshold.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gint64
|
||||
gst_audio_decoder_get_tolerance (GstAudioDecoder * dec)
|
||||
|
@ -2604,8 +2567,6 @@ gst_audio_decoder_get_tolerance (GstAudioDecoder * dec)
|
|||
* real data.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_decoder_set_drainable (GstAudioDecoder * dec, gboolean enabled)
|
||||
|
@ -2626,8 +2587,6 @@ gst_audio_decoder_set_drainable (GstAudioDecoder * dec, gboolean enabled)
|
|||
* Returns: TRUE if drainable handling is enabled.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gboolean
|
||||
gst_audio_decoder_get_drainable (GstAudioDecoder * dec)
|
||||
|
@ -2656,8 +2615,6 @@ gst_audio_decoder_get_drainable (GstAudioDecoder * dec)
|
|||
* or based on the input data.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_decoder_set_needs_format (GstAudioDecoder * dec, gboolean enabled)
|
||||
|
@ -2678,8 +2635,6 @@ gst_audio_decoder_set_needs_format (GstAudioDecoder * dec, gboolean enabled)
|
|||
* Returns: TRUE if required format handling is enabled.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gboolean
|
||||
gst_audio_decoder_get_needs_format (GstAudioDecoder * dec)
|
||||
|
@ -2710,8 +2665,6 @@ gst_audio_decoder_get_needs_format (GstAudioDecoder * dec)
|
|||
* of the usual CODEC/AUDIO_CODEC tags.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.37
|
||||
*/
|
||||
void
|
||||
gst_audio_decoder_merge_tags (GstAudioDecoder * dec,
|
||||
|
|
|
@ -48,16 +48,12 @@ G_BEGIN_DECLS
|
|||
* GST_AUDIO_DECODER_SINK_NAME:
|
||||
*
|
||||
* The name of the templates for the sink pad.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_AUDIO_DECODER_SINK_NAME "sink"
|
||||
/**
|
||||
* GST_AUDIO_DECODER_SRC_NAME:
|
||||
*
|
||||
* The name of the templates for the source pad.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_AUDIO_DECODER_SRC_NAME "src"
|
||||
|
||||
|
@ -66,8 +62,6 @@ G_BEGIN_DECLS
|
|||
* @obj: base audio codec instance
|
||||
*
|
||||
* Gives the pointer to the source #GstPad object of the element.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_AUDIO_DECODER_SRC_PAD(obj) (((GstAudioDecoder *) (obj))->srcpad)
|
||||
|
||||
|
@ -76,8 +70,6 @@ G_BEGIN_DECLS
|
|||
* @obj: base audio codec instance
|
||||
*
|
||||
* Gives the pointer to the sink #GstPad object of the element.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_AUDIO_DECODER_SINK_PAD(obj) (((GstAudioDecoder *) (obj))->sinkpad)
|
||||
|
||||
|
@ -89,8 +81,6 @@ G_BEGIN_DECLS
|
|||
* @obj: audio decoder instance
|
||||
*
|
||||
* Gives the input segment of the element.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_AUDIO_DECODER_INPUT_SEGMENT(obj) (GST_AUDIO_DECODER_CAST (obj)->input_segment)
|
||||
|
||||
|
@ -99,8 +89,6 @@ G_BEGIN_DECLS
|
|||
* @obj: audio decoder instance
|
||||
*
|
||||
* Gives the output segment of the element.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_AUDIO_DECODER_OUTPUT_SEGMENT(obj) (GST_AUDIO_DECODER_CAST (obj)->output_segment)
|
||||
|
||||
|
@ -136,8 +124,6 @@ GstFlowReturn _gst_audio_decoder_error (GstAudioDecoder *dec, gint weight,
|
|||
* media processing. Otherwise, it is considered a "glitch" and only a warning
|
||||
* is logged. In either case, @ret is set to the proper value to
|
||||
* return to upstream/caller (indicating either GST_FLOW_ERROR or GST_FLOW_OK).
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_AUDIO_DECODER_ERROR(el, weight, domain, code, text, debug, ret) \
|
||||
G_STMT_START { \
|
||||
|
@ -154,8 +140,6 @@ G_STMT_START { \
|
|||
* GST_AUDIO_DECODER_MAX_ERRORS:
|
||||
*
|
||||
* Default maximum number of errors tolerated before signaling error.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_AUDIO_DECODER_MAX_ERRORS 10
|
||||
|
||||
|
@ -163,8 +147,6 @@ G_STMT_START { \
|
|||
* GstAudioDecoder:
|
||||
*
|
||||
* The opaque #GstAudioDecoder data structure.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
struct _GstAudioDecoder
|
||||
{
|
||||
|
@ -227,16 +209,14 @@ struct _GstAudioDecoder
|
|||
* and a not OK flow return will abort downstream pushing.
|
||||
* @open: Optional.
|
||||
* Called when the element changes to GST_STATE_READY.
|
||||
* Allows opening external resources. Since: 0.10.37.
|
||||
* Allows opening external resources.
|
||||
* @close: Optional.
|
||||
* Called when the element changes to GST_STATE_NULL.
|
||||
* Allows closing external resources. Since: 0.10.37.
|
||||
* Allows closing external resources.
|
||||
*
|
||||
* Subclasses can override any of the available virtual methods or not, as
|
||||
* needed. At minimum @handle_frame (and likely @set_format) needs to be
|
||||
* overridden.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
struct _GstAudioDecoderClass
|
||||
{
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
* SECTION:gstaudioencoder
|
||||
* @short_description: Base class for audio encoders
|
||||
* @see_also: #GstBaseTransform
|
||||
* @since: 0.10.36
|
||||
*
|
||||
* This base class is for audio encoders turning raw audio samples into
|
||||
* encoded audio data.
|
||||
|
@ -568,8 +567,6 @@ gst_audio_encoder_push_event (GstAudioEncoder * enc, GstEvent * event)
|
|||
* may be invalidated by a call to this function.
|
||||
*
|
||||
* Returns: a #GstFlowReturn that should be escalated to caller (of caller)
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstFlowReturn
|
||||
gst_audio_encoder_finish_frame (GstAudioEncoder * enc, GstBuffer * buf,
|
||||
|
@ -1297,8 +1294,6 @@ refuse_caps:
|
|||
* (e.g. muxers).
|
||||
*
|
||||
* Returns: a #GstCaps owned by caller
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstCaps *
|
||||
gst_audio_encoder_proxy_getcaps (GstAudioEncoder * enc, GstCaps * caps)
|
||||
|
@ -1633,8 +1628,6 @@ gst_audio_encoder_src_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
|||
* @dest_format for encoded audio data. Conversion is possible between
|
||||
* BYTE and TIME format by using estimated bitrate based on
|
||||
* @samples and @bytes (and @fmt).
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
/* FIXME: make gst_audio_encoded_audio_convert() public? */
|
||||
static gboolean
|
||||
|
@ -1919,8 +1912,6 @@ gst_audio_encoder_sink_activate_mode (GstPad * pad, GstObject * parent,
|
|||
* @enc: a #GstAudioEncoder
|
||||
*
|
||||
* Returns: a #GstAudioInfo describing the input audio format
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstAudioInfo *
|
||||
gst_audio_encoder_get_audio_info (GstAudioEncoder * enc)
|
||||
|
@ -1940,8 +1931,6 @@ gst_audio_encoder_get_audio_info (GstAudioEncoder * enc)
|
|||
*
|
||||
* If an exact number of samples is required, gst_audio_encoder_set_frame_samples_max()
|
||||
* must be called with the same number.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_encoder_set_frame_samples_min (GstAudioEncoder * enc, gint num)
|
||||
|
@ -1956,8 +1945,6 @@ gst_audio_encoder_set_frame_samples_min (GstAudioEncoder * enc, gint num)
|
|||
* @enc: a #GstAudioEncoder
|
||||
*
|
||||
* Returns: currently minimum requested samples per frame
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gint
|
||||
gst_audio_encoder_get_frame_samples_min (GstAudioEncoder * enc)
|
||||
|
@ -1977,8 +1964,6 @@ gst_audio_encoder_get_frame_samples_min (GstAudioEncoder * enc)
|
|||
*
|
||||
* If an exact number of samples is required, gst_audio_encoder_set_frame_samples_min()
|
||||
* must be called with the same number.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_encoder_set_frame_samples_max (GstAudioEncoder * enc, gint num)
|
||||
|
@ -1989,12 +1974,10 @@ gst_audio_encoder_set_frame_samples_max (GstAudioEncoder * enc, gint num)
|
|||
}
|
||||
|
||||
/**
|
||||
* gst_audio_encoder_get_frame_samples_min:
|
||||
* gst_audio_encoder_get_frame_samples_max:
|
||||
* @enc: a #GstAudioEncoder
|
||||
*
|
||||
* Returns: currently maximum requested samples per frame
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gint
|
||||
gst_audio_encoder_get_frame_samples_max (GstAudioEncoder * enc)
|
||||
|
@ -2011,8 +1994,6 @@ gst_audio_encoder_get_frame_samples_max (GstAudioEncoder * enc)
|
|||
*
|
||||
* Sets max number of frames accepted at once (assumed minimally 1).
|
||||
* Requires @frame_samples_min and @frame_samples_max to be the equal.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_encoder_set_frame_max (GstAudioEncoder * enc, gint num)
|
||||
|
@ -2027,8 +2008,6 @@ gst_audio_encoder_set_frame_max (GstAudioEncoder * enc, gint num)
|
|||
* @enc: a #GstAudioEncoder
|
||||
*
|
||||
* Returns: currently configured maximum handled frames
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gint
|
||||
gst_audio_encoder_get_frame_max (GstAudioEncoder * enc)
|
||||
|
@ -2044,8 +2023,6 @@ gst_audio_encoder_get_frame_max (GstAudioEncoder * enc)
|
|||
* @num: lookahead
|
||||
*
|
||||
* Sets encoder lookahead (in units of input rate samples)
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_encoder_set_lookahead (GstAudioEncoder * enc, gint num)
|
||||
|
@ -2076,8 +2053,6 @@ gst_audio_encoder_get_lookahead (GstAudioEncoder * enc)
|
|||
* @max: maximum latency
|
||||
*
|
||||
* Sets encoder latency.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_encoder_set_latency (GstAudioEncoder * enc,
|
||||
|
@ -2099,8 +2074,6 @@ gst_audio_encoder_set_latency (GstAudioEncoder * enc,
|
|||
*
|
||||
* Sets the variables pointed to by @min and @max to the currently configured
|
||||
* latency.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_encoder_get_latency (GstAudioEncoder * enc,
|
||||
|
@ -2118,8 +2091,8 @@ gst_audio_encoder_get_latency (GstAudioEncoder * enc,
|
|||
|
||||
/**
|
||||
* gst_audio_encoder_set_headers:
|
||||
* @encoder: a #GstAudioEncoder
|
||||
* @headers: (transfer full): a list of #GstBuffer containing the codec header
|
||||
* @enc: a #GstAudioEncoder
|
||||
* @headers: (transfer full) (element-type GstBuffer): a list of #GstBuffer containing the codec header
|
||||
*
|
||||
* Set the codec headers to be sent downstream whenever requested.
|
||||
*/
|
||||
|
@ -2144,8 +2117,6 @@ gst_audio_encoder_set_headers (GstAudioEncoder * enc, GList * headers)
|
|||
* Enable or disable encoder granule handling.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_encoder_set_mark_granule (GstAudioEncoder * enc, gboolean enabled)
|
||||
|
@ -2168,8 +2139,6 @@ gst_audio_encoder_set_mark_granule (GstAudioEncoder * enc, gboolean enabled)
|
|||
* Returns: TRUE if granule marking is enabled.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gboolean
|
||||
gst_audio_encoder_get_mark_granule (GstAudioEncoder * enc)
|
||||
|
@ -2193,8 +2162,6 @@ gst_audio_encoder_get_mark_granule (GstAudioEncoder * enc)
|
|||
* Enable or disable encoder perfect output timestamp preference.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_encoder_set_perfect_timestamp (GstAudioEncoder * enc,
|
||||
|
@ -2218,8 +2185,6 @@ gst_audio_encoder_set_perfect_timestamp (GstAudioEncoder * enc,
|
|||
* Returns: TRUE if perfect timestamp setting enabled.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gboolean
|
||||
gst_audio_encoder_get_perfect_timestamp (GstAudioEncoder * enc)
|
||||
|
@ -2243,8 +2208,6 @@ gst_audio_encoder_get_perfect_timestamp (GstAudioEncoder * enc)
|
|||
* Sets encoder hard resync handling.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_encoder_set_hard_resync (GstAudioEncoder * enc, gboolean enabled)
|
||||
|
@ -2267,8 +2230,6 @@ gst_audio_encoder_set_hard_resync (GstAudioEncoder * enc, gboolean enabled)
|
|||
* Returns: TRUE if hard resync is enabled.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gboolean
|
||||
gst_audio_encoder_get_hard_resync (GstAudioEncoder * enc)
|
||||
|
@ -2292,8 +2253,6 @@ gst_audio_encoder_get_hard_resync (GstAudioEncoder * enc)
|
|||
* Configures encoder audio jitter tolerance threshold.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_encoder_set_tolerance (GstAudioEncoder * enc, gint64 tolerance)
|
||||
|
@ -2314,8 +2273,6 @@ gst_audio_encoder_set_tolerance (GstAudioEncoder * enc, gint64 tolerance)
|
|||
* Returns: encoder audio jitter tolerance threshold.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gint64
|
||||
gst_audio_encoder_get_tolerance (GstAudioEncoder * enc)
|
||||
|
@ -2342,8 +2299,6 @@ gst_audio_encoder_get_tolerance (GstAudioEncoder * enc)
|
|||
* will simply be discarded.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_encoder_set_hard_min (GstAudioEncoder * enc, gboolean enabled)
|
||||
|
@ -2364,8 +2319,6 @@ gst_audio_encoder_set_hard_min (GstAudioEncoder * enc, gboolean enabled)
|
|||
* Returns: TRUE if hard minimum handling is enabled.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gboolean
|
||||
gst_audio_encoder_get_hard_min (GstAudioEncoder * enc)
|
||||
|
@ -2392,8 +2345,6 @@ gst_audio_encoder_get_hard_min (GstAudioEncoder * enc)
|
|||
* real data.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_encoder_set_drainable (GstAudioEncoder * enc, gboolean enabled)
|
||||
|
@ -2414,8 +2365,6 @@ gst_audio_encoder_set_drainable (GstAudioEncoder * enc, gboolean enabled)
|
|||
* Returns: TRUE if drainable handling is enabled.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gboolean
|
||||
gst_audio_encoder_get_drainable (GstAudioEncoder * enc)
|
||||
|
@ -2446,8 +2395,6 @@ gst_audio_encoder_get_drainable (GstAudioEncoder * enc)
|
|||
* of the usual CODEC/AUDIO_CODEC tags.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_audio_encoder_merge_tags (GstAudioEncoder * enc,
|
||||
|
|
|
@ -39,16 +39,12 @@ G_BEGIN_DECLS
|
|||
* GST_AUDIO_ENCODER_SINK_NAME:
|
||||
*
|
||||
* the name of the templates for the sink pad
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_AUDIO_ENCODER_SINK_NAME "sink"
|
||||
/**
|
||||
* GST_AUDIO_ENCODER_SRC_NAME:
|
||||
*
|
||||
* the name of the templates for the source pad
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_AUDIO_ENCODER_SRC_NAME "src"
|
||||
|
||||
|
@ -57,8 +53,6 @@ G_BEGIN_DECLS
|
|||
* @obj: audio encoder instance
|
||||
*
|
||||
* Gives the pointer to the source #GstPad object of the element.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_AUDIO_ENCODER_SRC_PAD(obj) (GST_AUDIO_ENCODER_CAST (obj)->srcpad)
|
||||
|
||||
|
@ -67,8 +61,6 @@ G_BEGIN_DECLS
|
|||
* @obj: audio encoder instance
|
||||
*
|
||||
* Gives the pointer to the sink #GstPad object of the element.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_AUDIO_ENCODER_SINK_PAD(obj) (GST_AUDIO_ENCODER_CAST (obj)->sinkpad)
|
||||
|
||||
|
@ -77,8 +69,6 @@ G_BEGIN_DECLS
|
|||
* @obj: base parse instance
|
||||
*
|
||||
* Gives the input segment of the element.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_AUDIO_ENCODER_INPUT_SEGMENT(obj) (GST_AUDIO_ENCODER_CAST (obj)->input_segment)
|
||||
|
||||
|
@ -87,8 +77,6 @@ G_BEGIN_DECLS
|
|||
* @obj: base parse instance
|
||||
*
|
||||
* Gives the output segment of the element.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_AUDIO_ENCODER_OUTPUT_SEGMENT(obj) (GST_AUDIO_ENCODER_CAST (obj)->output_segment)
|
||||
|
||||
|
@ -104,8 +92,6 @@ typedef struct _GstAudioEncoderPrivate GstAudioEncoderPrivate;
|
|||
* GstAudioEncoder:
|
||||
*
|
||||
* The opaque #GstAudioEncoder data structure.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
struct _GstAudioEncoder {
|
||||
GstElement element;
|
||||
|
@ -167,15 +153,13 @@ struct _GstAudioEncoder {
|
|||
* applied to sink template caps.
|
||||
* @open: Optional.
|
||||
* Called when the element changes to GST_STATE_READY.
|
||||
* Allows opening external resources. Since: 0.10.37.
|
||||
* Allows opening external resources.
|
||||
* @close: Optional.
|
||||
* Called when the element changes to GST_STATE_NULL.
|
||||
* Allows closing external resources. Since: 0.10.37.
|
||||
* Allows closing external resources.
|
||||
*
|
||||
* Subclasses can override any of the available virtual methods or not, as
|
||||
* needed. At minimum @set_format and @handle_frame needs to be overridden.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
struct _GstAudioEncoderClass {
|
||||
GstElementClass element_class;
|
||||
|
|
|
@ -38,8 +38,6 @@
|
|||
* virtual functions in their class_init function.
|
||||
*
|
||||
* Last reviewed on 2007-02-03 (0.10.11.1)
|
||||
*
|
||||
* Since: 0.10.12
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
@ -171,8 +169,6 @@ gst_audio_filter_get_unit_size (GstBaseTransform * btrans, GstCaps * caps,
|
|||
* @allowed_caps as the caps that can be handled.
|
||||
*
|
||||
* This function is usually used from within a GObject class_init function.
|
||||
*
|
||||
* Since: 0.10.12
|
||||
*/
|
||||
void
|
||||
gst_audio_filter_class_add_pad_templates (GstAudioFilterClass * klass,
|
||||
|
|
|
@ -51,8 +51,6 @@ typedef struct _GstAudioFilterClass GstAudioFilterClass;
|
|||
* GstAudioFilter:
|
||||
*
|
||||
* Base class for audio filters with the same format for input and output.
|
||||
*
|
||||
* Since: 0.10.12
|
||||
*/
|
||||
struct _GstAudioFilter {
|
||||
GstBaseTransform basetransform;
|
||||
|
@ -80,8 +78,6 @@ struct _GstAudioFilter {
|
|||
* In addition to the @setup virtual function, you should also override the
|
||||
* GstBaseTransform::transform and/or GstBaseTransform::transform_ip virtual
|
||||
* function.
|
||||
*
|
||||
* Since: 0.10.12
|
||||
*/
|
||||
|
||||
struct _GstAudioFilterClass {
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
/**
|
||||
* SECTION:gstaudioiec61937
|
||||
* @short_description: Utility functions for IEC 61937 payloading
|
||||
* @since: 0.10.36
|
||||
*
|
||||
* This module contains some helper functions for encapsulating various
|
||||
* audio formats in IEC 61937 headers and padding.
|
||||
|
@ -68,8 +67,6 @@ caps_get_string_field (const GstCaps * caps, const gchar * field)
|
|||
*
|
||||
* Returns: the size or 0 if the given @type is not supported or cannot be
|
||||
* payloaded.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
guint
|
||||
gst_audio_iec61937_frame_size (const GstAudioRingBufferSpec * spec)
|
||||
|
@ -144,8 +141,6 @@ gst_audio_iec61937_frame_size (const GstAudioRingBufferSpec * spec)
|
|||
*
|
||||
* Returns: transfer-full: %TRUE if the payloading was successful, %FALSE
|
||||
* otherwise.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gboolean
|
||||
gst_audio_iec61937_payload (const guint8 * src, guint src_n, guint8 * dst,
|
||||
|
|
|
@ -65,7 +65,6 @@ gst_audio_downmix_meta_transform (GstBuffer * dest, GstMeta * meta,
|
|||
* @buffer: a #GstBuffer
|
||||
* @to_position: the channel positions of the destination
|
||||
* @to_channels: The number of channels of the destination
|
||||
* @matrix: The matrix coefficients.
|
||||
*
|
||||
* Find the #GstAudioDownmixMeta on @buffer for the given destination
|
||||
* channel positions.
|
||||
|
|
|
@ -312,8 +312,6 @@ parse_error:
|
|||
* will be put in @dest_val.
|
||||
*
|
||||
* Returns: TRUE if the conversion succeeded.
|
||||
*
|
||||
* Since: 0.10.22.
|
||||
*/
|
||||
gboolean
|
||||
gst_audio_ring_buffer_convert (GstAudioRingBuffer * buf,
|
||||
|
@ -714,8 +712,6 @@ gst_audio_ring_buffer_is_acquired (GstAudioRingBuffer * buf)
|
|||
*
|
||||
* Returns: TRUE if the device could be activated in the requested mode,
|
||||
* FALSE on error.
|
||||
*
|
||||
* Since: 0.10.22.
|
||||
*/
|
||||
gboolean
|
||||
gst_audio_ring_buffer_activate (GstAudioRingBuffer * buf, gboolean active)
|
||||
|
@ -782,8 +778,6 @@ activate_failed:
|
|||
* MT safe.
|
||||
*
|
||||
* Returns: TRUE if the device is active.
|
||||
*
|
||||
* Since: 0.10.22.
|
||||
*/
|
||||
gboolean
|
||||
gst_audio_ring_buffer_is_active (GstAudioRingBuffer * buf)
|
||||
|
@ -1578,8 +1572,6 @@ not_started:
|
|||
* Returns: The number of samples written to the ringbuffer or -1 on error. The
|
||||
* number of samples written can be less than @out_samples when @buf was interrupted
|
||||
* with a flush or stop.
|
||||
*
|
||||
* Since: 0.10.11.
|
||||
*/
|
||||
guint
|
||||
gst_audio_ring_buffer_commit (GstAudioRingBuffer * buf, guint64 * sample,
|
||||
|
@ -1857,8 +1849,6 @@ gst_audio_ring_buffer_clear (GstAudioRingBuffer * buf, gint segment)
|
|||
* the ringbuffer is filled with samples.
|
||||
*
|
||||
* MT safe.
|
||||
*
|
||||
* Since: 0.10.6
|
||||
*/
|
||||
void
|
||||
gst_audio_ring_buffer_may_start (GstAudioRingBuffer * buf, gboolean allowed)
|
||||
|
|
|
@ -216,9 +216,9 @@ struct _GstAudioRingBuffer {
|
|||
* @stop: stop processing of samples
|
||||
* @delay: get number of samples queued in device
|
||||
* @activate: activate the thread that starts pulling and monitoring the
|
||||
* consumed segments in the device. Since 0.10.22
|
||||
* consumed segments in the device.
|
||||
* @commit: write samples into the ringbuffer
|
||||
* @clear_all: clear the entire ringbuffer Since 0.10.24
|
||||
* @clear_all: clear the entire ringbuffer.
|
||||
*
|
||||
* The vmethods that subclasses can override to implement the ringbuffer.
|
||||
*/
|
||||
|
|
|
@ -99,8 +99,6 @@ gst_stream_volume_get_type (void)
|
|||
* @format: #GstStreamVolumeFormat which should be returned
|
||||
*
|
||||
* Returns: The current stream volume as linear factor
|
||||
*
|
||||
* Since: 0.10.25
|
||||
*/
|
||||
gdouble
|
||||
gst_stream_volume_get_volume (GstStreamVolume * volume,
|
||||
|
@ -123,8 +121,6 @@ gst_stream_volume_get_volume (GstStreamVolume * volume,
|
|||
* @volume: #GstStreamVolume that should be used
|
||||
* @format: #GstStreamVolumeFormat of @val
|
||||
* @val: Linear volume factor that should be set
|
||||
*
|
||||
* Since: 0.10.25
|
||||
*/
|
||||
void
|
||||
gst_stream_volume_set_volume (GstStreamVolume * volume,
|
||||
|
@ -144,8 +140,6 @@ gst_stream_volume_set_volume (GstStreamVolume * volume,
|
|||
* @volume: #GstStreamVolume that should be used
|
||||
*
|
||||
* Returns: Returns %TRUE if the stream is muted
|
||||
*
|
||||
* Since: 0.10.25
|
||||
*/
|
||||
gboolean
|
||||
gst_stream_volume_get_mute (GstStreamVolume * volume)
|
||||
|
@ -162,8 +156,6 @@ gst_stream_volume_get_mute (GstStreamVolume * volume)
|
|||
* gst_stream_volume_set_mute:
|
||||
* @volume: #GstStreamVolume that should be used
|
||||
* @mute: Mute state that should be set
|
||||
*
|
||||
* Since: 0.10.25
|
||||
*/
|
||||
void
|
||||
gst_stream_volume_set_mute (GstStreamVolume * volume, gboolean mute)
|
||||
|
@ -180,8 +172,6 @@ gst_stream_volume_set_mute (GstStreamVolume * volume, gboolean mute)
|
|||
* @val: Volume in @from format that should be converted
|
||||
*
|
||||
* Returns: the converted volume
|
||||
*
|
||||
* Since: 0.10.25
|
||||
*/
|
||||
gdouble
|
||||
gst_stream_volume_convert_volume (GstStreamVolumeFormat from,
|
||||
|
|
|
@ -55,8 +55,6 @@ struct _GstStreamVolumeInterface {
|
|||
*
|
||||
* Formulas to convert from a linear to a cubic or dB volume are
|
||||
* cbrt(val) and 20 * log10 (val).
|
||||
*
|
||||
* Since: 0.10.25
|
||||
*/
|
||||
typedef enum {
|
||||
GST_STREAM_VOLUME_FORMAT_LINEAR = 0,
|
||||
|
|
|
@ -67,8 +67,6 @@ digit_to_string (guint digit)
|
|||
* rate.
|
||||
*
|
||||
* Returns: The sample rate if @sr_idx is valid, 0 otherwise.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
guint
|
||||
gst_codec_utils_aac_get_sample_rate_from_index (guint sr_idx)
|
||||
|
@ -101,8 +99,6 @@ gst_codec_utils_aac_get_sample_rate_from_index (guint sr_idx)
|
|||
*
|
||||
* Returns: The profile as a const string and %NULL if the profile could not be
|
||||
* determined.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
const gchar *
|
||||
gst_codec_utils_aac_get_profile (const guint8 * audio_config, guint len)
|
||||
|
@ -165,8 +161,6 @@ gst_codec_utils_aac_get_profile (const guint8 * audio_config, guint len)
|
|||
*
|
||||
* Returns: The level as a const string and %NULL if the level could not be
|
||||
* determined.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
const gchar *
|
||||
gst_codec_utils_aac_get_level (const guint8 * audio_config, guint len)
|
||||
|
@ -339,8 +333,6 @@ gst_codec_utils_aac_get_level (const guint8 * audio_config, guint len)
|
|||
* If mpegversion is 4, the "base-profile" field is also set in @caps.
|
||||
*
|
||||
* Returns: %TRUE if the level and profile could be set, %FALSE otherwise.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
gboolean
|
||||
gst_codec_utils_aac_caps_set_level_and_profile (GstCaps * caps,
|
||||
|
@ -406,8 +398,6 @@ gst_codec_utils_aac_caps_set_level_and_profile (GstCaps * caps,
|
|||
* </itemizedlist>
|
||||
*
|
||||
* Returns: The profile as a const string, or %NULL if there is an error.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
const gchar *
|
||||
gst_codec_utils_h264_get_profile (const guint8 * sps, guint len)
|
||||
|
@ -479,8 +469,6 @@ gst_codec_utils_h264_get_profile (const guint8 * sps, guint len)
|
|||
* same format as for gst_codec_utils_h264_get_profile().
|
||||
*
|
||||
* Returns: The level as a const string, or %NULL if there is an error.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
const gchar *
|
||||
gst_codec_utils_h264_get_level (const guint8 * sps, guint len)
|
||||
|
@ -535,8 +523,6 @@ gst_codec_utils_h264_get_level (const guint8 * sps, guint len)
|
|||
* Transform a level string from the caps into the level_idc
|
||||
*
|
||||
* Returns: the level_idc or 0 if the level is unknown
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
guint8
|
||||
gst_codec_utils_h264_get_level_idc (const gchar * level)
|
||||
|
@ -591,8 +577,6 @@ gst_codec_utils_h264_get_level_idc (const gchar * level)
|
|||
* for more details on the parameters.
|
||||
*
|
||||
* Returns: %TRUE if the level and profile could be set, %FALSE otherwise.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
gboolean
|
||||
gst_codec_utils_h264_caps_set_level_and_profile (GstCaps * caps,
|
||||
|
@ -632,8 +616,6 @@ gst_codec_utils_h264_caps_set_level_and_profile (GstCaps * caps,
|
|||
* (profile_and_level_indication) is used.
|
||||
*
|
||||
* Returns: The profile as a const string, or NULL if there is an error.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
const gchar *
|
||||
gst_codec_utils_mpeg4video_get_profile (const guint8 * vis_obj_seq, guint len)
|
||||
|
@ -706,8 +688,6 @@ gst_codec_utils_mpeg4video_get_profile (const guint8 * vis_obj_seq, guint len)
|
|||
* (profile_and_level_indication) is used.
|
||||
*
|
||||
* Returns: The level as a const string, or NULL if there is an error.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
const gchar *
|
||||
gst_codec_utils_mpeg4video_get_level (const guint8 * vis_obj_seq, guint len)
|
||||
|
@ -800,8 +780,6 @@ gst_codec_utils_mpeg4video_get_level (const guint8 * vis_obj_seq, guint len)
|
|||
* parameters.
|
||||
*
|
||||
* Returns: %TRUE if the level and profile could be set, %FALSE otherwise.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
gboolean
|
||||
gst_codec_utils_mpeg4video_caps_set_level_and_profile (GstCaps * caps,
|
||||
|
|
|
@ -118,8 +118,6 @@
|
|||
* ]|
|
||||
* </para>
|
||||
* </refsect2>
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
@ -225,8 +223,6 @@ gst_encoding_profile_class_init (GstEncodingProfileClass * klass)
|
|||
* gst_encoding_profile_get_name:
|
||||
* @profile: a #GstEncodingProfile
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: the name of the profile, can be %NULL.
|
||||
*/
|
||||
const gchar *
|
||||
|
@ -239,8 +235,6 @@ gst_encoding_profile_get_name (GstEncodingProfile * profile)
|
|||
* gst_encoding_profile_get_description:
|
||||
* @profile: a #GstEncodingProfile
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: the description of the profile, can be %NULL.
|
||||
*/
|
||||
const gchar *
|
||||
|
@ -253,8 +247,6 @@ gst_encoding_profile_get_description (GstEncodingProfile * profile)
|
|||
* gst_encoding_profile_get_format:
|
||||
* @profile: a #GstEncodingProfile
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: (transfer full): the #GstCaps corresponding to the media format used
|
||||
* in the profile. Unref after usage.
|
||||
*/
|
||||
|
@ -268,8 +260,6 @@ gst_encoding_profile_get_format (GstEncodingProfile * profile)
|
|||
* gst_encoding_profile_get_preset:
|
||||
* @profile: a #GstEncodingProfile
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: the name of the #GstPreset to be used in the profile.
|
||||
*/
|
||||
const gchar *
|
||||
|
@ -282,8 +272,6 @@ gst_encoding_profile_get_preset (GstEncodingProfile * profile)
|
|||
* gst_encoding_profile_get_presence:
|
||||
* @profile: a #GstEncodingProfile
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: The number of times the profile is used in its parent
|
||||
* container profile. If 0, it is not a mandatory stream.
|
||||
*/
|
||||
|
@ -297,8 +285,6 @@ gst_encoding_profile_get_presence (GstEncodingProfile * profile)
|
|||
* gst_encoding_profile_get_restriction:
|
||||
* @profile: a #GstEncodingProfile
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: (transfer full): The restriction #GstCaps to apply before the encoder
|
||||
* that will be used in the profile. The fields present in restriction caps are
|
||||
* properties of the raw stream (that is before encoding), such as height and
|
||||
|
@ -319,8 +305,6 @@ gst_encoding_profile_get_restriction (GstEncodingProfile * profile)
|
|||
*
|
||||
* Set @name as the given name for the @profile. A copy of @name will be made
|
||||
* internally.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
void
|
||||
gst_encoding_profile_set_name (GstEncodingProfile * profile, const gchar * name)
|
||||
|
@ -337,8 +321,6 @@ gst_encoding_profile_set_name (GstEncodingProfile * profile, const gchar * name)
|
|||
*
|
||||
* Set @description as the given description for the @profile. A copy of
|
||||
* @description will be made internally.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
void
|
||||
gst_encoding_profile_set_description (GstEncodingProfile * profile,
|
||||
|
@ -355,8 +337,6 @@ gst_encoding_profile_set_description (GstEncodingProfile * profile,
|
|||
* @format: the media format to use in the profile.
|
||||
*
|
||||
* Sets the media format used in the profile.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
void
|
||||
gst_encoding_profile_set_format (GstEncodingProfile * profile, GstCaps * format)
|
||||
|
@ -372,8 +352,6 @@ gst_encoding_profile_set_format (GstEncodingProfile * profile, GstCaps * format)
|
|||
* @preset: the element preset to use
|
||||
*
|
||||
* Sets the preset to use for the profile.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
void
|
||||
gst_encoding_profile_set_preset (GstEncodingProfile * profile,
|
||||
|
@ -391,8 +369,6 @@ gst_encoding_profile_set_preset (GstEncodingProfile * profile,
|
|||
*
|
||||
* Set the number of time the profile is used in its parent
|
||||
* container profile. If 0, it is not a mandatory stream
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
void
|
||||
gst_encoding_profile_set_presence (GstEncodingProfile * profile, guint presence)
|
||||
|
@ -408,8 +384,6 @@ gst_encoding_profile_set_presence (GstEncodingProfile * profile, guint presence)
|
|||
* Set the restriction #GstCaps to apply before the encoder
|
||||
* that will be used in the profile. See gst_encoding_profile_set_restriction()
|
||||
* for more about restrictions. Does not apply to #GstEncodingContainerProfile.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
void
|
||||
gst_encoding_profile_set_restriction (GstEncodingProfile * profile,
|
||||
|
@ -514,8 +488,6 @@ gst_encoding_video_profile_class_init (GstEncodingVideoProfileClass * klass)
|
|||
*
|
||||
* Returns: The pass number. Starts at 1 for multi-pass. 0 if this is
|
||||
* not a multi-pass profile
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
guint
|
||||
gst_encoding_video_profile_get_pass (GstEncodingVideoProfile * prof)
|
||||
|
@ -527,8 +499,6 @@ gst_encoding_video_profile_get_pass (GstEncodingVideoProfile * prof)
|
|||
* gst_encoding_video_profile_get_variableframerate:
|
||||
* @prof: a #GstEncodingVideoProfile
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: Whether non-constant video framerate is allowed for encoding.
|
||||
*/
|
||||
gboolean
|
||||
|
@ -546,8 +516,6 @@ gst_encoding_video_profile_get_variableframerate (GstEncodingVideoProfile *
|
|||
* Sets the pass number of this video profile. The first pass profile should have
|
||||
* this value set to 1. If this video profile isn't part of a multi-pass profile,
|
||||
* you may set it to 0 (the default value).
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
void
|
||||
gst_encoding_video_profile_set_pass (GstEncodingVideoProfile * prof, guint pass)
|
||||
|
@ -564,8 +532,6 @@ gst_encoding_video_profile_set_pass (GstEncodingVideoProfile * prof, guint pass)
|
|||
* framerate. If set to %FALSE (default value), then the incoming stream will
|
||||
* be normalized by dropping/duplicating frames in order to produce a
|
||||
* constance framerate.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
void
|
||||
gst_encoding_video_profile_set_variableframerate (GstEncodingVideoProfile *
|
||||
|
@ -665,8 +631,6 @@ _compare_encoding_profiles (const GstEncodingProfile * a,
|
|||
* Checks if @container contains a #GstEncodingProfile identical to
|
||||
* @profile.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: %TRUE if @container contains a #GstEncodingProfile identical
|
||||
* to @profile, else %FALSE.
|
||||
*/
|
||||
|
@ -691,8 +655,6 @@ gst_encoding_container_profile_contains_profile (GstEncodingContainerProfile *
|
|||
* No copy of @profile will be made, if you wish to use it elsewhere after this
|
||||
* method you should increment its reference count.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: %TRUE if the @stream was properly added, else %FALSE.
|
||||
*/
|
||||
gboolean
|
||||
|
@ -749,8 +711,6 @@ common_creation (GType objtype, GstCaps * format, const gchar * preset,
|
|||
*
|
||||
* Creates a new #GstEncodingContainerProfile.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: The newly created #GstEncodingContainerProfile.
|
||||
*/
|
||||
GstEncodingContainerProfile *
|
||||
|
@ -784,8 +744,6 @@ gst_encoding_container_profile_new (const gchar * name,
|
|||
* If you wish to use/force a constant framerate please refer to the
|
||||
* gst_encoding_video_profile_set_variableframerate() documentation.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: the newly created #GstEncodingVideoProfile.
|
||||
*/
|
||||
GstEncodingVideoProfile *
|
||||
|
@ -811,8 +769,6 @@ gst_encoding_video_profile_new (GstCaps * format, const gchar * preset,
|
|||
* All provided allocatable arguments will be internally copied, so can be
|
||||
* safely freed/unreferenced after calling this method.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: the newly created #GstEncodingAudioProfile.
|
||||
*/
|
||||
GstEncodingAudioProfile *
|
||||
|
@ -832,8 +788,6 @@ gst_encoding_audio_profile_new (GstCaps * format, const gchar * preset,
|
|||
*
|
||||
* Checks whether the two #GstEncodingProfile are equal
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: %TRUE if @a and @b are equal, else %FALSE.
|
||||
*/
|
||||
gboolean
|
||||
|
@ -849,8 +803,6 @@ gst_encoding_profile_is_equal (GstEncodingProfile * a, GstEncodingProfile * b)
|
|||
*
|
||||
* Computes the full output caps that this @profile will be able to consume.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: (transfer full): The full caps the given @profile can consume. Call
|
||||
* gst_caps_unref() when you are done with the caps.
|
||||
*/
|
||||
|
@ -903,8 +855,6 @@ gst_encoding_profile_get_input_caps (GstEncodingProfile * profile)
|
|||
* gst_encoding_profile_get_type_nick:
|
||||
* @profile: a #GstEncodingProfile
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: the human-readable name of the type of @profile.
|
||||
*/
|
||||
const gchar *
|
||||
|
@ -928,8 +878,6 @@ gst_encoding_profile_get_type_nick (GstEncodingProfile * profile)
|
|||
* Find the #GstEncodingProfile with the specified name and category.
|
||||
*
|
||||
* Returns: (transfer full): The matching #GstEncodingProfile or %NULL.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
GstEncodingProfile *
|
||||
gst_encoding_profile_find (const gchar * targetname, const gchar * profilename,
|
||||
|
@ -1009,8 +957,6 @@ gst_encoding_profile_deserialize_valfunc (GValue * value, const gchar * s)
|
|||
* subtitles), are currently ignored.
|
||||
*
|
||||
* Returns: (transfer full): The new #GstEncodingProfile or %NULL.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstEncodingProfile *
|
||||
gst_encoding_profile_from_discoverer (GstDiscovererInfo * info)
|
||||
|
|
|
@ -33,8 +33,6 @@ G_BEGIN_DECLS
|
|||
*
|
||||
* The opaque base class object for all encoding profiles. This contains generic
|
||||
* information like name, description, format and preset.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
|
||||
#define GST_TYPE_ENCODING_PROFILE \
|
||||
|
@ -53,8 +51,6 @@ GType gst_encoding_profile_get_type (void);
|
|||
* GstEncodingContainerProfile:
|
||||
*
|
||||
* Encoding profiles for containers. Keeps track of a list of #GstEncodingProfile
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
#define GST_TYPE_ENCODING_CONTAINER_PROFILE \
|
||||
(gst_encoding_container_profile_get_type ())
|
||||
|
@ -72,8 +68,6 @@ GType gst_encoding_container_profile_get_type (void);
|
|||
* GstEncodingVideoProfile:
|
||||
*
|
||||
* Variant of #GstEncodingProfile for video streams, allows specifying the @pass.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
#define GST_TYPE_ENCODING_VIDEO_PROFILE \
|
||||
(gst_encoding_video_profile_get_type ())
|
||||
|
@ -91,8 +85,6 @@ GType gst_encoding_video_profile_get_type (void);
|
|||
* GstEncodingAudioProfile:
|
||||
*
|
||||
* Variant of #GstEncodingProfile for audio streams.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
#define GST_TYPE_ENCODING_AUDIO_PROFILE \
|
||||
(gst_encoding_audio_profile_get_type ())
|
||||
|
@ -113,8 +105,6 @@ GType gst_encoding_audio_profile_get_type (void);
|
|||
* @profile: a #GstEncodingProfile
|
||||
*
|
||||
* Decreases the reference count of the @profile, possibly freeing the @profile.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
#define gst_encoding_profile_unref(profile) (g_object_unref ((GObject*) profile))
|
||||
|
||||
|
@ -123,8 +113,6 @@ GType gst_encoding_audio_profile_get_type (void);
|
|||
* @profile: a #GstEncodingProfile
|
||||
*
|
||||
* Increases the reference count of the @profile.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
#define gst_encoding_profile_ref(profile) (g_object_ref ((GObject*) profile))
|
||||
|
||||
|
|
|
@ -121,8 +121,6 @@ gst_encoding_target_class_init (GObjectClass * klass)
|
|||
* gst_encoding_target_get_name:
|
||||
* @target: a #GstEncodingTarget
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: (transfer none): The name of the @target.
|
||||
*/
|
||||
const gchar *
|
||||
|
@ -135,8 +133,6 @@ gst_encoding_target_get_name (GstEncodingTarget * target)
|
|||
* gst_encoding_target_get_category:
|
||||
* @target: a #GstEncodingTarget
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: (transfer none): The category of the @target. For example:
|
||||
* #GST_ENCODING_CATEGORY_DEVICE.
|
||||
*/
|
||||
|
@ -150,8 +146,6 @@ gst_encoding_target_get_category (GstEncodingTarget * target)
|
|||
* gst_encoding_target_get_description:
|
||||
* @target: a #GstEncodingTarget
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: (transfer none): The description of the @target.
|
||||
*/
|
||||
const gchar *
|
||||
|
@ -164,8 +158,6 @@ gst_encoding_target_get_description (GstEncodingTarget * target)
|
|||
* gst_encoding_target_get_profiles:
|
||||
* @target: a #GstEncodingTarget
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: (transfer none) (element-type GstPbutils.EncodingProfile): A list of
|
||||
* #GstEncodingProfile(s) this @target handles.
|
||||
*/
|
||||
|
@ -180,8 +172,6 @@ gst_encoding_target_get_profiles (GstEncodingTarget * target)
|
|||
* @target: a #GstEncodingTarget
|
||||
* @name: the name of the profile to retrieve
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: (transfer full): The matching #GstEncodingProfile, or %NULL.
|
||||
*/
|
||||
GstEncodingProfile *
|
||||
|
@ -260,8 +250,6 @@ validate_name (const gchar * name)
|
|||
* <emphasis>can</emphasis> be a application or user specific category if
|
||||
* needed.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: (transfer full): The newly created #GstEncodingTarget or %NULL if
|
||||
* there was an error.
|
||||
*/
|
||||
|
@ -322,8 +310,6 @@ invalid_category:
|
|||
* the profile after calling this method, you should increase its reference
|
||||
* count.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: %TRUE if the profile was added, else %FALSE.
|
||||
**/
|
||||
|
||||
|
@ -769,8 +755,6 @@ empty_name:
|
|||
*
|
||||
* Opens the provided file and returns the contained #GstEncodingTarget.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: (transfer full): The #GstEncodingTarget contained in the file, else
|
||||
* %NULL
|
||||
*/
|
||||
|
@ -870,8 +854,6 @@ gst_encoding_target_subload (gchar * path, const gchar * category,
|
|||
* If the category name is specified only targets from that category will be
|
||||
* searched for.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: (transfer full): The #GstEncodingTarget if available, else %NULL.
|
||||
*/
|
||||
GstEncodingTarget *
|
||||
|
@ -931,8 +913,6 @@ invalid_category:
|
|||
*
|
||||
* Saves the @target to the provided file location.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: %TRUE if the target was correctly saved, else %FALSE.
|
||||
**/
|
||||
|
||||
|
@ -1000,8 +980,6 @@ write_failed:
|
|||
*
|
||||
* Saves the @target to a default user-local directory.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*
|
||||
* Returns: %TRUE if the target was correctly saved, else %FALSE.
|
||||
**/
|
||||
|
||||
|
@ -1058,8 +1036,6 @@ get_categories (gchar * path)
|
|||
*
|
||||
* Returns: (transfer full) (element-type gchar*): A list
|
||||
* of #GstEncodingTarget categories.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
GList *
|
||||
gst_encoding_list_available_categories (void)
|
||||
|
@ -1175,8 +1151,6 @@ compare_targets (const GstEncodingTarget * ta, const GstEncodingTarget * tb)
|
|||
* if @categoryname is %NULL.
|
||||
*
|
||||
* Returns: (transfer full) (element-type GstEncodingTarget): The list of #GstEncodingTarget
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
GList *
|
||||
gst_encoding_list_all_targets (const gchar * categoryname)
|
||||
|
|
|
@ -78,8 +78,6 @@ G_BEGIN_DECLS
|
|||
*
|
||||
* When being stored/loaded, targets come from a specific category, like
|
||||
* #GST_ENCODING_CATEGORY_DEVICE.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
#define GST_TYPE_ENCODING_TARGET \
|
||||
(gst_encoding_target_get_type ())
|
||||
|
@ -98,8 +96,6 @@ GType gst_encoding_target_get_type (void);
|
|||
* @target: a #GstEncodingTarget
|
||||
*
|
||||
* Decreases the reference count of the @target, possibly freeing it.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
#define gst_encoding_target_unref(target) \
|
||||
(g_object_unref ((GObject*) target))
|
||||
|
@ -109,8 +105,6 @@ GType gst_encoding_target_get_type (void);
|
|||
* @target: a #GstEncodingTarget
|
||||
*
|
||||
* Increases the reference count of the @target.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
#define gst_encoding_target_ref(target) \
|
||||
(g_object_ref ((GObject*) target))
|
||||
|
|
|
@ -462,8 +462,6 @@ gst_discoverer_stream_info_list_free (GList * infos)
|
|||
* Returns: (transfer full) (element-type GstPbutils.DiscovererStreamInfo): A #GList of
|
||||
* matching #GstDiscovererStreamInfo. The caller should free it with
|
||||
* gst_discoverer_stream_info_list_free().
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
GList *
|
||||
gst_discoverer_info_get_streams (GstDiscovererInfo * info, GType streamtype)
|
||||
|
@ -489,8 +487,6 @@ gst_discoverer_info_get_streams (GstDiscovererInfo * info, GType streamtype)
|
|||
* Returns: (transfer full) (element-type GstPbutils.DiscovererStreamInfo): A #GList of
|
||||
* matching #GstDiscovererStreamInfo. The caller should free it with
|
||||
* gst_discoverer_stream_info_list_free().
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
GList *
|
||||
gst_discoverer_info_get_audio_streams (GstDiscovererInfo * info)
|
||||
|
@ -507,8 +503,6 @@ gst_discoverer_info_get_audio_streams (GstDiscovererInfo * info)
|
|||
* Returns: (transfer full) (element-type GstPbutils.DiscovererStreamInfo): A #GList of
|
||||
* matching #GstDiscovererStreamInfo. The caller should free it with
|
||||
* gst_discoverer_stream_info_list_free().
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
GList *
|
||||
gst_discoverer_info_get_video_streams (GstDiscovererInfo * info)
|
||||
|
@ -525,8 +519,6 @@ gst_discoverer_info_get_video_streams (GstDiscovererInfo * info)
|
|||
* Returns: (transfer full) (element-type GstPbutils.DiscovererStreamInfo): A #GList of
|
||||
* matching #GstDiscovererStreamInfo. The caller should free it with
|
||||
* gst_discoverer_stream_info_list_free().
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GList *
|
||||
gst_discoverer_info_get_subtitle_streams (GstDiscovererInfo * info)
|
||||
|
@ -544,8 +536,6 @@ gst_discoverer_info_get_subtitle_streams (GstDiscovererInfo * info)
|
|||
* Returns: (transfer full) (element-type GstPbutils.DiscovererStreamInfo): A #GList of
|
||||
* matching #GstDiscovererStreamInfo. The caller should free it with
|
||||
* gst_discoverer_stream_info_list_free().
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
GList *
|
||||
gst_discoverer_info_get_container_streams (GstDiscovererInfo * info)
|
||||
|
@ -560,8 +550,6 @@ gst_discoverer_info_get_container_streams (GstDiscovererInfo * info)
|
|||
*
|
||||
* Returns: a human readable name for the stream type of the given @info (ex : "audio",
|
||||
* "container",...).
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
const gchar *
|
||||
gst_discoverer_stream_info_get_stream_type_nick (GstDiscovererStreamInfo * info)
|
||||
|
@ -598,8 +586,6 @@ gst_discoverer_stream_info_get_stream_type_nick (GstDiscovererStreamInfo * info)
|
|||
* Returns: (transfer full): the previous #GstDiscovererStreamInfo in a chain.
|
||||
* %NULL for starting points. Unref with #gst_discoverer_stream_info_unref
|
||||
* after usage.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
GstDiscovererStreamInfo *
|
||||
gst_discoverer_stream_info_get_previous (GstDiscovererStreamInfo * info)
|
||||
|
@ -618,8 +604,6 @@ gst_discoverer_stream_info_get_previous (GstDiscovererStreamInfo * info)
|
|||
* Returns: (transfer full): the next #GstDiscovererStreamInfo in a chain. %NULL
|
||||
* for final streams.
|
||||
* Unref with #gst_discoverer_stream_info_unref after usage.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
GstDiscovererStreamInfo *
|
||||
gst_discoverer_stream_info_get_next (GstDiscovererStreamInfo * info)
|
||||
|
@ -638,8 +622,6 @@ gst_discoverer_stream_info_get_next (GstDiscovererStreamInfo * info)
|
|||
*
|
||||
* Returns: (transfer full): the #GstCaps of the stream. Unref with
|
||||
* #gst_caps_unref after usage.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
GstCaps *
|
||||
gst_discoverer_stream_info_get_caps (GstDiscovererStreamInfo * info)
|
||||
|
@ -657,8 +639,6 @@ gst_discoverer_stream_info_get_caps (GstDiscovererStreamInfo * info)
|
|||
*
|
||||
* Returns: (transfer none): the tags contained in this stream. If you wish to
|
||||
* use the tags after the life-time of @info you will need to copy them.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
const GstTagList *
|
||||
gst_discoverer_stream_info_get_tags (GstDiscovererStreamInfo * info)
|
||||
|
@ -674,8 +654,6 @@ gst_discoverer_stream_info_get_tags (GstDiscovererStreamInfo * info)
|
|||
*
|
||||
* Returns: (transfer none): the TOC contained in this stream. If you wish to
|
||||
* use the TOC after the life-time of @info you will need to copy it.
|
||||
*
|
||||
* Since: 0.11.92
|
||||
*/
|
||||
const GstToc *
|
||||
gst_discoverer_stream_info_get_toc (GstDiscovererStreamInfo * info)
|
||||
|
@ -692,8 +670,6 @@ gst_discoverer_stream_info_get_toc (GstDiscovererStreamInfo * info)
|
|||
* Returns: (transfer none): additional information regarding the stream (for
|
||||
* example codec version, profile, etc..). If you wish to use the #GstStructure
|
||||
* after the life-time of @info you will need to copy it.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
const GstStructure *
|
||||
gst_discoverer_stream_info_get_misc (GstDiscovererStreamInfo * info)
|
||||
|
@ -712,8 +688,6 @@ gst_discoverer_stream_info_get_misc (GstDiscovererStreamInfo * info)
|
|||
* Returns: (transfer full) (element-type GstPbutils.DiscovererStreamInfo): the list of
|
||||
* #GstDiscovererStreamInfo this container stream offers.
|
||||
* Free with gst_discoverer_stream_info_list_free() after usage.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
GList *
|
||||
|
@ -743,8 +717,6 @@ gst_discoverer_container_info_get_streams (GstDiscovererContainerInfo * info)
|
|||
* @info: a #GstDiscovererAudioInfo
|
||||
*
|
||||
* Returns: the number of channels in the stream.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
AUDIO_INFO_ACCESSOR_CODE (channels, guint, 0);
|
||||
|
@ -754,8 +726,6 @@ AUDIO_INFO_ACCESSOR_CODE (channels, guint, 0);
|
|||
* @info: a #GstDiscovererAudioInfo
|
||||
*
|
||||
* Returns: the sample rate of the stream in Hertz.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
AUDIO_INFO_ACCESSOR_CODE (sample_rate, guint, 0);
|
||||
|
@ -765,8 +735,6 @@ AUDIO_INFO_ACCESSOR_CODE (sample_rate, guint, 0);
|
|||
* @info: a #GstDiscovererAudioInfo
|
||||
*
|
||||
* Returns: the number of bits used per sample in each channel.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
AUDIO_INFO_ACCESSOR_CODE (depth, guint, 0);
|
||||
|
@ -776,8 +744,6 @@ AUDIO_INFO_ACCESSOR_CODE (depth, guint, 0);
|
|||
* @info: a #GstDiscovererAudioInfo
|
||||
*
|
||||
* Returns: the average or nominal bitrate of the stream in bits/second.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
AUDIO_INFO_ACCESSOR_CODE (bitrate, guint, 0);
|
||||
|
@ -787,8 +753,6 @@ AUDIO_INFO_ACCESSOR_CODE (bitrate, guint, 0);
|
|||
* @info: a #GstDiscovererAudioInfo
|
||||
*
|
||||
* Returns: the maximum bitrate of the stream in bits/second.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
AUDIO_INFO_ACCESSOR_CODE (max_bitrate, guint, 0);
|
||||
|
@ -798,8 +762,6 @@ AUDIO_INFO_ACCESSOR_CODE (max_bitrate, guint, 0);
|
|||
* @info: a #GstDiscovererAudioInfo
|
||||
*
|
||||
* Returns: the language of the stream, or NULL if unknown.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
|
||||
AUDIO_INFO_ACCESSOR_CODE (language, const gchar *, NULL);
|
||||
|
@ -816,8 +778,6 @@ AUDIO_INFO_ACCESSOR_CODE (language, const gchar *, NULL);
|
|||
* @info: a #GstDiscovererVideoInfo
|
||||
*
|
||||
* Returns: the width of the video stream in pixels.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
VIDEO_INFO_ACCESSOR_CODE (width, guint, 0);
|
||||
|
@ -827,8 +787,6 @@ VIDEO_INFO_ACCESSOR_CODE (width, guint, 0);
|
|||
* @info: a #GstDiscovererVideoInfo
|
||||
*
|
||||
* Returns: the height of the video stream in pixels.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
VIDEO_INFO_ACCESSOR_CODE (height, guint, 0);
|
||||
|
@ -838,8 +796,6 @@ VIDEO_INFO_ACCESSOR_CODE (height, guint, 0);
|
|||
* @info: a #GstDiscovererVideoInfo
|
||||
*
|
||||
* Returns: the depth in bits of the video stream.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
VIDEO_INFO_ACCESSOR_CODE (depth, guint, 0);
|
||||
|
@ -849,8 +805,6 @@ VIDEO_INFO_ACCESSOR_CODE (depth, guint, 0);
|
|||
* @info: a #GstDiscovererVideoInfo
|
||||
*
|
||||
* Returns: the framerate of the video stream (numerator).
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
VIDEO_INFO_ACCESSOR_CODE (framerate_num, guint, 0);
|
||||
|
@ -860,8 +814,6 @@ VIDEO_INFO_ACCESSOR_CODE (framerate_num, guint, 0);
|
|||
* @info: a #GstDiscovererVideoInfo
|
||||
*
|
||||
* Returns: the framerate of the video stream (denominator).
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
VIDEO_INFO_ACCESSOR_CODE (framerate_denom, guint, 0);
|
||||
|
@ -871,8 +823,6 @@ VIDEO_INFO_ACCESSOR_CODE (framerate_denom, guint, 0);
|
|||
* @info: a #GstDiscovererVideoInfo
|
||||
*
|
||||
* Returns: the Pixel Aspect Ratio (PAR) of the video stream (numerator).
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
VIDEO_INFO_ACCESSOR_CODE (par_num, guint, 0);
|
||||
|
@ -882,8 +832,6 @@ VIDEO_INFO_ACCESSOR_CODE (par_num, guint, 0);
|
|||
* @info: a #GstDiscovererVideoInfo
|
||||
*
|
||||
* Returns: the Pixel Aspect Ratio (PAR) of the video stream (denominator).
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
VIDEO_INFO_ACCESSOR_CODE (par_denom, guint, 0);
|
||||
|
@ -893,8 +841,6 @@ VIDEO_INFO_ACCESSOR_CODE (par_denom, guint, 0);
|
|||
* @info: a #GstDiscovererVideoInfo
|
||||
*
|
||||
* Returns: %TRUE if the stream is interlaced, else %FALSE.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
gboolean
|
||||
gst_discoverer_video_info_is_interlaced (const GstDiscovererVideoInfo * info)
|
||||
|
@ -909,8 +855,6 @@ gst_discoverer_video_info_is_interlaced (const GstDiscovererVideoInfo * info)
|
|||
* @info: a #GstDiscovererVideoInfo
|
||||
*
|
||||
* Returns: the average or nominal bitrate of the video stream in bits/second.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
VIDEO_INFO_ACCESSOR_CODE (bitrate, guint, 0);
|
||||
|
@ -920,8 +864,6 @@ VIDEO_INFO_ACCESSOR_CODE (bitrate, guint, 0);
|
|||
* @info: a #GstDiscovererVideoInfo
|
||||
*
|
||||
* Returns: the maximum bitrate of the video stream in bits/second.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
VIDEO_INFO_ACCESSOR_CODE (max_bitrate, guint, 0);
|
||||
|
@ -932,8 +874,6 @@ VIDEO_INFO_ACCESSOR_CODE (max_bitrate, guint, 0);
|
|||
*
|
||||
* Returns: #TRUE if the video stream corresponds to an image (i.e. only contains
|
||||
* one frame).
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
gboolean
|
||||
gst_discoverer_video_info_is_image (const GstDiscovererVideoInfo * info)
|
||||
|
@ -955,8 +895,6 @@ gst_discoverer_video_info_is_image (const GstDiscovererVideoInfo * info)
|
|||
* @info: a #GstDiscovererSubtitleInfo
|
||||
*
|
||||
* Returns: the language of the stream, or NULL if unknown.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
|
||||
SUBTITLE_INFO_ACCESSOR_CODE (language, const gchar *, NULL);
|
||||
|
@ -974,8 +912,6 @@ SUBTITLE_INFO_ACCESSOR_CODE (language, const gchar *, NULL);
|
|||
*
|
||||
* Returns: (transfer none): the URI to which this information corresponds to.
|
||||
* Copy it if you wish to use it after the life-time of @info.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
DISCOVERER_INFO_ACCESSOR_CODE (uri, const gchar *, NULL);
|
||||
|
@ -985,8 +921,6 @@ DISCOVERER_INFO_ACCESSOR_CODE (uri, const gchar *, NULL);
|
|||
* @info: a #GstDiscovererInfo
|
||||
*
|
||||
* Returns: the result of the discovery as a #GstDiscovererResult.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
DISCOVERER_INFO_ACCESSOR_CODE (result, GstDiscovererResult, GST_DISCOVERER_OK);
|
||||
|
@ -999,8 +933,6 @@ DISCOVERER_INFO_ACCESSOR_CODE (result, GstDiscovererResult, GST_DISCOVERER_OK);
|
|||
* #GstDiscovererStreamInfo.
|
||||
* This structure can be traversed to see the original hierarchy. Unref with
|
||||
* gst_discoverer_stream_info_unref() after usage.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
GstDiscovererStreamInfo *
|
||||
|
@ -1020,8 +952,6 @@ gst_discoverer_info_get_stream_info (GstDiscovererInfo * info)
|
|||
* Returns: (transfer full) (element-type GstPbutils.DiscovererStreamInfo): the list of
|
||||
* all streams contained in the #info. Free after usage
|
||||
* with gst_discoverer_stream_info_list_free().
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
GList *
|
||||
gst_discoverer_info_get_stream_list (GstDiscovererInfo * info)
|
||||
|
@ -1043,8 +973,6 @@ gst_discoverer_info_get_stream_list (GstDiscovererInfo * info)
|
|||
* @info: a #GstDiscovererInfo
|
||||
*
|
||||
* Returns: the duration of the URI in #GstClockTime (nanoseconds).
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
DISCOVERER_INFO_ACCESSOR_CODE (duration, GstClockTime, GST_CLOCK_TIME_NONE);
|
||||
|
@ -1054,8 +982,6 @@ DISCOVERER_INFO_ACCESSOR_CODE (duration, GstClockTime, GST_CLOCK_TIME_NONE);
|
|||
* @info: a #GstDiscovererInfo
|
||||
*
|
||||
* Returns: the whether the URI is seekable.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
|
||||
DISCOVERER_INFO_ACCESSOR_CODE (seekable, gboolean, FALSE);
|
||||
|
@ -1067,8 +993,6 @@ DISCOVERER_INFO_ACCESSOR_CODE (seekable, gboolean, FALSE);
|
|||
* Returns: (transfer none): Miscellaneous information stored as a #GstStructure
|
||||
* (for example: information about missing plugins). If you wish to use the
|
||||
* #GstStructure after the life-time of @info, you will need to copy it.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
DISCOVERER_INFO_ACCESSOR_CODE (misc, const GstStructure *, NULL);
|
||||
|
@ -1079,8 +1003,6 @@ DISCOVERER_INFO_ACCESSOR_CODE (misc, const GstStructure *, NULL);
|
|||
*
|
||||
* Returns: (transfer none): all tags contained in the URI. If you wish to use
|
||||
* the tags after the life-time of @info, you will need to copy them.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
DISCOVERER_INFO_ACCESSOR_CODE (tags, const GstTagList *, NULL);
|
||||
|
@ -1091,8 +1013,6 @@ DISCOVERER_INFO_ACCESSOR_CODE (tags, const GstTagList *, NULL);
|
|||
*
|
||||
* Returns: (transfer none): TOC contained in the URI. If you wish to use
|
||||
* the TOC after the life-time of @info, you will need to copy it.
|
||||
*
|
||||
* Since: 0.11.92
|
||||
*/
|
||||
|
||||
DISCOVERER_INFO_ACCESSOR_CODE (toc, const GstToc *, NULL);
|
||||
|
@ -1104,8 +1024,6 @@ DISCOVERER_INFO_ACCESSOR_CODE (toc, const GstToc *, NULL);
|
|||
* Increments the reference count of @info.
|
||||
*
|
||||
* Returns: the same #GstDiscovererInfo object
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -1113,8 +1031,6 @@ DISCOVERER_INFO_ACCESSOR_CODE (toc, const GstToc *, NULL);
|
|||
* @info: a #GstDiscovererInfo
|
||||
*
|
||||
* Decrements the reference count of @info.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -1124,8 +1040,6 @@ DISCOVERER_INFO_ACCESSOR_CODE (toc, const GstToc *, NULL);
|
|||
* Increments the reference count of @info.
|
||||
*
|
||||
* Returns: the same #GstDiscovererStreamInfo object
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -1133,6 +1047,4 @@ DISCOVERER_INFO_ACCESSOR_CODE (toc, const GstToc *, NULL);
|
|||
* @info: a #GstDiscovererStreamInfo
|
||||
*
|
||||
* Decrements the reference count of @info.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
|
|
@ -36,8 +36,6 @@
|
|||
* asks for the discovery to begin (through gst_discoverer_start()).
|
||||
*
|
||||
* All the information is returned in a #GstDiscovererInfo structure.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
@ -195,7 +193,7 @@ gst_discoverer_class_init (GstDiscovererClass * klass)
|
|||
|
||||
/* properties */
|
||||
/**
|
||||
* GstDiscoverer:timeout
|
||||
* GstDiscoverer:timeout:
|
||||
*
|
||||
* The duration (in nanoseconds) after which the discovery of an individual
|
||||
* URI will timeout.
|
||||
|
@ -1534,8 +1532,6 @@ beach:
|
|||
* Allow asynchronous discovering of URIs to take place.
|
||||
* A #GMainLoop must be available for #GstDiscoverer to properly work in
|
||||
* asynchronous mode.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
void
|
||||
gst_discoverer_start (GstDiscoverer * discoverer)
|
||||
|
@ -1576,8 +1572,6 @@ gst_discoverer_start (GstDiscoverer * discoverer)
|
|||
*
|
||||
* Stop the discovery of any pending URIs and clears the list of
|
||||
* pending URIS (if any).
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
void
|
||||
gst_discoverer_stop (GstDiscoverer * discoverer)
|
||||
|
@ -1640,8 +1634,6 @@ gst_discoverer_stop (GstDiscoverer * discoverer)
|
|||
*
|
||||
* Returns: %TRUE if the @uri was successfully appended to the list of pending
|
||||
* uris, else %FALSE
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
gboolean
|
||||
gst_discoverer_discover_uri_async (GstDiscoverer * discoverer,
|
||||
|
@ -1678,8 +1670,6 @@ gst_discoverer_discover_uri_async (GstDiscoverer * discoverer,
|
|||
*
|
||||
* Returns: (transfer full): the result of the scanning. Can be %NULL if an
|
||||
* error occurred.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
GstDiscovererInfo *
|
||||
gst_discoverer_discover_uri (GstDiscoverer * discoverer, const gchar * uri,
|
||||
|
@ -1735,8 +1725,6 @@ gst_discoverer_discover_uri (GstDiscoverer * discoverer, const gchar * uri,
|
|||
* If an error occurred when creating the discoverer, @err will be set
|
||||
* accordingly and %NULL will be returned. If @err is set, the caller must
|
||||
* free it when no longer needed using g_error_free().
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
GstDiscoverer *
|
||||
gst_discoverer_new (GstClockTime timeout, GError ** err)
|
||||
|
|
|
@ -53,8 +53,6 @@ GType gst_discoverer_stream_info_get_type (void);
|
|||
* corresponding to the AVI container, which in turn will have a
|
||||
* #GstDiscovererAudioInfo sub-stream and a #GstDiscovererVideoInfo sub-stream
|
||||
* for the audio and video streams respectively.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define gst_discoverer_stream_info_ref(info) ((GstDiscovererStreamInfo*) g_object_ref((GObject*) info))
|
||||
#define gst_discoverer_stream_info_unref(info) (g_object_unref((GObject*) info))
|
||||
|
@ -71,8 +69,6 @@ const gchar * gst_discoverer_stream_info_get_stream_type_nick(GstDisc
|
|||
* GstDiscovererContainerInfo:
|
||||
*
|
||||
* #GstDiscovererStreamInfo specific to container streams.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TYPE_DISCOVERER_CONTAINER_INFO \
|
||||
(gst_discoverer_container_info_get_type ())
|
||||
|
@ -92,8 +88,6 @@ GList *gst_discoverer_container_info_get_streams(GstDiscovererContainerInfo *inf
|
|||
* GstDiscovererAudioInfo:
|
||||
*
|
||||
* #GstDiscovererStreamInfo specific to audio streams.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TYPE_DISCOVERER_AUDIO_INFO \
|
||||
(gst_discoverer_audio_info_get_type ())
|
||||
|
@ -117,8 +111,6 @@ const gchar * gst_discoverer_audio_info_get_language(const GstDiscovererAudioInf
|
|||
* GstDiscovererVideoInfo:
|
||||
*
|
||||
* #GstDiscovererStreamInfo specific to video streams (this includes images).
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TYPE_DISCOVERER_VIDEO_INFO \
|
||||
(gst_discoverer_video_info_get_type ())
|
||||
|
@ -147,8 +139,6 @@ gboolean gst_discoverer_video_info_is_image(const GstDiscovererVideoInfo*
|
|||
*
|
||||
* #GstDiscovererStreamInfo specific to subtitle streams (this includes text and
|
||||
* image based ones).
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_TYPE_DISCOVERER_SUBTITLE_INFO \
|
||||
(gst_discoverer_subtitle_info_get_type ())
|
||||
|
@ -172,8 +162,6 @@ const gchar * gst_discoverer_subtitle_info_get_language(const GstDiscovererSub
|
|||
* @GST_DISCOVERER_MISSING_PLUGINS: Some plugins are missing for full discovery
|
||||
*
|
||||
* Result values for the discovery process.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
typedef enum {
|
||||
GST_DISCOVERER_OK = 0,
|
||||
|
@ -189,8 +177,6 @@ typedef enum {
|
|||
* GstDiscovererInfo:
|
||||
*
|
||||
* Structure containing the information of a URI analyzed by #GstDiscoverer.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
typedef struct _GstDiscovererInfo GstDiscovererInfo;
|
||||
|
||||
|
@ -246,8 +232,6 @@ typedef struct _GstDiscovererPrivate GstDiscovererPrivate;
|
|||
* GstDiscoverer:
|
||||
*
|
||||
* The #GstDiscoverer structure.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
**/
|
||||
struct _GstDiscoverer {
|
||||
GObject parent;
|
||||
|
|
|
@ -39,8 +39,6 @@
|
|||
* @nano: (out): pointer to a guint to store the nano version number, or %NULL
|
||||
*
|
||||
* Gets the version number of the GStreamer Plugins Base libraries.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
void
|
||||
gst_plugins_base_version (guint * major, guint * minor, guint * micro,
|
||||
|
@ -64,8 +62,6 @@ gst_plugins_base_version (guint * major, guint * minor, guint * micro,
|
|||
* strings, logging, about dialogs ...
|
||||
*
|
||||
* Returns: a newly allocated string describing this version of gst-plugins-base
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
gchar *
|
||||
gst_plugins_base_version_string (void)
|
||||
|
|
|
@ -28,24 +28,18 @@ G_BEGIN_DECLS
|
|||
* GST_PLUGINS_BASE_VERSION_MAJOR:
|
||||
*
|
||||
* The major version of GStreamer's gst-plugins-base libraries at compile time.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_PLUGINS_BASE_VERSION_MAJOR (@PACKAGE_VERSION_MAJOR@)
|
||||
/**
|
||||
* GST_PLUGINS_BASE_VERSION_MINOR:
|
||||
*
|
||||
* The minor version of GStreamer's gst-plugins-base libraries at compile time.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_PLUGINS_BASE_VERSION_MINOR (@PACKAGE_VERSION_MINOR@)
|
||||
/**
|
||||
* GST_PLUGINS_BASE_VERSION_MICRO:
|
||||
*
|
||||
* The micro version of GStreamer's gst-plugins-base libraries at compile time.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_PLUGINS_BASE_VERSION_MICRO (@PACKAGE_VERSION_MICRO@)
|
||||
/**
|
||||
|
@ -53,8 +47,6 @@ G_BEGIN_DECLS
|
|||
*
|
||||
* The nano version of GStreamer's gst-plugins-base libraries at compile time.
|
||||
* Actual releases have 0, GIT versions have 1, prerelease versions have 2-...
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_PLUGINS_BASE_VERSION_NANO (@PACKAGE_VERSION_NANO@)
|
||||
|
||||
|
@ -66,8 +58,6 @@ G_BEGIN_DECLS
|
|||
*
|
||||
* Check whether a GStreamer's gst-plugins-base libraries' version equal to
|
||||
* or greater than major.minor.micro is present.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_CHECK_PLUGINS_BASE_VERSION(major,minor,micro) \
|
||||
(GST_PLUGINS_BASE_VERSION_MAJOR > (major) || \
|
||||
|
|
|
@ -411,8 +411,6 @@ struct _GstInstallPluginsContext
|
|||
* ##endif
|
||||
* ...
|
||||
* </programlisting>
|
||||
*
|
||||
* Since: 0.10.12
|
||||
*/
|
||||
void
|
||||
gst_install_plugins_context_set_xid (GstInstallPluginsContext * ctx, guint xid)
|
||||
|
@ -429,8 +427,6 @@ gst_install_plugins_context_set_xid (GstInstallPluginsContext * ctx, guint xid)
|
|||
*
|
||||
* Returns: a new #GstInstallPluginsContext. Free with
|
||||
* gst_install_plugins_context_free() when no longer needed
|
||||
*
|
||||
* Since: 0.10.12
|
||||
*/
|
||||
GstInstallPluginsContext *
|
||||
gst_install_plugins_context_new (void)
|
||||
|
@ -443,8 +439,6 @@ gst_install_plugins_context_new (void)
|
|||
* @ctx: a #GstInstallPluginsContext
|
||||
*
|
||||
* Frees a #GstInstallPluginsContext.
|
||||
*
|
||||
* Since: 0.10.12
|
||||
*/
|
||||
void
|
||||
gst_install_plugins_context_free (GstInstallPluginsContext * ctx)
|
||||
|
@ -621,8 +615,6 @@ gst_install_plugins_installer_exited (GPid pid, gint status, gpointer data)
|
|||
* installed but no suitable video decoder and no suitable audio decoder).
|
||||
*
|
||||
* Returns: result code whether an external installer could be started
|
||||
*
|
||||
* Since: 0.10.12
|
||||
*/
|
||||
|
||||
GstInstallPluginsReturn
|
||||
|
@ -671,8 +663,6 @@ gst_install_plugins_async (gchar ** details, GstInstallPluginsContext * ctx,
|
|||
* gst_install_plugins_async() instead of this function.
|
||||
*
|
||||
* Returns: the result of the installation.
|
||||
*
|
||||
* Since: 0.10.12
|
||||
*/
|
||||
GstInstallPluginsReturn
|
||||
gst_install_plugins_sync (gchar ** details, GstInstallPluginsContext * ctx)
|
||||
|
@ -705,8 +695,6 @@ gst_install_plugins_sync (gchar ** details, GstInstallPluginsContext * ctx)
|
|||
* in debugging.
|
||||
*
|
||||
* Returns: a descriptive string for the status code in @ret
|
||||
*
|
||||
* Since: 0.10.12
|
||||
*/
|
||||
const gchar *
|
||||
gst_install_plugins_return_get_name (GstInstallPluginsReturn ret)
|
||||
|
@ -747,8 +735,6 @@ gst_install_plugins_return_get_name (GstInstallPluginsReturn ret)
|
|||
* is currently in progress.
|
||||
*
|
||||
* Returns: TRUE if plugin installation is in progress, otherwise FALSE
|
||||
*
|
||||
* Since: 0.10.12
|
||||
*/
|
||||
gboolean
|
||||
gst_install_plugins_installation_in_progress (void)
|
||||
|
@ -765,8 +751,6 @@ gst_install_plugins_installation_in_progress (void)
|
|||
* exists.
|
||||
*
|
||||
* Returns: TRUE if plugin installation is likely to be supported.
|
||||
*
|
||||
* Since: 0.10.15
|
||||
*/
|
||||
gboolean
|
||||
gst_install_plugins_supported (void)
|
||||
|
|
|
@ -62,8 +62,6 @@ G_BEGIN_DECLS
|
|||
*
|
||||
* These codes indicate success or failure of starting an external installer
|
||||
* program and to what extent the requested plugins could be installed.
|
||||
*
|
||||
* Since: 0.10.12
|
||||
*/
|
||||
typedef enum {
|
||||
/* Return codes from the installer. Returned by gst_install_plugins_sync(),
|
||||
|
@ -93,8 +91,6 @@ typedef enum {
|
|||
*
|
||||
* Opaque context structure for the plugin installation. Use the provided
|
||||
* API to set details on it.
|
||||
*
|
||||
* Since: 0.10.12
|
||||
*/
|
||||
|
||||
#define GST_TYPE_INSTALL_PLUGINS_CONTEXT (gst_install_plugins_context_get_type())
|
||||
|
@ -118,8 +114,6 @@ GType gst_install_plugins_context_get_type (void);
|
|||
* The prototype of the callback function that will be called once the
|
||||
* external plugin installer program has returned. You only need to provide
|
||||
* a callback function if you are using the asynchronous interface.
|
||||
*
|
||||
* Since: 0.10.12
|
||||
*/
|
||||
typedef void (*GstInstallPluginsResultFunc) (GstInstallPluginsReturn result,
|
||||
gpointer user_data);
|
||||
|
|
|
@ -654,8 +654,6 @@ gst_installer_detail_new (gchar * description, const gchar * type,
|
|||
*
|
||||
* Returns: a newly-allocated detail string, or NULL on error. Free string
|
||||
* with g_free() when not needed any longer.
|
||||
*
|
||||
* Since: 0.10.15
|
||||
*/
|
||||
gchar *
|
||||
gst_missing_uri_source_installer_detail_new (const gchar * protocol)
|
||||
|
@ -684,8 +682,6 @@ gst_missing_uri_source_installer_detail_new (const gchar * protocol)
|
|||
*
|
||||
* Returns: a newly-allocated detail string, or NULL on error. Free string
|
||||
* with g_free() when not needed any longer.
|
||||
*
|
||||
* Since: 0.10.15
|
||||
*/
|
||||
gchar *
|
||||
gst_missing_uri_sink_installer_detail_new (const gchar * protocol)
|
||||
|
@ -714,8 +710,6 @@ gst_missing_uri_sink_installer_detail_new (const gchar * protocol)
|
|||
*
|
||||
* Returns: a newly-allocated detail string, or NULL on error. Free string
|
||||
* with g_free() when not needed any longer.
|
||||
*
|
||||
* Since: 0.10.15
|
||||
*/
|
||||
gchar *
|
||||
gst_missing_element_installer_detail_new (const gchar * factory_name)
|
||||
|
@ -743,8 +737,6 @@ gst_missing_element_installer_detail_new (const gchar * factory_name)
|
|||
*
|
||||
* Returns: a newly-allocated detail string, or NULL on error. Free string
|
||||
* with g_free() when not needed any longer.
|
||||
*
|
||||
* Since: 0.10.15
|
||||
*/
|
||||
gchar *
|
||||
gst_missing_decoder_installer_detail_new (const GstCaps * decode_caps)
|
||||
|
@ -783,8 +775,6 @@ gst_missing_decoder_installer_detail_new (const GstCaps * decode_caps)
|
|||
*
|
||||
* Returns: a newly-allocated detail string, or NULL on error. Free string
|
||||
* with g_free() when not needed any longer.
|
||||
*
|
||||
* Since: 0.10.15
|
||||
*/
|
||||
gchar *
|
||||
gst_missing_encoder_installer_detail_new (const GstCaps * encode_caps)
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
*
|
||||
* <refsect2>
|
||||
* <para>
|
||||
* libgstpbutils is a general utility library for plugins and applications,
|
||||
* available since gst-plugins-base 0.10.12. It currently provides the
|
||||
* libgstpbutils is a general utility library for plugins and applications.
|
||||
* It currently provides the
|
||||
* following:
|
||||
* </para>
|
||||
* <itemizedlist>
|
||||
|
@ -85,8 +85,6 @@
|
|||
*
|
||||
* This function may be called multiple times. It will do nothing if the
|
||||
* library has already been initialised.
|
||||
*
|
||||
* Since: 0.10.12
|
||||
*/
|
||||
void
|
||||
gst_pb_utils_init (void)
|
||||
|
|
|
@ -40,8 +40,8 @@ GST_DEBUG_CATEGORY_EXTERN (riff_debug);
|
|||
* @tag: fourcc of the chunk (returned by this function).
|
||||
* @chunk_data: buffer (returned by this function).
|
||||
*
|
||||
* Reads a single chunk of data. Since 0.10.8 'JUNK' chunks
|
||||
* are skipped automatically.
|
||||
* Reads a single chunk of data. 'JUNK' chunks are skipped
|
||||
* automatically.
|
||||
*
|
||||
* Returns: flow status.
|
||||
*/
|
||||
|
|
|
@ -42,8 +42,6 @@
|
|||
* </refsect2>
|
||||
*
|
||||
* Last reviewed on 2007-03-26 (0.10.13)
|
||||
*
|
||||
* Since: 0.10.13
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
@ -1718,8 +1716,6 @@ no_space:
|
|||
* Get the sender SSRC field of the RTPFB or PSFB @packet.
|
||||
*
|
||||
* Returns: the sender SSRC.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
guint32
|
||||
gst_rtcp_packet_fb_get_sender_ssrc (GstRTCPPacket * packet)
|
||||
|
@ -1748,8 +1744,6 @@ gst_rtcp_packet_fb_get_sender_ssrc (GstRTCPPacket * packet)
|
|||
* @ssrc: a sender SSRC
|
||||
*
|
||||
* Set the sender SSRC field of the RTPFB or PSFB @packet.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
void
|
||||
gst_rtcp_packet_fb_set_sender_ssrc (GstRTCPPacket * packet, guint32 ssrc)
|
||||
|
@ -1776,8 +1770,6 @@ gst_rtcp_packet_fb_set_sender_ssrc (GstRTCPPacket * packet, guint32 ssrc)
|
|||
* Get the media SSRC field of the RTPFB or PSFB @packet.
|
||||
*
|
||||
* Returns: the media SSRC.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
guint32
|
||||
gst_rtcp_packet_fb_get_media_ssrc (GstRTCPPacket * packet)
|
||||
|
@ -1806,8 +1798,6 @@ gst_rtcp_packet_fb_get_media_ssrc (GstRTCPPacket * packet)
|
|||
* @ssrc: a media SSRC
|
||||
*
|
||||
* Set the media SSRC field of the RTPFB or PSFB @packet.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
void
|
||||
gst_rtcp_packet_fb_set_media_ssrc (GstRTCPPacket * packet, guint32 ssrc)
|
||||
|
@ -1834,8 +1824,6 @@ gst_rtcp_packet_fb_set_media_ssrc (GstRTCPPacket * packet, guint32 ssrc)
|
|||
* Get the feedback message type of the FB @packet.
|
||||
*
|
||||
* Returns: The feedback message type.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GstRTCPFBType
|
||||
gst_rtcp_packet_fb_get_type (GstRTCPPacket * packet)
|
||||
|
@ -1853,8 +1841,6 @@ gst_rtcp_packet_fb_get_type (GstRTCPPacket * packet)
|
|||
* @type: the #GstRTCPFBType to set
|
||||
*
|
||||
* Set the feedback message type of the FB @packet.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
void
|
||||
gst_rtcp_packet_fb_set_type (GstRTCPPacket * packet, GstRTCPFBType type)
|
||||
|
@ -1937,8 +1923,6 @@ gst_rtcp_unix_to_ntp (guint64 unixtime)
|
|||
* key in a #GstStructure containing SDES items.
|
||||
*
|
||||
* Returns: the string equivalent of @type
|
||||
*
|
||||
* Since: 0.10.26
|
||||
*/
|
||||
const gchar *
|
||||
gst_rtcp_sdes_type_to_name (GstRTCPSDESType type)
|
||||
|
@ -1986,8 +1970,6 @@ gst_rtcp_sdes_type_to_name (GstRTCPSDESType type)
|
|||
*
|
||||
* Returns: the #GstRTCPSDESType for @name or #GST_RTCP_SDES_PRIV when @name
|
||||
* is a private sdes item.
|
||||
*
|
||||
* Since: 0.10.26
|
||||
*/
|
||||
GstRTCPSDESType
|
||||
gst_rtcp_sdes_name_to_type (const gchar * name)
|
||||
|
@ -2027,8 +2009,6 @@ gst_rtcp_sdes_name_to_type (const gchar * name)
|
|||
* RTPFB or PSFB @packet.
|
||||
*
|
||||
* Returns: The length of the FCI in 32-bit words.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
guint16
|
||||
gst_rtcp_packet_fb_get_fci_length (GstRTCPPacket * packet)
|
||||
|
@ -2055,8 +2035,6 @@ gst_rtcp_packet_fb_get_fci_length (GstRTCPPacket * packet)
|
|||
* RTPFB or PSFB @packet.
|
||||
*
|
||||
* Returns: %TRUE if there was enough space in the packet to add this much FCI
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
gboolean
|
||||
gst_rtcp_packet_fb_set_fci_length (GstRTCPPacket * packet, guint16 wordlen)
|
||||
|
@ -2088,8 +2066,6 @@ gst_rtcp_packet_fb_set_fci_length (GstRTCPPacket * packet, guint16 wordlen)
|
|||
* Get the Feedback Control Information attached to a RTPFB or PSFB @packet.
|
||||
*
|
||||
* Returns: a pointer to the FCI
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
guint8 *
|
||||
gst_rtcp_packet_fb_get_fci (GstRTCPPacket * packet)
|
||||
|
|
|
@ -42,8 +42,8 @@ G_BEGIN_DECLS
|
|||
* @GST_RTCP_TYPE_SDES: Source description
|
||||
* @GST_RTCP_TYPE_BYE: Goodbye
|
||||
* @GST_RTCP_TYPE_APP: Application defined
|
||||
* @GST_RTCP_TYPE_RTPFB: Transport layer feedback. Since: 0.10.23
|
||||
* @GST_RTCP_TYPE_PSFB: Payload-specific feedback. Since: 0.10.23
|
||||
* @GST_RTCP_TYPE_RTPFB: Transport layer feedback.
|
||||
* @GST_RTCP_TYPE_PSFB: Payload-specific feedback.
|
||||
*
|
||||
* Different RTCP packet types.
|
||||
*/
|
||||
|
@ -76,8 +76,6 @@ typedef enum
|
|||
* @GST_RTCP_PSFB_TYPE_VBCN: Video Back Channel Message
|
||||
*
|
||||
* Different types of feedback messages.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
|
|
|
@ -365,8 +365,6 @@ gst_rtp_base_audio_payload_set_sample_options (GstRTPBaseAudioPayload
|
|||
* @sample_size: Size per sample in bits.
|
||||
*
|
||||
* Sets the options for sample based audio codecs.
|
||||
*
|
||||
* Since: 0.10.18
|
||||
*/
|
||||
void
|
||||
gst_rtp_base_audio_payload_set_samplebits_options (GstRTPBaseAudioPayload
|
||||
|
@ -445,8 +443,6 @@ gst_rtp_base_audio_payload_set_meta (GstRTPBaseAudioPayload * payload,
|
|||
* the buffer downstream.
|
||||
*
|
||||
* Returns: a #GstFlowReturn
|
||||
*
|
||||
* Since: 0.10.13
|
||||
*/
|
||||
GstFlowReturn
|
||||
gst_rtp_base_audio_payload_push (GstRTPBaseAudioPayload * baseaudiopayload,
|
||||
|
@ -560,8 +556,6 @@ gst_rtp_base_audio_payload_push_buffer (GstRTPBaseAudioPayload *
|
|||
* -1, the timestamp will be calculated automatically.
|
||||
*
|
||||
* Returns: a #GstFlowReturn
|
||||
*
|
||||
* Since: 0.10.25
|
||||
*/
|
||||
GstFlowReturn
|
||||
gst_rtp_base_audio_payload_flush (GstRTPBaseAudioPayload * baseaudiopayload,
|
||||
|
@ -987,8 +981,6 @@ gst_rtp_base_payload_audio_sink_event (GstRTPBasePayload * basep,
|
|||
* Gets the internal adapter used by the depayloader.
|
||||
*
|
||||
* Returns: a #GstAdapter.
|
||||
*
|
||||
* Since: 0.10.13
|
||||
*/
|
||||
GstAdapter *
|
||||
gst_rtp_base_audio_payload_get_adapter (GstRTPBaseAudioPayload
|
||||
|
|
|
@ -603,8 +603,6 @@ gst_rtp_base_depayload_push (GstRTPBaseDepayload * filter, GstBuffer * out_buf)
|
|||
* @out_list.
|
||||
*
|
||||
* Returns: a #GstFlowReturn.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
GstFlowReturn
|
||||
gst_rtp_base_depayload_push_list (GstRTPBaseDepayload * filter,
|
||||
|
|
|
@ -92,8 +92,7 @@ struct _GstRTPBaseDepayloadClass
|
|||
gboolean (*packet_lost) (GstRTPBaseDepayload *filter, GstEvent *event);
|
||||
|
||||
/* the default implementation does the default actions for events but
|
||||
* implementation can override.
|
||||
* Since: 0.10.32 */
|
||||
* implementation can override. */
|
||||
gboolean (*handle_event) (GstRTPBaseDepayload * filter, GstEvent * event);
|
||||
|
||||
/*< private >*/
|
||||
|
|
|
@ -195,8 +195,6 @@ gst_rtp_base_payload_class_init (GstRTPBasePayloadClass * klass)
|
|||
* GstRTPBaseAudioPayload:min-ptime:
|
||||
*
|
||||
* Minimum duration of the packet data in ns (can't go above MTU)
|
||||
*
|
||||
* Since: 0.10.13
|
||||
**/
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_MIN_PTIME,
|
||||
g_param_spec_int64 ("min-ptime", "Min packet time",
|
||||
|
@ -220,8 +218,6 @@ gst_rtp_base_payload_class_init (GstRTPBasePayloadClass * klass)
|
|||
* option is disabled, RTP timestamps are generated from the GStreamer
|
||||
* timestamps, which could result in RTP timestamps that don't increment with
|
||||
* the amount of data in the packet.
|
||||
*
|
||||
* Since: 0.10.25
|
||||
*/
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PERFECT_RTPTIME,
|
||||
g_param_spec_boolean ("perfect-rtptime", "Perfect RTP Time",
|
||||
|
@ -231,8 +227,6 @@ gst_rtp_base_payload_class_init (GstRTPBasePayloadClass * klass)
|
|||
* GstRTPBaseAudioPayload:ptime-multiple:
|
||||
*
|
||||
* Force buffers to be multiples of this duration in ns (0 disables)
|
||||
*
|
||||
* Since: 0.10.29
|
||||
**/
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PTIME_MULTIPLE,
|
||||
g_param_spec_int64 ("ptime-multiple", "Packet time multiple",
|
||||
|
@ -882,8 +876,6 @@ no_rate:
|
|||
* This function takes ownership of @list.
|
||||
*
|
||||
* Returns: a #GstFlowReturn.
|
||||
*
|
||||
* Since: 0.10.24
|
||||
*/
|
||||
GstFlowReturn
|
||||
gst_rtp_base_payload_push_list (GstRTPBasePayload * payload,
|
||||
|
|
|
@ -638,8 +638,6 @@ gst_rtp_buffer_set_extension (GstRTPBuffer * rtp, gboolean extension)
|
|||
* with @bits, @data and @wordlen unchanged.
|
||||
*
|
||||
* Returns: TRUE if @buffer had the extension bit set.
|
||||
*
|
||||
* Since: 0.10.15
|
||||
*/
|
||||
gboolean
|
||||
gst_rtp_buffer_get_extension_data (GstRTPBuffer * rtp, guint16 * bits,
|
||||
|
@ -680,8 +678,6 @@ gst_rtp_buffer_get_extension_data (GstRTPBuffer * rtp, guint16 * bits,
|
|||
* large enough.
|
||||
*
|
||||
* Returns: True if done.
|
||||
*
|
||||
* Since: 0.10.18
|
||||
*/
|
||||
gboolean
|
||||
gst_rtp_buffer_set_extension_data (GstRTPBuffer * rtp, guint16 bits,
|
||||
|
@ -922,8 +918,6 @@ gst_rtp_buffer_set_timestamp (GstRTPBuffer * rtp, guint32 timestamp)
|
|||
* If @len is -1 the total payload starting from @offset if subbuffered.
|
||||
*
|
||||
* Returns: A new buffer with the specified data of the payload.
|
||||
*
|
||||
* Since: 0.10.10
|
||||
*/
|
||||
GstBuffer *
|
||||
gst_rtp_buffer_get_payload_subbuffer (GstRTPBuffer * rtp, guint offset,
|
||||
|
@ -1019,8 +1013,6 @@ gst_rtp_buffer_get_payload (GstRTPBuffer * rtp)
|
|||
*
|
||||
* Returns: the default clock rate or -1 if the payload type is not static or
|
||||
* the clock-rate is undefined.
|
||||
*
|
||||
* Since: 0.10.13
|
||||
*/
|
||||
guint32
|
||||
gst_rtp_buffer_default_clock_rate (guint8 payload_type)
|
||||
|
@ -1050,8 +1042,6 @@ gst_rtp_buffer_default_clock_rate (guint8 payload_type)
|
|||
*
|
||||
* Returns: a negative value if @seqnum1 is bigger than @seqnum2, 0 if they
|
||||
* are equal or a positive value if @seqnum1 is smaller than @segnum2.
|
||||
*
|
||||
* Since: 0.10.15
|
||||
*/
|
||||
gint
|
||||
gst_rtp_buffer_compare_seqnum (guint16 seqnum1, guint16 seqnum2)
|
||||
|
@ -1071,8 +1061,6 @@ gst_rtp_buffer_compare_seqnum (guint16 seqnum1, guint16 seqnum2)
|
|||
* value even in the case where there is a timestamp wraparound.
|
||||
*
|
||||
* Returns: The extended timestamp of @timestamp.
|
||||
*
|
||||
* Since: 0.10.15
|
||||
*/
|
||||
guint64
|
||||
gst_rtp_buffer_ext_timestamp (guint64 * exttimestamp, guint32 timestamp)
|
||||
|
@ -1118,8 +1106,6 @@ gst_rtp_buffer_ext_timestamp (guint64 * exttimestamp, guint32 timestamp)
|
|||
* return the nth extension with the requested id.
|
||||
*
|
||||
* Returns: TRUE if @buffer had the requested header extension
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
gboolean
|
||||
|
@ -1198,8 +1184,6 @@ gst_rtp_buffer_get_extension_onebyte_header (GstRTPBuffer * rtp, guint8 id,
|
|||
* return the nth extension with the requested id.
|
||||
*
|
||||
* Returns: TRUE if @buffer had the requested header extension
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
gboolean
|
||||
|
@ -1315,8 +1299,6 @@ get_onebyte_header_end_offset (guint8 * pdata, guint wordlen)
|
|||
* gst_rtp_buffer_add_extension_twobytes_header()
|
||||
*
|
||||
* Returns: %TRUE if header extension could be added
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
gboolean
|
||||
|
@ -1436,8 +1418,6 @@ get_twobytes_header_end_offset (guint8 * pdata, guint wordlen)
|
|||
* gst_rtp_buffer_add_extension_onebyte_header()
|
||||
*
|
||||
* Returns: %TRUE if header extension could be added
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
|
||||
gboolean
|
||||
|
|
|
@ -236,8 +236,6 @@ gst_rtsp_connection_create (const GstRTSPUrl * url, GstRTSPConnection ** conn)
|
|||
* @socket which should be used before starting to read new data.
|
||||
*
|
||||
* Returns: #GST_RTSP_OK when @conn contains a valid connection.
|
||||
*
|
||||
* Since: 0.10.25
|
||||
*/
|
||||
GstRTSPResult
|
||||
gst_rtsp_connection_create_from_socket (GSocket * socket, const gchar * ip,
|
||||
|
@ -294,8 +292,6 @@ newconn_failed:
|
|||
* handling communication on new socket.
|
||||
*
|
||||
* Returns: #GST_RTSP_OK when @conn contains a valid connection.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GstRTSPResult
|
||||
gst_rtsp_connection_accept (GSocket * socket, GstRTSPConnection ** conn,
|
||||
|
@ -2240,8 +2236,6 @@ gst_rtsp_connection_free (GstRTSPConnection * conn)
|
|||
* This function can be cancelled with gst_rtsp_connection_flush().
|
||||
*
|
||||
* Returns: #GST_RTSP_OK on success.
|
||||
*
|
||||
* Since: 0.10.15
|
||||
*/
|
||||
GstRTSPResult
|
||||
gst_rtsp_connection_poll (GstRTSPConnection * conn, GstRTSPEvent events,
|
||||
|
@ -2412,8 +2406,6 @@ gst_rtsp_connection_flush (GstRTSPConnection * conn, gboolean flush)
|
|||
* Set the proxy host and port.
|
||||
*
|
||||
* Returns: #GST_RTSP_OK.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GstRTSPResult
|
||||
gst_rtsp_connection_set_proxy (GstRTSPConnection * conn,
|
||||
|
@ -2518,8 +2510,6 @@ str_case_equal (gconstpointer v1, gconstpointer v2)
|
|||
* #GST_RTSP_AUTH_DIGEST, directives should be taken from the digest challenge
|
||||
* in the WWW-Authenticate response header and can include realm, domain,
|
||||
* nonce, opaque, stale, algorithm, qop as per RFC2617.
|
||||
*
|
||||
* Since: 0.10.20
|
||||
*/
|
||||
void
|
||||
gst_rtsp_connection_set_auth_param (GstRTSPConnection * conn,
|
||||
|
@ -2540,8 +2530,6 @@ gst_rtsp_connection_set_auth_param (GstRTSPConnection * conn,
|
|||
* @conn: a #GstRTSPConnection
|
||||
*
|
||||
* Clear the list of authentication directives stored in @conn.
|
||||
*
|
||||
* Since: 0.10.20
|
||||
*/
|
||||
void
|
||||
gst_rtsp_connection_clear_auth_params (GstRTSPConnection * conn)
|
||||
|
@ -2622,8 +2610,6 @@ wrong_family:
|
|||
* Configure @conn to use the specified DSCP value.
|
||||
*
|
||||
* Returns: #GST_RTSP_OK on success.
|
||||
*
|
||||
* Since: 0.10.20
|
||||
*/
|
||||
GstRTSPResult
|
||||
gst_rtsp_connection_set_qos_dscp (GstRTSPConnection * conn, guint qos_dscp)
|
||||
|
@ -2650,8 +2636,6 @@ gst_rtsp_connection_set_qos_dscp (GstRTSPConnection * conn, guint qos_dscp)
|
|||
*
|
||||
* Returns: The URL. This value remains valid until the
|
||||
* connection is freed.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GstRTSPUrl *
|
||||
gst_rtsp_connection_get_url (const GstRTSPConnection * conn)
|
||||
|
@ -2669,8 +2653,6 @@ gst_rtsp_connection_get_url (const GstRTSPConnection * conn)
|
|||
*
|
||||
* Returns: The IP address as a string. this value remains valid until the
|
||||
* connection is closed.
|
||||
*
|
||||
* Since: 0.10.20
|
||||
*/
|
||||
const gchar *
|
||||
gst_rtsp_connection_get_ip (const GstRTSPConnection * conn)
|
||||
|
@ -2686,8 +2668,6 @@ gst_rtsp_connection_get_ip (const GstRTSPConnection * conn)
|
|||
* @ip: an ip address
|
||||
*
|
||||
* Set the IP address of the server.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
void
|
||||
gst_rtsp_connection_set_ip (GstRTSPConnection * conn, const gchar * ip)
|
||||
|
@ -2706,8 +2686,6 @@ gst_rtsp_connection_set_ip (GstRTSPConnection * conn, const gchar * ip)
|
|||
*
|
||||
* Returns: the file descriptor used for reading or %NULL on error. The file
|
||||
* descriptor remains valid until the connection is closed.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GSocket *
|
||||
gst_rtsp_connection_get_read_socket (const GstRTSPConnection * conn)
|
||||
|
@ -2726,8 +2704,6 @@ gst_rtsp_connection_get_read_socket (const GstRTSPConnection * conn)
|
|||
*
|
||||
* Returns: the file descriptor used for writing or NULL on error. The file
|
||||
* descriptor remains valid until the connection is closed.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GSocket *
|
||||
gst_rtsp_connection_get_write_socket (const GstRTSPConnection * conn)
|
||||
|
@ -2746,8 +2722,6 @@ gst_rtsp_connection_get_write_socket (const GstRTSPConnection * conn)
|
|||
* By setting the HTTP mode to %TRUE the message parsing will support HTTP
|
||||
* messages in addition to the RTSP messages. It will also disable the
|
||||
* automatic handling of setting up an HTTP tunnel.
|
||||
*
|
||||
* Since: 0.10.25
|
||||
*/
|
||||
void
|
||||
gst_rtsp_connection_set_http_mode (GstRTSPConnection * conn, gboolean enable)
|
||||
|
@ -2764,8 +2738,6 @@ gst_rtsp_connection_set_http_mode (GstRTSPConnection * conn, gboolean enable)
|
|||
*
|
||||
* Set the HTTP tunneling state of the connection. This must be configured before
|
||||
* the @conn is connected.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
void
|
||||
gst_rtsp_connection_set_tunneled (GstRTSPConnection * conn, gboolean tunneled)
|
||||
|
@ -2784,8 +2756,6 @@ gst_rtsp_connection_set_tunneled (GstRTSPConnection * conn, gboolean tunneled)
|
|||
* Get the tunneling state of the connection.
|
||||
*
|
||||
* Returns: if @conn is using HTTP tunneling.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
gboolean
|
||||
gst_rtsp_connection_is_tunneled (const GstRTSPConnection * conn)
|
||||
|
@ -2802,8 +2772,6 @@ gst_rtsp_connection_is_tunneled (const GstRTSPConnection * conn)
|
|||
* Get the tunnel session id the connection.
|
||||
*
|
||||
* Returns: returns a non-empty string if @conn is being tunneled over HTTP.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
const gchar *
|
||||
gst_rtsp_connection_get_tunnelid (const GstRTSPConnection * conn)
|
||||
|
@ -2832,8 +2800,6 @@ gst_rtsp_connection_get_tunnelid (const GstRTSPConnection * conn)
|
|||
* @conn.
|
||||
*
|
||||
* Returns: return GST_RTSP_OK on success.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GstRTSPResult
|
||||
gst_rtsp_connection_do_tunnel (GstRTSPConnection * conn,
|
||||
|
@ -3199,8 +3165,6 @@ static GSourceFuncs gst_rtsp_source_funcs = {
|
|||
*
|
||||
* Returns: a #GstRTSPWatch that can be used for asynchronous RTSP
|
||||
* communication. Free with gst_rtsp_watch_unref () after usage.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GstRTSPWatch *
|
||||
gst_rtsp_watch_new (GstRTSPConnection * conn,
|
||||
|
@ -3240,8 +3204,6 @@ gst_rtsp_watch_new (GstRTSPConnection * conn,
|
|||
*
|
||||
* Reset @watch, this is usually called after gst_rtsp_connection_do_tunnel()
|
||||
* when the file descriptors of the connection might have changed.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
void
|
||||
gst_rtsp_watch_reset (GstRTSPWatch * watch)
|
||||
|
@ -3273,8 +3235,6 @@ gst_rtsp_watch_reset (GstRTSPWatch * watch)
|
|||
* Adds a #GstRTSPWatch to a context so that it will be executed within that context.
|
||||
*
|
||||
* Returns: the ID (greater than 0) for the watch within the GMainContext.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
guint
|
||||
gst_rtsp_watch_attach (GstRTSPWatch * watch, GMainContext * context)
|
||||
|
@ -3290,8 +3250,6 @@ gst_rtsp_watch_attach (GstRTSPWatch * watch, GMainContext * context)
|
|||
*
|
||||
* Decreases the reference count of @watch by one. If the resulting reference
|
||||
* count is zero the watch and associated memory will be destroyed.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
void
|
||||
gst_rtsp_watch_unref (GstRTSPWatch * watch)
|
||||
|
@ -3318,8 +3276,6 @@ gst_rtsp_watch_unref (GstRTSPWatch * watch)
|
|||
* This function will take ownership of @data and g_free() it after use.
|
||||
*
|
||||
* Returns: #GST_RTSP_OK on success.
|
||||
*
|
||||
* Since: 0.10.25
|
||||
*/
|
||||
GstRTSPResult
|
||||
gst_rtsp_watch_write_data (GstRTSPWatch * watch, const guint8 * data,
|
||||
|
@ -3402,8 +3358,6 @@ done:
|
|||
* callback.
|
||||
*
|
||||
* Returns: #GST_RTSP_OK on success.
|
||||
*
|
||||
* Since: 0.10.25
|
||||
*/
|
||||
GstRTSPResult
|
||||
gst_rtsp_watch_send_message (GstRTSPWatch * watch, GstRTSPMessage * message,
|
||||
|
|
|
@ -153,13 +153,10 @@ typedef struct _GstRTSPWatch GstRTSPWatch;
|
|||
* you usually pair the tunnelid of this connection with the saved one using
|
||||
* gst_rtsp_connection_do_tunnel().
|
||||
* @error_full: callback when an error occured with more information than
|
||||
* the @error callback. Since 0.10.25
|
||||
* the @error callback.
|
||||
* @tunnel_lost: callback when the post connection of a tunnel is closed.
|
||||
* Since 0.10.29
|
||||
*
|
||||
* Callback functions from a #GstRTSPWatch.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
typedef struct {
|
||||
GstRTSPResult (*message_received) (GstRTSPWatch *watch, GstRTSPMessage *message,
|
||||
|
|
|
@ -427,8 +427,6 @@ gst_rtsp_find_method (const gchar * method)
|
|||
* Convert @options to a string.
|
||||
*
|
||||
* Returns: a new string of @options. g_free() after usage.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
gchar *
|
||||
gst_rtsp_options_as_text (GstRTSPMethod options)
|
||||
|
@ -474,8 +472,6 @@ gst_rtsp_options_as_text (GstRTSPMethod options)
|
|||
* Check whether @field may appear multiple times in a message.
|
||||
*
|
||||
* Returns: %TRUE if multiple headers are allowed.
|
||||
*
|
||||
* Since: 0.10.25
|
||||
*/
|
||||
gboolean
|
||||
gst_rtsp_header_allow_multiple (GstRTSPHeaderField field)
|
||||
|
|
|
@ -158,7 +158,7 @@ typedef enum {
|
|||
* GstRTSPVersion:
|
||||
* @GST_RTSP_VERSION_INVALID: unknown/invalid version
|
||||
* @GST_RTSP_VERSION_1_0: version 1.0
|
||||
* @GST_RTSP_VERSION_1_1: version 1.1. Since 0.10.25
|
||||
* @GST_RTSP_VERSION_1_1: version 1.1.
|
||||
*
|
||||
* The supported RTSP versions.
|
||||
*/
|
||||
|
@ -182,8 +182,8 @@ typedef enum {
|
|||
* @GST_RTSP_SETUP: the SETUP method
|
||||
* @GST_RTSP_SET_PARAMETER: the SET_PARAMETER method
|
||||
* @GST_RTSP_TEARDOWN: the TEARDOWN method
|
||||
* @GST_RTSP_GET: the GET method (HTTP). Since 0.10.25
|
||||
* @GST_RTSP_POST: the POST method (HTTP). Since 0.10.25
|
||||
* @GST_RTSP_GET: the GET method (HTTP).
|
||||
* @GST_RTSP_POST: the POST method (HTTP).
|
||||
*
|
||||
* The different supported RTSP methods.
|
||||
*/
|
||||
|
|
|
@ -506,8 +506,6 @@ gst_rtsp_message_free (GstRTSPMessage * msg)
|
|||
* ownership of @value.
|
||||
*
|
||||
* Returns: a #GstRTSPResult.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GstRTSPResult
|
||||
gst_rtsp_message_take_header (GstRTSPMessage * msg, GstRTSPHeaderField field,
|
||||
|
|
|
@ -54,8 +54,8 @@ G_BEGIN_DECLS
|
|||
* @GST_RTSP_MESSAGE_INVALID: invalid message type
|
||||
* @GST_RTSP_MESSAGE_REQUEST: RTSP request message
|
||||
* @GST_RTSP_MESSAGE_RESPONSE: RTSP response message
|
||||
* @GST_RTSP_MESSAGE_HTTP_REQUEST: HTTP request message. Since 0.10.25
|
||||
* @GST_RTSP_MESSAGE_HTTP_RESPONSE: HTTP response message. Since 0.10.25
|
||||
* @GST_RTSP_MESSAGE_HTTP_REQUEST: HTTP request message.
|
||||
* @GST_RTSP_MESSAGE_HTTP_RESPONSE: HTTP response message.
|
||||
* @GST_RTSP_MESSAGE_DATA: data message
|
||||
*
|
||||
* The type of a message.
|
||||
|
|
|
@ -222,8 +222,6 @@ done:
|
|||
* Convert @range into a string representation.
|
||||
*
|
||||
* Returns: The string representation of @range. g_free() after usage.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
gchar *
|
||||
gst_rtsp_range_to_string (const GstRTSPTimeRange * range)
|
||||
|
|
|
@ -82,7 +82,7 @@ typedef enum {
|
|||
* @GST_RTSP_LOWER_TRANS_UDP: stream data over UDP
|
||||
* @GST_RTSP_LOWER_TRANS_UDP_MCAST: stream data over UDP multicast
|
||||
* @GST_RTSP_LOWER_TRANS_TCP: stream data over TCP
|
||||
* @GST_RTSP_LOWER_TRANS_HTTP: stream data tunneled over HTTP. Since: 0.10.23
|
||||
* @GST_RTSP_LOWER_TRANS_HTTP: stream data tunneled over HTTP.
|
||||
*
|
||||
* The different transport methods.
|
||||
*/
|
||||
|
|
|
@ -209,8 +209,6 @@ invalid:
|
|||
* Make a copy of @url.
|
||||
*
|
||||
* Returns: a copy of @url. Free with gst_rtsp_url_free () after usage.
|
||||
*
|
||||
* Since: 0.10.22
|
||||
*/
|
||||
GstRTSPUrl *
|
||||
gst_rtsp_url_copy (const GstRTSPUrl * url)
|
||||
|
@ -384,8 +382,6 @@ unescape_path_component (gchar * comp)
|
|||
* will usually be the empty string.
|
||||
*
|
||||
* Returns: a string vector. g_strfreev() after usage.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
gchar **
|
||||
gst_rtsp_url_decode_path_components (const GstRTSPUrl * url)
|
||||
|
|
|
@ -310,8 +310,6 @@ gst_sdp_message_free (GstSDPMessage * msg)
|
|||
* Check if the given @addr is a multicast address.
|
||||
*
|
||||
* Returns: TRUE when @addr is multicast.
|
||||
*
|
||||
* Since: 0.10.32
|
||||
*/
|
||||
gboolean
|
||||
gst_sdp_address_is_multicast (const gchar * nettype, const gchar * addrtype,
|
||||
|
@ -487,8 +485,6 @@ hex_to_int (gchar c)
|
|||
* http://tools.ietf.org/html/draft-fujikawa-sdp-url-01
|
||||
*
|
||||
* Returns: #GST_SDP_OK on success.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
GstSDPResult
|
||||
gst_sdp_message_parse_uri (const gchar * uri, GstSDPMessage * msg)
|
||||
|
@ -589,8 +585,6 @@ static const gchar hex[16] = "0123456789ABCDEF";
|
|||
* Where each value is url encoded.
|
||||
*
|
||||
* Returns: a uri for @msg.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
gchar *
|
||||
gst_sdp_message_as_uri (const gchar * scheme, const GstSDPMessage * msg)
|
||||
|
|
|
@ -118,24 +118,18 @@ typedef struct {
|
|||
* GST_SDP_BWTYPE_RS:
|
||||
*
|
||||
* RTCP bandwidth allocated to active data senders (RFC 3556).
|
||||
*
|
||||
* Since: 0.10.15
|
||||
*/
|
||||
#define GST_SDP_BWTYPE_RS "RS"
|
||||
/**
|
||||
* GST_SDP_BWTYPE_RR:
|
||||
*
|
||||
* RTCP bandwidth allocated to data receivers (RFC 3556).
|
||||
*
|
||||
* Since: 0.10.15
|
||||
*/
|
||||
#define GST_SDP_BWTYPE_RR "RR"
|
||||
/**
|
||||
* GST_SDP_BWTYPE_TIAS:
|
||||
*
|
||||
* Transport Independent Application Specific Maximum bandwidth (RFC 3890).
|
||||
*
|
||||
* Since: 0.10.30
|
||||
*/
|
||||
#define GST_SDP_BWTYPE_TIAS "TIAS"
|
||||
|
||||
|
|
|
@ -1776,8 +1776,6 @@ read_error:
|
|||
* the tags IFD and is followed by the data pointed by the tag entries.
|
||||
*
|
||||
* Returns: A GstBuffer containing the tag entries followed by the tag data
|
||||
*
|
||||
* Since: 0.10.30
|
||||
*/
|
||||
GstBuffer *
|
||||
gst_tag_list_to_exif_buffer (const GstTagList * taglist, gint byte_order,
|
||||
|
@ -1794,8 +1792,6 @@ gst_tag_list_to_exif_buffer (const GstTagList * taglist, gint byte_order,
|
|||
* is put in the beginning of the buffer.
|
||||
*
|
||||
* Returns: A GstBuffer containing the data
|
||||
*
|
||||
* Since: 0.10.30
|
||||
*/
|
||||
GstBuffer *
|
||||
gst_tag_list_to_exif_buffer_with_tiff_header (const GstTagList * taglist)
|
||||
|
@ -1861,8 +1857,6 @@ gst_tag_list_to_exif_buffer_with_tiff_header (const GstTagList * taglist)
|
|||
* start
|
||||
*
|
||||
* Returns: The parsed taglist
|
||||
*
|
||||
* Since: 0.10.30
|
||||
*/
|
||||
GstTagList *
|
||||
gst_tag_list_from_exif_buffer (GstBuffer * buffer, gint byte_order,
|
||||
|
@ -1894,8 +1888,6 @@ read_error:
|
|||
* Parses the exif tags starting with a tiff header structure.
|
||||
*
|
||||
* Returns: The taglist
|
||||
*
|
||||
* Since: 0.10.30
|
||||
*/
|
||||
GstTagList *
|
||||
gst_tag_list_from_exif_buffer_with_tiff_header (GstBuffer * buffer)
|
||||
|
|
|
@ -338,8 +338,6 @@ gst_tag_id3_genre_get (const guint id)
|
|||
* more information on image tags in GStreamer.
|
||||
*
|
||||
* Returns: %TRUE if the image was processed, otherwise %FALSE
|
||||
*
|
||||
* Since: 0.10.20
|
||||
*/
|
||||
gboolean
|
||||
gst_tag_list_add_id3_image (GstTagList * tag_list, const guint8 * image_data,
|
||||
|
|
|
@ -42,8 +42,6 @@ typedef struct _GstTagDemuxPrivate GstTagDemuxPrivate;
|
|||
* @GST_TAG_DEMUX_RESULT_OK : parsed tag successfully
|
||||
*
|
||||
* Result values from the parse_tag virtual function.
|
||||
*
|
||||
* Since: 0.10.15
|
||||
*/
|
||||
typedef enum {
|
||||
GST_TAG_DEMUX_RESULT_BROKEN_TAG,
|
||||
|
@ -59,8 +57,6 @@ GType gst_tag_demux_result_get_type (void);
|
|||
* @element: parent element
|
||||
*
|
||||
* Opaque #GstTagDemux structure.
|
||||
*
|
||||
* Since: 0.10.15
|
||||
*/
|
||||
struct _GstTagDemux
|
||||
{
|
||||
|
@ -97,8 +93,6 @@ struct _GstTagDemux
|
|||
*
|
||||
* The #GstTagDemuxClass structure. See documentation at beginning of section
|
||||
* for details about what subclasses need to override and do.
|
||||
*
|
||||
* Since: 0.10.15
|
||||
*/
|
||||
struct _GstTagDemuxClass
|
||||
{
|
||||
|
|
|
@ -49,8 +49,6 @@
|
|||
* </itemizedlist>
|
||||
* </para>
|
||||
* </refsect2>
|
||||
*
|
||||
* Since 0.10.36
|
||||
*/
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
|
|
|
@ -46,8 +46,6 @@ typedef struct _GstTagMuxPrivate GstTagMuxPrivate;
|
|||
* @element: parent element
|
||||
*
|
||||
* Opaque #GstTagMux structure.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
struct _GstTagMux {
|
||||
GstElement element;
|
||||
|
@ -68,8 +66,6 @@ struct _GstTagMux {
|
|||
*
|
||||
* The #GstTagMuxClass structure. Subclasses need to override at least one
|
||||
* of the two render vfuncs.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
struct _GstTagMuxClass {
|
||||
GstElementClass parent_class;
|
||||
|
|
|
@ -173,7 +173,7 @@ gst_tag_to_vorbis_tag (const gchar * gst_tag)
|
|||
* given taglist @list.
|
||||
*
|
||||
* Unknown vorbiscomment tags will be added to the tag list in form
|
||||
* of a #GST_TAG_EXTENDED_COMMENT (since 0.10.10 at least).
|
||||
* of a #GST_TAG_EXTENDED_COMMENT.
|
||||
*/
|
||||
void
|
||||
gst_vorbis_tag_add (GstTagList * list, const gchar * tag, const gchar * value)
|
||||
|
|
|
@ -62,8 +62,6 @@ static const gchar *schema_list[] = {
|
|||
*
|
||||
* Returns: (transfer none): a %NULL terminated array of strings with the
|
||||
* schema names
|
||||
*
|
||||
* Since: 0.10.33
|
||||
*/
|
||||
const gchar **
|
||||
gst_tag_xmp_list_schemas (void)
|
||||
|
@ -1271,8 +1269,6 @@ read_one_tag (GstTagList * list, XmpTag * xmptag,
|
|||
* Parse a xmp packet into a taglist.
|
||||
*
|
||||
* Returns: new taglist or %NULL, free the list when done
|
||||
*
|
||||
* Since: 0.10.29
|
||||
*/
|
||||
GstTagList *
|
||||
gst_tag_list_from_xmp_buffer (GstBuffer * buffer)
|
||||
|
@ -1790,8 +1786,6 @@ write_one_tag (const GstTagList * list, XmpTag * xmp_tag, gpointer user_data)
|
|||
* be used
|
||||
*
|
||||
* Returns: new buffer or %NULL, unref the buffer when done
|
||||
*
|
||||
* Since: 0.10.33
|
||||
*/
|
||||
GstBuffer *
|
||||
gst_tag_list_to_xmp_buffer_full (const GstTagList * list, gboolean read_only,
|
||||
|
@ -1887,8 +1881,6 @@ gst_tag_list_to_xmp_buffer_full (const GstTagList * list, gboolean read_only,
|
|||
* Formats a taglist as a xmp packet.
|
||||
*
|
||||
* Returns: new buffer or %NULL, unref the buffer when done
|
||||
*
|
||||
* Since: 0.10.29
|
||||
*/
|
||||
GstBuffer *
|
||||
gst_tag_list_to_xmp_buffer (const GstTagList * list, gboolean read_only)
|
||||
|
|
|
@ -89,8 +89,6 @@ id3v2_read_synch_uint (const guint8 * data, guint size)
|
|||
* i.e. at least #GST_TAG_ID3V2_HEADER_SIZE (10) bytes;
|
||||
*
|
||||
* Returns: Size of tag, or 0 if header is invalid or too small.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
guint
|
||||
gst_tag_get_id3v2_tag_size (GstBuffer * buffer)
|
||||
|
@ -186,8 +184,6 @@ id3v2_ununsync_data (const guint8 * unsync_data, guint32 * size)
|
|||
*
|
||||
* Returns: A new #GstTagList with all tags that could be extracted from the
|
||||
* given vorbiscomment buffer or NULL on error.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstTagList *
|
||||
gst_tag_list_from_id3v2_tag (GstBuffer * buffer)
|
||||
|
|
|
@ -268,8 +268,6 @@ qsort_strcmp_func (const void *p1, const void *p2)
|
|||
*
|
||||
* Returns: (transfer full): NULL-terminated string array with two-letter
|
||||
* language codes. Free with g_strfreev() when no longer needed.
|
||||
*
|
||||
* Since: 0.10.26
|
||||
*/
|
||||
gchar **
|
||||
gst_tag_get_language_codes (void)
|
||||
|
@ -320,8 +318,6 @@ gst_tag_get_language_codes (void)
|
|||
* not be mapped to a language name. The returned string must not be
|
||||
* modified and does not need to freed; it will stay valid until the
|
||||
* application is terminated.
|
||||
*
|
||||
* Since: 0.10.26
|
||||
*/
|
||||
const gchar *
|
||||
gst_tag_get_language_name (const gchar * language_code)
|
||||
|
@ -354,8 +350,6 @@ gst_tag_get_language_name (const gchar * language_code)
|
|||
* Returns: two-letter ISO-639-1 language code string that maps to @lang_code,
|
||||
* or NULL if no mapping is known. The returned string must not be
|
||||
* modified or freed.
|
||||
*
|
||||
* Since: 0.10.26
|
||||
*/
|
||||
const gchar *
|
||||
gst_tag_get_language_code_iso_639_1 (const gchar * lang_code)
|
||||
|
@ -436,8 +430,6 @@ gst_tag_get_language_code_iso_639_2X (const gchar * lang_code, guint8 flags)
|
|||
* Returns: three-letter ISO-639-2 language code string that maps to @lang_code,
|
||||
* or NULL if no mapping is known. The returned string must not be
|
||||
* modified or freed.
|
||||
*
|
||||
* Since: 0.10.26
|
||||
*/
|
||||
const gchar *
|
||||
gst_tag_get_language_code_iso_639_2T (const gchar * lang_code)
|
||||
|
@ -472,8 +464,6 @@ gst_tag_get_language_code_iso_639_2T (const gchar * lang_code)
|
|||
* Returns: three-letter ISO-639-2 language code string that maps to @lang_code,
|
||||
* or NULL if no mapping is known. The returned string must not be
|
||||
* modified or freed.
|
||||
*
|
||||
* Since: 0.10.26
|
||||
*/
|
||||
const gchar *
|
||||
gst_tag_get_language_code_iso_639_2B (const gchar * lang_code)
|
||||
|
@ -504,8 +494,6 @@ gst_tag_get_language_code_iso_639_2B (const gchar * lang_code)
|
|||
*
|
||||
* Returns: TRUE if the two- or three-letter language code in @lang_code
|
||||
* is a valid ISO-639 language code.
|
||||
*
|
||||
* Since: 0.10.37
|
||||
*/
|
||||
gboolean
|
||||
gst_tag_check_language_code (const gchar * lang_code)
|
||||
|
|
|
@ -203,8 +203,6 @@ static const gchar jurisdictions[] =
|
|||
*
|
||||
* Returns: (transfer full): NULL-terminated array of license strings. Free
|
||||
* with g_strfreev() when no longer needed.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gchar **
|
||||
gst_tag_get_licenses (void)
|
||||
|
@ -327,8 +325,6 @@ gst_tag_get_license_idx (const gchar * license_ref, const gchar ** jurisdiction)
|
|||
* a license in their most general form.
|
||||
*
|
||||
* Returns: the flags of the license, or 0 if the license is unknown
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstTagLicenseFlags
|
||||
gst_tag_get_license_flags (const gchar * license_ref)
|
||||
|
@ -350,8 +346,6 @@ gst_tag_get_license_flags (const gchar * license_ref)
|
|||
* such as e.g. "CC BY-NC-ND 2.0 UK".
|
||||
*
|
||||
* Returns: the nick name of the license, or NULL if the license is unknown
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
const gchar *
|
||||
gst_tag_get_license_nick (const gchar * license_ref)
|
||||
|
@ -398,8 +392,6 @@ gst_tag_get_license_nick (const gchar * license_ref)
|
|||
*
|
||||
* Returns: the title of the license, or NULL if the license is unknown or
|
||||
* no title is available.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
const gchar *
|
||||
gst_tag_get_license_title (const gchar * license_ref)
|
||||
|
@ -426,8 +418,6 @@ gst_tag_get_license_title (const gchar * license_ref)
|
|||
*
|
||||
* Returns: the description of the license, or NULL if the license is unknown
|
||||
* or a description is not available.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
const gchar *
|
||||
gst_tag_get_license_description (const gchar * license_ref)
|
||||
|
@ -459,8 +449,6 @@ gst_tag_get_license_description (const gchar * license_ref)
|
|||
*
|
||||
* Returns: the jurisdiction code of the license, or NULL if the license is
|
||||
* unknown or is not specific to a particular jurisdiction.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
const gchar *
|
||||
gst_tag_get_license_jurisdiction (const gchar * license_ref)
|
||||
|
@ -483,8 +471,6 @@ gst_tag_get_license_jurisdiction (const gchar * license_ref)
|
|||
*
|
||||
* Returns: the version of the license, or NULL if the license is not known or
|
||||
* has no version
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
const gchar *
|
||||
gst_tag_get_license_version (const gchar * license_ref)
|
||||
|
|
|
@ -29,51 +29,51 @@ G_BEGIN_DECLS
|
|||
/* Tag names */
|
||||
|
||||
/**
|
||||
* GST_TAG_MUSICBRAINZ_TRACKID
|
||||
* GST_TAG_MUSICBRAINZ_TRACKID:
|
||||
*
|
||||
* MusicBrainz track ID
|
||||
*/
|
||||
#define GST_TAG_MUSICBRAINZ_TRACKID "musicbrainz-trackid"
|
||||
/**
|
||||
* GST_TAG_MUSICBRAINZ_ARTISTID
|
||||
* GST_TAG_MUSICBRAINZ_ARTISTID:
|
||||
*
|
||||
* MusicBrainz artist ID
|
||||
*/
|
||||
#define GST_TAG_MUSICBRAINZ_ARTISTID "musicbrainz-artistid"
|
||||
/**
|
||||
* GST_TAG_MUSICBRAINZ_ALBUMID
|
||||
* GST_TAG_MUSICBRAINZ_ALBUMID:
|
||||
*
|
||||
* MusicBrainz album ID
|
||||
*/
|
||||
#define GST_TAG_MUSICBRAINZ_ALBUMID "musicbrainz-albumid"
|
||||
/**
|
||||
* GST_TAG_MUSICBRAINZ_ALBUMARTISTID
|
||||
* GST_TAG_MUSICBRAINZ_ALBUMARTISTID:
|
||||
*
|
||||
* MusicBrainz album artist ID
|
||||
*/
|
||||
#define GST_TAG_MUSICBRAINZ_ALBUMARTISTID "musicbrainz-albumartistid"
|
||||
/**
|
||||
* GST_TAG_MUSICBRAINZ_TRMID
|
||||
* GST_TAG_MUSICBRAINZ_TRMID:
|
||||
*
|
||||
* MusicBrainz track TRM ID
|
||||
*/
|
||||
#define GST_TAG_MUSICBRAINZ_TRMID "musicbrainz-trmid"
|
||||
|
||||
/**
|
||||
* GST_TAG_CMML_STREAM
|
||||
* GST_TAG_CMML_STREAM:
|
||||
*
|
||||
* Annodex CMML stream element tag
|
||||
*/
|
||||
#define GST_TAG_CMML_STREAM "cmml-stream"
|
||||
/**
|
||||
* GST_TAG_CMML_HEAD
|
||||
* GST_TAG_CMML_HEAD:
|
||||
*
|
||||
* Annodex CMML head element tag
|
||||
*/
|
||||
|
||||
#define GST_TAG_CMML_HEAD "cmml-head"
|
||||
/**
|
||||
* GST_TAG_CMML_CLIP
|
||||
* GST_TAG_CMML_CLIP:
|
||||
*
|
||||
* Annodex CMML clip element tag
|
||||
*/
|
||||
|
@ -113,8 +113,6 @@ G_BEGIN_DECLS
|
|||
* GST_TAG_CAPTURING_SHUTTER_SPEED:
|
||||
*
|
||||
* Shutter speed used when capturing an image, in seconds. (fraction)
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_SHUTTER_SPEED "capturing-shutter-speed"
|
||||
|
||||
|
@ -125,8 +123,6 @@ G_BEGIN_DECLS
|
|||
*
|
||||
* The value stored is the denominator of the focal ratio (f-number).
|
||||
* For example, if this tag value is 2, the focal ratio is f/2.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_FOCAL_RATIO "capturing-focal-ratio"
|
||||
|
||||
|
@ -134,8 +130,6 @@ G_BEGIN_DECLS
|
|||
* GST_TAG_CAPTURING_FOCAL_LENGTH:
|
||||
*
|
||||
* Focal length used when capturing an image, in mm. (double)
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_FOCAL_LENGTH "capturing-focal-length"
|
||||
|
||||
|
@ -143,8 +137,6 @@ G_BEGIN_DECLS
|
|||
* GST_TAG_CAPTURING_DIGITAL_ZOOM_RATIO:
|
||||
*
|
||||
* Digital zoom ratio used when capturing an image. (double)
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_DIGITAL_ZOOM_RATIO "capturing-digital-zoom-ratio"
|
||||
|
||||
|
@ -152,8 +144,6 @@ G_BEGIN_DECLS
|
|||
* GST_TAG_CAPTURING_ISO_SPEED:
|
||||
*
|
||||
* ISO speed used when capturing an image. (integer)
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_ISO_SPEED "capturing-iso-speed"
|
||||
|
||||
|
@ -172,8 +162,6 @@ G_BEGIN_DECLS
|
|||
* "action" - biased towards fast shutter speed
|
||||
* "portrait" - closeup, leaving background out of focus
|
||||
* "landscape" - landscape photos, background in focus
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_EXPOSURE_PROGRAM "capturing-exposure-program"
|
||||
|
||||
|
@ -186,8 +174,6 @@ G_BEGIN_DECLS
|
|||
* "auto-exposure"
|
||||
* "manual-exposure"
|
||||
* "auto-bracket"
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_EXPOSURE_MODE "capturing-exposure-mode"
|
||||
|
||||
|
@ -195,8 +181,6 @@ G_BEGIN_DECLS
|
|||
* GST_TAG_CAPTURING_EXPOSURE_COMPENSATION:
|
||||
*
|
||||
* Exposure compensation using when capturing an image in EV. (double)
|
||||
*
|
||||
* Since: 0.10.33
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_EXPOSURE_COMPENSATION "capturing-exposure-compensation"
|
||||
|
||||
|
@ -210,8 +194,6 @@ G_BEGIN_DECLS
|
|||
* "landscape"
|
||||
* "portrait"
|
||||
* "night-scene"
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_SCENE_CAPTURE_TYPE "capturing-scene-capture-type"
|
||||
|
||||
|
@ -226,8 +208,6 @@ G_BEGIN_DECLS
|
|||
* "high-gain-up"
|
||||
* "low-gain-down"
|
||||
* "high-gain-down"
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_GAIN_ADJUSTMENT "capturing-gain-adjustment"
|
||||
|
||||
|
@ -245,8 +225,6 @@ G_BEGIN_DECLS
|
|||
* "fluorescent"
|
||||
* "fluorescent h" (newer daylight-calibrated fluorescents)
|
||||
* "flash"
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_WHITE_BALANCE "capturing-white-balance"
|
||||
|
||||
|
@ -259,8 +237,6 @@ G_BEGIN_DECLS
|
|||
* "normal"
|
||||
* "soft"
|
||||
* "hard"
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_CONTRAST "capturing-contrast"
|
||||
|
||||
|
@ -273,8 +249,6 @@ G_BEGIN_DECLS
|
|||
* "normal"
|
||||
* "low-saturation"
|
||||
* "high-saturation"
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_SATURATION "capturing-saturation"
|
||||
|
||||
|
@ -287,8 +261,6 @@ G_BEGIN_DECLS
|
|||
* "normal"
|
||||
* "soft"
|
||||
* "hard"
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_SHARPNESS "capturing-sharpness"
|
||||
|
||||
|
@ -299,8 +271,6 @@ G_BEGIN_DECLS
|
|||
*
|
||||
* Note that if this tag isn't present, it should not be assumed that
|
||||
* the flash did not fire. It should be treated as unknown.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_FLASH_FIRED "capturing-flash-fired"
|
||||
|
||||
|
@ -313,8 +283,6 @@ G_BEGIN_DECLS
|
|||
* "auto"
|
||||
* "always"
|
||||
* "never"
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_FLASH_MODE "capturing-flash-mode"
|
||||
|
||||
|
@ -332,8 +300,6 @@ G_BEGIN_DECLS
|
|||
* "pattern"
|
||||
* "partial"
|
||||
* "other"
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_METERING_MODE "capturing-metering-mode"
|
||||
|
||||
|
@ -348,8 +314,6 @@ G_BEGIN_DECLS
|
|||
* "transparent-scanner"
|
||||
* "reflex-scanner"
|
||||
* "other"
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_CAPTURING_SOURCE "capturing-source"
|
||||
|
||||
|
@ -357,16 +321,12 @@ G_BEGIN_DECLS
|
|||
* GST_TAG_IMAGE_HORIZONTAL_PPI:
|
||||
*
|
||||
* Media (image/video) intended horizontal pixel density in ppi. (double)
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_IMAGE_HORIZONTAL_PPI "image-horizontal-ppi"
|
||||
/**
|
||||
* GST_TAG_IMAGE_VERTICAL_PPI:
|
||||
*
|
||||
* Media (image/video) intended vertical pixel density in ppi. (double)
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
#define GST_TAG_IMAGE_VERTICAL_PPI "image-vertical-ppi"
|
||||
|
||||
|
@ -377,7 +337,7 @@ G_BEGIN_DECLS
|
|||
* GstTagImageType:
|
||||
* @GST_TAG_IMAGE_TYPE_NONE : No image type. Can be used to
|
||||
* tell functions such as gst_tag_image_data_to_image_sample() that no
|
||||
* image type should be set. (Since: 0.10.20)
|
||||
* image type should be set.
|
||||
* @GST_TAG_IMAGE_TYPE_UNDEFINED : Undefined/other image type
|
||||
* @GST_TAG_IMAGE_TYPE_FRONT_COVER : Cover (front)
|
||||
* @GST_TAG_IMAGE_TYPE_BACK_COVER : Cover (back)
|
||||
|
@ -400,8 +360,6 @@ G_BEGIN_DECLS
|
|||
*
|
||||
* Type of image contained in an image tag (specified as field in
|
||||
* the image buffer's caps structure)
|
||||
*
|
||||
* Since: 0.10.9
|
||||
*/
|
||||
/* Note: keep in sync with register_tag_image_type_enum() */
|
||||
typedef enum {
|
||||
|
@ -435,8 +393,6 @@ GType gst_tag_image_type_get_type (void);
|
|||
*
|
||||
* ID3V2 header size considered minimum input for some functions such as
|
||||
* gst_tag_list_from_id3v2_tag() and gst_tag_get_id3v2_tag_size() for example.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_TAG_ID3V2_HEADER_SIZE 10
|
||||
|
||||
|
@ -551,8 +507,6 @@ gboolean gst_tag_check_language_code (const gchar * lang_code);
|
|||
* @lang_code: ISO-639 language code (e.g. "deu" or "ger" or "de")
|
||||
*
|
||||
* Convenience macro wrapping gst_tag_get_language_code_iso_639_1().
|
||||
*
|
||||
* Since: 0.10.26
|
||||
*/
|
||||
#define gst_tag_get_language_code(lang_code) \
|
||||
gst_tag_get_language_code_iso_639_1(lang_code)
|
||||
|
@ -596,8 +550,6 @@ gboolean gst_tag_check_language_code (const gchar * lang_code);
|
|||
* created by the Free Software Foundation (FSF)
|
||||
*
|
||||
* See http://creativecommons.org/ns for more information.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
typedef enum {
|
||||
GST_TAG_LICENSE_PERMITS_REPRODUCTION = (1 << 0),
|
||||
|
|
|
@ -203,7 +203,7 @@ gst_tag_register_tags_internal (gpointer unused)
|
|||
* that the core can load+register tags automatically when needed. */
|
||||
|
||||
/**
|
||||
* gst_tag_register_musicbrainz_tags
|
||||
* gst_tag_register_musicbrainz_tags:
|
||||
*
|
||||
* Registers additional musicbrainz-specific tags with the GStreamer tag
|
||||
* system. Plugins and applications that use these tags should call this
|
||||
|
@ -307,8 +307,6 @@ gst_tag_image_type_is_valid (GstTagImageType type)
|
|||
* code in the extended comment string.
|
||||
*
|
||||
* Returns: TRUE if the string could be parsed, otherwise FALSE
|
||||
*
|
||||
* Since: 0.10.10
|
||||
*/
|
||||
gboolean
|
||||
gst_tag_parse_extended_comment (const gchar * ext_comment, gchar ** key,
|
||||
|
@ -371,8 +369,6 @@ gst_tag_parse_extended_comment (const gchar * ext_comment, gchar ** key,
|
|||
* WINDOWS-1252/ISO-8859-1 is assumed (which will almost always succeed).
|
||||
*
|
||||
* Returns: a newly-allocated string in UTF-8 encoding, or NULL
|
||||
*
|
||||
* Since: 0.10.13
|
||||
*/
|
||||
gchar *
|
||||
gst_tag_freeform_string_to_utf8 (const gchar * data, gint size,
|
||||
|
@ -559,8 +555,6 @@ beach:
|
|||
* data (we can't trust the declared mime type).
|
||||
*
|
||||
* Returns: a newly-allocated image sample for use in tag lists, or NULL
|
||||
*
|
||||
* Since: 0.10.20
|
||||
*/
|
||||
GstSample *
|
||||
gst_tag_image_data_to_image_sample (const guint8 * image_data,
|
||||
|
|
|
@ -159,8 +159,6 @@ gst_tag_xmp_writer_get_data (GstTagXmpWriter * xmpconfig)
|
|||
*
|
||||
* Adds all available XMP schemas to the configuration. Meaning that
|
||||
* all will be used.
|
||||
*
|
||||
* Since: 0.10.33
|
||||
*/
|
||||
void
|
||||
gst_tag_xmp_writer_add_all_schemas (GstTagXmpWriter * config)
|
||||
|
@ -182,8 +180,6 @@ gst_tag_xmp_writer_add_all_schemas (GstTagXmpWriter * config)
|
|||
* @schema: the schema to be added
|
||||
*
|
||||
* Adds @schema to the list schemas
|
||||
*
|
||||
* Since: 0.10.33
|
||||
*/
|
||||
void
|
||||
gst_tag_xmp_writer_add_schema (GstTagXmpWriter * config, const gchar * schema)
|
||||
|
@ -207,7 +203,6 @@ gst_tag_xmp_writer_add_schema (GstTagXmpWriter * config, const gchar * schema)
|
|||
* Checks if @schema is going to be used
|
||||
*
|
||||
* Returns: %TRUE if it is going to be used
|
||||
* Since: 0.10.33
|
||||
*/
|
||||
gboolean
|
||||
gst_tag_xmp_writer_has_schema (GstTagXmpWriter * config, const gchar * schema)
|
||||
|
@ -239,8 +234,6 @@ gst_tag_xmp_writer_has_schema (GstTagXmpWriter * config, const gchar * schema)
|
|||
*
|
||||
* Removes a schema from the list of schemas to use. Nothing is done if
|
||||
* the schema wasn't in the list
|
||||
*
|
||||
* Since: 0.10.33
|
||||
*/
|
||||
void
|
||||
gst_tag_xmp_writer_remove_schema (GstTagXmpWriter * config,
|
||||
|
@ -270,8 +263,6 @@ gst_tag_xmp_writer_remove_schema (GstTagXmpWriter * config,
|
|||
*
|
||||
* Removes all schemas from the list of schemas to use. Meaning that no
|
||||
* XMP will be generated.
|
||||
*
|
||||
* Since: 0.10.33
|
||||
*/
|
||||
void
|
||||
gst_tag_xmp_writer_remove_all_schemas (GstTagXmpWriter * config)
|
||||
|
|
|
@ -199,8 +199,6 @@ gst_color_balance_get_value (GstColorBalance * balance,
|
|||
* Get the #GstColorBalanceType of this implementation.
|
||||
*
|
||||
* Returns: A the #GstColorBalanceType.
|
||||
*
|
||||
* Since: 0.10.24
|
||||
*/
|
||||
GstColorBalanceType
|
||||
gst_color_balance_get_balance_type (GstColorBalance * balance)
|
||||
|
|
|
@ -248,9 +248,6 @@ link_failed:
|
|||
*
|
||||
* Returns: The converted #GstSample, or %NULL if an error happened (in which case @err
|
||||
* will point to the #GError).
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*
|
||||
*/
|
||||
GstSample *
|
||||
gst_video_convert_sample (GstSample * sample, const GstCaps * to_caps,
|
||||
|
@ -606,9 +603,6 @@ done:
|
|||
*
|
||||
* @destroy_notify will be called after the callback was called and @user_data is not needed
|
||||
* anymore.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*
|
||||
*/
|
||||
void
|
||||
gst_video_convert_sample_async (GstSample * sample,
|
||||
|
|
|
@ -2102,8 +2102,6 @@ gst_video_decoder_release_frame (GstVideoDecoder * dec,
|
|||
* In any case, the frame is considered finished and released.
|
||||
*
|
||||
* Returns: a #GstFlowReturn, usually GST_FLOW_OK.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstFlowReturn
|
||||
gst_video_decoder_drop_frame (GstVideoDecoder * dec, GstVideoCodecFrame * frame)
|
||||
|
@ -2164,8 +2162,6 @@ gst_video_decoder_drop_frame (GstVideoDecoder * dec, GstVideoCodecFrame * frame)
|
|||
* of the buffer.
|
||||
*
|
||||
* Returns: a #GstFlowReturn resulting from sending data downstream
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstFlowReturn
|
||||
gst_video_decoder_finish_frame (GstVideoDecoder * decoder,
|
||||
|
@ -2316,8 +2312,6 @@ done:
|
|||
* @n_bytes: the number of bytes to add
|
||||
*
|
||||
* Removes next @n_bytes of input data and adds it to currently parsed frame.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_video_decoder_add_to_frame (GstVideoDecoder * decoder, int n_bytes)
|
||||
|
@ -2372,8 +2366,6 @@ gst_video_decoder_get_frame_duration (GstVideoDecoder * decoder,
|
|||
* metadata and passes it along for further processing, i.e. @handle_frame.
|
||||
*
|
||||
* Returns: a #GstFlowReturn
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstFlowReturn
|
||||
gst_video_decoder_have_frame (GstVideoDecoder * decoder)
|
||||
|
@ -2482,8 +2474,6 @@ gst_video_decoder_decode_frame (GstVideoDecoder * decoder,
|
|||
* Get the #GstVideoCodecState currently describing the output stream.
|
||||
*
|
||||
* Returns: (transfer full): #GstVideoCodecState describing format of video data.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstVideoCodecState *
|
||||
gst_video_decoder_get_output_state (GstVideoDecoder * decoder)
|
||||
|
@ -2522,8 +2512,6 @@ gst_video_decoder_get_output_state (GstVideoDecoder * decoder)
|
|||
* from the next call to #gst_video_decoder_finish_frame().
|
||||
*
|
||||
* Returns: (transfer full): the newly configured output state.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstVideoCodecState *
|
||||
gst_video_decoder_set_output_state (GstVideoDecoder * decoder,
|
||||
|
@ -2559,8 +2547,6 @@ gst_video_decoder_set_output_state (GstVideoDecoder * decoder,
|
|||
* Get the oldest pending unfinished #GstVideoCodecFrame
|
||||
*
|
||||
* Returns: (transfer full): oldest pending unfinished #GstVideoCodecFrame.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstVideoCodecFrame *
|
||||
gst_video_decoder_get_oldest_frame (GstVideoDecoder * decoder)
|
||||
|
@ -2583,8 +2569,6 @@ gst_video_decoder_get_oldest_frame (GstVideoDecoder * decoder)
|
|||
* Get a pending unfinished #GstVideoCodecFrame
|
||||
*
|
||||
* Returns: (transfer full): pending unfinished #GstVideoCodecFrame identified by @frame_number.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstVideoCodecFrame *
|
||||
gst_video_decoder_get_frame (GstVideoDecoder * decoder, int frame_number)
|
||||
|
@ -2693,8 +2677,6 @@ gst_video_decoder_propose_allocation_default (GstVideoDecoder * decoder,
|
|||
* Sets src pad caps according to currently configured #GstVideoCodecState.
|
||||
*
|
||||
* Returns: #TRUE if the caps were accepted downstream, else #FALSE.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
static gboolean
|
||||
gst_video_decoder_set_src_caps (GstVideoDecoder * decoder)
|
||||
|
@ -2800,8 +2782,6 @@ no_decide_allocation:
|
|||
* current #GstVideoCodecState.
|
||||
*
|
||||
* Returns: (transfer full): allocated buffer
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstBuffer *
|
||||
gst_video_decoder_alloc_output_buffer (GstVideoDecoder * decoder)
|
||||
|
@ -2836,8 +2816,6 @@ gst_video_decoder_alloc_output_buffer (GstVideoDecoder * decoder)
|
|||
* keep references to the frame, not the buffer.
|
||||
*
|
||||
* Returns: %GST_FLOW_OK if an output buffer could be allocated
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstFlowReturn
|
||||
gst_video_decoder_alloc_output_frame (GstVideoDecoder *
|
||||
|
@ -2877,8 +2855,6 @@ gst_video_decoder_alloc_output_frame (GstVideoDecoder *
|
|||
* and should therefore occur as soon/skippy as possible.
|
||||
*
|
||||
* Returns: max decoding time.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstClockTimeDiff
|
||||
gst_video_decoder_get_max_decode_time (GstVideoDecoder *
|
||||
|
@ -2933,8 +2909,6 @@ _gst_video_decoder_error (GstVideoDecoder * dec, gint weight,
|
|||
* Sets numbers of tolerated decoder errors, where a tolerated one is then only
|
||||
* warned about, but more than tolerated will lead to fatal error. Default
|
||||
* is set to GST_VIDEO_DECODER_MAX_ERRORS.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_video_decoder_set_max_errors (GstVideoDecoder * dec, gint num)
|
||||
|
@ -2949,8 +2923,6 @@ gst_video_decoder_set_max_errors (GstVideoDecoder * dec, gint num)
|
|||
* @dec: a #GstVideoDecoder
|
||||
*
|
||||
* Returns: currently configured decoder tolerated error count.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gint
|
||||
gst_video_decoder_get_max_errors (GstVideoDecoder * dec)
|
||||
|
@ -2967,8 +2939,6 @@ gst_video_decoder_get_max_errors (GstVideoDecoder * dec)
|
|||
*
|
||||
* Allows baseclass to consider input data as packetized or not. If the
|
||||
* input is packetized, then the @parse method will not be called.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_video_decoder_set_packetized (GstVideoDecoder * decoder,
|
||||
|
@ -2985,8 +2955,6 @@ gst_video_decoder_set_packetized (GstVideoDecoder * decoder,
|
|||
* base class.
|
||||
*
|
||||
* Returns: TRUE if input data is considered packetized.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gboolean
|
||||
gst_video_decoder_get_packetized (GstVideoDecoder * decoder)
|
||||
|
@ -3000,8 +2968,6 @@ gst_video_decoder_get_packetized (GstVideoDecoder * decoder)
|
|||
* @enabled: whether to enable byte to time conversion
|
||||
*
|
||||
* Allows baseclass to perform byte to time estimated conversion.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_video_decoder_set_estimate_rate (GstVideoDecoder * dec, gboolean enabled)
|
||||
|
@ -3016,8 +2982,6 @@ gst_video_decoder_set_estimate_rate (GstVideoDecoder * dec, gboolean enabled)
|
|||
* @dec: a #GstVideoDecoder
|
||||
*
|
||||
* Returns: currently configured byte to time conversion setting
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gboolean
|
||||
gst_video_decoder_get_estimate_rate (GstVideoDecoder * dec)
|
||||
|
@ -3036,8 +3000,6 @@ gst_video_decoder_get_estimate_rate (GstVideoDecoder * dec)
|
|||
* Lets #GstVideoDecoder sub-classes tell the baseclass what the decoder
|
||||
* latency is. Will also post a LATENCY message on the bus so the pipeline
|
||||
* can reconfigure its global latency.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_video_decoder_set_latency (GstVideoDecoder * decoder,
|
||||
|
@ -3065,8 +3027,6 @@ gst_video_decoder_set_latency (GstVideoDecoder * decoder,
|
|||
*
|
||||
* Query the configured decoder latency. Results will be returned via
|
||||
* @min_latency and @max_latency.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_video_decoder_get_latency (GstVideoDecoder * decoder,
|
||||
|
|
|
@ -48,16 +48,12 @@ G_BEGIN_DECLS
|
|||
* GST_VIDEO_DECODER_SINK_NAME:
|
||||
*
|
||||
* The name of the templates for the sink pad.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_DECODER_SINK_NAME "sink"
|
||||
/**
|
||||
* GST_VIDEO_DECODER_SRC_NAME:
|
||||
*
|
||||
* The name of the templates for the source pad.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_DECODER_SRC_NAME "src"
|
||||
|
||||
|
@ -66,8 +62,6 @@ G_BEGIN_DECLS
|
|||
* @obj: a #GstVideoDecoder
|
||||
*
|
||||
* Gives the pointer to the source #GstPad object of the element.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_DECODER_SRC_PAD(obj) (((GstVideoDecoder *) (obj))->srcpad)
|
||||
|
||||
|
@ -76,16 +70,12 @@ G_BEGIN_DECLS
|
|||
* @obj: a #GstVideoDecoder
|
||||
*
|
||||
* Gives the pointer to the sink #GstPad object of the element.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_DECODER_SINK_PAD(obj) (((GstVideoDecoder *) (obj))->sinkpad)
|
||||
/**
|
||||
* GST_VIDEO_DECODER_FLOW_NEED_DATA:
|
||||
*
|
||||
* Returned while parsing to indicate more data is needed.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
**/
|
||||
#define GST_VIDEO_DECODER_FLOW_NEED_DATA GST_FLOW_CUSTOM_SUCCESS
|
||||
|
||||
|
@ -94,8 +84,6 @@ G_BEGIN_DECLS
|
|||
* @obj: base decoder instance
|
||||
*
|
||||
* Gives the segment of the element.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_DECODER_INPUT_SEGMENT(obj) (GST_VIDEO_DECODER_CAST (obj)->input_segment)
|
||||
|
||||
|
@ -104,8 +92,6 @@ G_BEGIN_DECLS
|
|||
* @obj: base decoder instance
|
||||
*
|
||||
* Gives the segment of the element.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_DECODER_OUTPUT_SEGMENT(obj) (GST_VIDEO_DECODER_CAST (obj)->output_segment)
|
||||
|
||||
|
@ -114,8 +100,6 @@ G_BEGIN_DECLS
|
|||
* @decoder: video decoder instance
|
||||
*
|
||||
* Obtain a lock to protect the decoder function from concurrent access.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_DECODER_STREAM_LOCK(decoder) g_rec_mutex_lock (&GST_VIDEO_DECODER (decoder)->stream_lock)
|
||||
|
||||
|
@ -124,8 +108,6 @@ G_BEGIN_DECLS
|
|||
* @decoder: video decoder instance
|
||||
*
|
||||
* Release the lock that protects the decoder function from concurrent access.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_DECODER_STREAM_UNLOCK(decoder) g_rec_mutex_unlock (&GST_VIDEO_DECODER (decoder)->stream_lock)
|
||||
|
||||
|
@ -161,8 +143,6 @@ GstFlowReturn _gst_video_decoder_error (GstVideoDecoder *dec, gint weight,
|
|||
* media processing. Otherwise, it is considered a "glitch" and only a warning
|
||||
* is logged. In either case, @ret is set to the proper value to
|
||||
* return to upstream/caller (indicating either GST_FLOW_ERROR or GST_FLOW_OK).
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_DECODER_ERROR(el, w, domain, code, text, debug, ret) \
|
||||
G_STMT_START { \
|
||||
|
@ -178,8 +158,6 @@ G_STMT_START { \
|
|||
* GST_VIDEO_DECODER_MAX_ERRORS:
|
||||
*
|
||||
* Default maximum number of errors tolerated before signaling error.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_DECODER_MAX_ERRORS 10
|
||||
|
||||
|
@ -188,8 +166,6 @@ G_STMT_START { \
|
|||
* GstVideoDecoder:
|
||||
*
|
||||
* The opaque #GstVideoDecoder data structure.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
struct _GstVideoDecoder
|
||||
{
|
||||
|
@ -258,8 +234,6 @@ struct _GstVideoDecoder
|
|||
* needed. At minimum @handle_frame needs to be overridden, and @set_format
|
||||
* and likely as well. If non-packetized input is supported or expected,
|
||||
* @parse needs to be overridden as well.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
struct _GstVideoDecoderClass
|
||||
{
|
||||
|
|
|
@ -441,8 +441,6 @@ exit:
|
|||
* @headers: (transfer full) (element-type GstBuffer): a list of #GstBuffer containing the codec header
|
||||
*
|
||||
* Set the codec headers to be sent downstream whenever requested.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_video_encoder_set_headers (GstVideoEncoder * video_encoder, GList * headers)
|
||||
|
@ -618,8 +616,6 @@ parse_fail:
|
|||
* elements (e.g. muxers).
|
||||
*
|
||||
* Returns: a #GstCaps owned by caller
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstCaps *
|
||||
gst_video_encoder_proxy_getcaps (GstVideoEncoder * encoder, GstCaps * caps,
|
||||
|
@ -1333,8 +1329,6 @@ gst_video_encoder_set_src_caps (GstVideoEncoder * encoder)
|
|||
* of the buffer.
|
||||
*
|
||||
* Returns: a #GstFlowReturn resulting from sending data downstream
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstFlowReturn
|
||||
gst_video_encoder_finish_frame (GstVideoEncoder * encoder,
|
||||
|
@ -1545,8 +1539,6 @@ no_output_state:
|
|||
* Get the current #GstVideoCodecState
|
||||
*
|
||||
* Returns: (transfer full): #GstVideoCodecState describing format of video data.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstVideoCodecState *
|
||||
gst_video_encoder_get_output_state (GstVideoEncoder * encoder)
|
||||
|
@ -1586,8 +1578,6 @@ gst_video_encoder_get_output_state (GstVideoEncoder * encoder)
|
|||
* from the next call to #gst_video_encoder_finish_frame().
|
||||
*
|
||||
* Returns: (transfer full): the newly configured output state.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstVideoCodecState *
|
||||
gst_video_encoder_set_output_state (GstVideoEncoder * encoder, GstCaps * caps,
|
||||
|
@ -1618,8 +1608,6 @@ gst_video_encoder_set_output_state (GstVideoEncoder * encoder, GstCaps * caps,
|
|||
* @max_latency: maximum latency
|
||||
*
|
||||
* Informs baseclass of encoding latency.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_video_encoder_set_latency (GstVideoEncoder * encoder,
|
||||
|
@ -1647,8 +1635,6 @@ gst_video_encoder_set_latency (GstVideoEncoder * encoder,
|
|||
*
|
||||
* Query the configured encoding latency. Results will be returned via
|
||||
* @min_latency and @max_latency.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
void
|
||||
gst_video_encoder_get_latency (GstVideoEncoder * encoder,
|
||||
|
@ -1669,8 +1655,6 @@ gst_video_encoder_get_latency (GstVideoEncoder * encoder,
|
|||
* Get the oldest unfinished pending #GstVideoCodecFrame
|
||||
*
|
||||
* Returns: (transfer full): oldest unfinished pending #GstVideoCodecFrame
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstVideoCodecFrame *
|
||||
gst_video_encoder_get_oldest_frame (GstVideoEncoder * encoder)
|
||||
|
@ -1693,8 +1677,6 @@ gst_video_encoder_get_oldest_frame (GstVideoEncoder * encoder)
|
|||
* Get a pending unfinished #GstVideoCodecFrame
|
||||
*
|
||||
* Returns: (transfer full): pending unfinished #GstVideoCodecFrame identified by @frame_number.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstVideoCodecFrame *
|
||||
gst_video_encoder_get_frame (GstVideoEncoder * encoder, int frame_number)
|
||||
|
|
|
@ -47,16 +47,12 @@ G_BEGIN_DECLS
|
|||
* GST_VIDEO_ENCODER_SINK_NAME:
|
||||
*
|
||||
* The name of the templates for the sink pad.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_ENCODER_SINK_NAME "sink"
|
||||
/**
|
||||
* GST_VIDEO_ENCODER_SRC_NAME:
|
||||
*
|
||||
* The name of the templates for the source pad.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_ENCODER_SRC_NAME "src"
|
||||
|
||||
|
@ -65,8 +61,6 @@ G_BEGIN_DECLS
|
|||
* @obj: a #GstVideoEncoder
|
||||
*
|
||||
* Gives the pointer to the source #GstPad object of the element.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_ENCODER_SRC_PAD(obj) (((GstVideoEncoder *) (obj))->srcpad)
|
||||
|
||||
|
@ -75,8 +69,6 @@ G_BEGIN_DECLS
|
|||
* @obj: a #GstVideoEncoder
|
||||
*
|
||||
* Gives the pointer to the sink #GstPad object of the element.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_ENCODER_SINK_PAD(obj) (((GstVideoEncoder *) (obj))->sinkpad)
|
||||
|
||||
|
@ -84,8 +76,6 @@ G_BEGIN_DECLS
|
|||
* GST_VIDEO_ENCODER_FLOW_NEED_DATA:
|
||||
*
|
||||
* Returned while parsing to indicate more data is needed.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
**/
|
||||
#define GST_VIDEO_ENCODER_FLOW_NEED_DATA GST_FLOW_CUSTOM_SUCCESS
|
||||
|
||||
|
@ -93,8 +83,6 @@ G_BEGIN_DECLS
|
|||
* GST_VIDEO_ENCODER_FLOW_DROPPED:
|
||||
*
|
||||
* Returned when the event/buffer should be dropped.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_ENCODER_FLOW_DROPPED GST_FLOW_CUSTOM_SUCCESS_1
|
||||
|
||||
|
@ -103,8 +91,6 @@ G_BEGIN_DECLS
|
|||
* @obj: base parse instance
|
||||
*
|
||||
* Gives the segment of the element.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_ENCODER_INPUT_SEGMENT(obj) (GST_VIDEO_ENCODER_CAST (obj)->input_segment)
|
||||
|
||||
|
@ -113,8 +99,6 @@ G_BEGIN_DECLS
|
|||
* @obj: base parse instance
|
||||
*
|
||||
* Gives the segment of the element.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_ENCODER_OUTPUT_SEGMENT(obj) (GST_VIDEO_ENCODER_CAST (obj)->output_segment)
|
||||
|
||||
|
@ -123,8 +107,6 @@ G_BEGIN_DECLS
|
|||
* @encoder: video encoder instance
|
||||
*
|
||||
* Obtain a lock to protect the encoder function from concurrent access.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_ENCODER_STREAM_LOCK(encoder) g_rec_mutex_lock (&GST_VIDEO_ENCODER (encoder)->stream_lock)
|
||||
|
||||
|
@ -133,8 +115,6 @@ G_BEGIN_DECLS
|
|||
* @encoder: video encoder instance
|
||||
*
|
||||
* Release the lock that protects the encoder function from concurrent access.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_VIDEO_ENCODER_STREAM_UNLOCK(encoder) g_rec_mutex_unlock (&GST_VIDEO_ENCODER (encoder)->stream_lock)
|
||||
|
||||
|
@ -146,8 +126,6 @@ typedef struct _GstVideoEncoderClass GstVideoEncoderClass;
|
|||
* GstVideoEncoder:
|
||||
*
|
||||
* The opaque #GstVideoEncoder data structure.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
struct _GstVideoEncoder
|
||||
{
|
||||
|
@ -176,10 +154,10 @@ struct _GstVideoEncoder
|
|||
* GstVideoEncoderClass:
|
||||
* @open: Optional.
|
||||
* Called when the element changes to GST_STATE_READY.
|
||||
* Allows opening external resources. Since: 0.10.37.
|
||||
* Allows opening external resources.
|
||||
* @close: Optional.
|
||||
* Called when the element changes to GST_STATE_NULL.
|
||||
* Allows closing external resources. Since: 0.10.37.
|
||||
* Allows closing external resources.
|
||||
* @start: Optional.
|
||||
* Called when the element starts processing.
|
||||
* Allows opening external resources.
|
||||
|
@ -219,8 +197,6 @@ struct _GstVideoEncoder
|
|||
* Subclasses can override any of the available virtual methods or not, as
|
||||
* needed. At minimum @handle_frame needs to be overridden, and @set_format
|
||||
* and @get_caps are likely needed as well.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
struct _GstVideoEncoderClass
|
||||
{
|
||||
|
|
|
@ -145,12 +145,10 @@ gst_video_sink_class_init (GstVideoSinkClass * klass)
|
|||
gobject_class->get_property = gst_video_sink_get_property;
|
||||
|
||||
/**
|
||||
* GstVideoSink:show-preroll-frame
|
||||
* GstVideoSink:show-preroll-frame:
|
||||
*
|
||||
* Whether to show video frames during preroll. If set to #FALSE, video
|
||||
* frames will only be rendered in PLAYING state.
|
||||
*
|
||||
* Since: 0.10.25
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_SHOW_PREROLL_FRAME,
|
||||
g_param_spec_boolean ("show-preroll-frame", "Show preroll frame",
|
||||
|
|
|
@ -45,8 +45,6 @@ G_BEGIN_DECLS
|
|||
* @obj: a #GstVideoSink or derived object
|
||||
*
|
||||
* Cast @obj to a #GstVideoSink without runtime type check.
|
||||
*
|
||||
* Since: 0.10.12
|
||||
*/
|
||||
#define GST_VIDEO_SINK_CAST(obj) ((GstVideoSink *) (obj))
|
||||
|
||||
|
@ -108,7 +106,7 @@ struct _GstVideoSink {
|
|||
* @show_frame: render a video frame. Maps to #GstBaseSinkClass.render() and
|
||||
* #GstBaseSinkClass.preroll() vfuncs. Rendering during preroll will be
|
||||
* suppressed if the #GstVideoSink:show-preroll-frame property is set to
|
||||
* %FALSE. Since: 0.10.25
|
||||
* %FALSE.
|
||||
*
|
||||
* The video sink class structure. Derived classes should override the
|
||||
* @show_frame virtual function.
|
||||
|
|
|
@ -167,8 +167,6 @@ gst_navigation_send_mouse_event (GstNavigation * navigation, const char *event,
|
|||
* @command: The command to issue
|
||||
*
|
||||
* Sends the indicated command to the navigation interface.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
void
|
||||
gst_navigation_send_command (GstNavigation * navigation,
|
||||
|
@ -193,7 +191,6 @@ gst_navigation_send_command (GstNavigation * navigation,
|
|||
*
|
||||
* Returns: The #GstNavigationQueryType of the query, or
|
||||
* #GST_NAVIGATION_QUERY_INVALID
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GstNavigationQueryType
|
||||
gst_navigation_query_get_type (GstQuery * query)
|
||||
|
@ -227,7 +224,6 @@ gst_navigation_query_get_type (GstQuery * query)
|
|||
* query the pipeline for the set of currently available commands.
|
||||
*
|
||||
* Returns: The new query.
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GstQuery *
|
||||
gst_navigation_query_new_commands (void)
|
||||
|
@ -261,8 +257,6 @@ gst_query_list_add_command (GValue * list, GstNavigationCommand val)
|
|||
*
|
||||
* Set the #GstNavigation command query result fields in @query. The number
|
||||
* of commands passed must be equal to @n_commands.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
void
|
||||
gst_navigation_query_set_commands (GstQuery * query, gint n_cmds, ...)
|
||||
|
@ -297,8 +291,6 @@ gst_navigation_query_set_commands (GstQuery * query, gint n_cmds, ...)
|
|||
*
|
||||
* Set the #GstNavigation command query result fields in @query. The number
|
||||
* of commands passed must be equal to @n_commands.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
void
|
||||
gst_navigation_query_set_commandsv (GstQuery * query, gint n_cmds,
|
||||
|
@ -328,7 +320,6 @@ gst_navigation_query_set_commandsv (GstQuery * query, gint n_cmds,
|
|||
* Parse the number of commands in the #GstNavigation commands @query.
|
||||
*
|
||||
* Returns: %TRUE if the query could be successfully parsed. %FALSE if not.
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
gboolean
|
||||
gst_navigation_query_parse_commands_length (GstQuery * query, guint * n_cmds)
|
||||
|
@ -362,7 +353,6 @@ gst_navigation_query_parse_commands_length (GstQuery * query, guint * n_cmds)
|
|||
* set to #GST_NAVIGATION_COMMAND_INVALID.
|
||||
*
|
||||
* Returns: %TRUE if the query could be successfully parsed. %FALSE if not.
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
gboolean
|
||||
gst_navigation_query_parse_commands_nth (GstQuery * query, guint nth,
|
||||
|
@ -399,7 +389,6 @@ gst_navigation_query_parse_commands_nth (GstQuery * query, guint nth,
|
|||
* greater than one in a multiangle video.
|
||||
*
|
||||
* Returns: The new query.
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GstQuery *
|
||||
gst_navigation_query_new_angles (void)
|
||||
|
@ -421,8 +410,6 @@ gst_navigation_query_new_angles (void)
|
|||
* @n_angles: the number of viewing angles to set.
|
||||
*
|
||||
* Set the #GstNavigation angles query result field in @query.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
void
|
||||
gst_navigation_query_set_angles (GstQuery * query, guint cur_angle,
|
||||
|
@ -450,7 +437,6 @@ gst_navigation_query_set_angles (GstQuery * query, guint cur_angle,
|
|||
* angles into the #guint pointed to by the @n_angles variable.
|
||||
*
|
||||
* Returns: %TRUE if the query could be successfully parsed. %FALSE if not.
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
gboolean
|
||||
gst_navigation_query_parse_angles (GstQuery * query, guint * cur_angle,
|
||||
|
@ -489,8 +475,6 @@ gst_navigation_query_parse_angles (GstQuery * query, guint * cur_angle,
|
|||
* Returns: The type of the #GstMessage, or
|
||||
* #GST_NAVIGATION_MESSAGE_INVALID if the message is not a #GstNavigation
|
||||
* notification.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GstNavigationMessageType
|
||||
gst_navigation_message_get_type (GstMessage * message)
|
||||
|
@ -529,7 +513,6 @@ gst_navigation_message_get_type (GstMessage * message)
|
|||
* #GST_NAVIGATION_MESSAGE_MOUSE_OVER.
|
||||
*
|
||||
* Returns: The new #GstMessage.
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GstMessage *
|
||||
gst_navigation_message_new_mouse_over (GstObject * src, gboolean active)
|
||||
|
@ -557,7 +540,6 @@ gst_navigation_message_new_mouse_over (GstObject * src, gboolean active)
|
|||
* active, it indicates that the mouse is over a clickable area.
|
||||
*
|
||||
* Returns: %TRUE if the message could be successfully parsed. %FALSE if not.
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
gboolean
|
||||
gst_navigation_message_parse_mouse_over (GstMessage * message,
|
||||
|
@ -583,7 +565,6 @@ gst_navigation_message_parse_mouse_over (GstMessage * message,
|
|||
* #GST_NAVIGATION_MESSAGE_COMMANDS_CHANGED
|
||||
*
|
||||
* Returns: The new #GstMessage.
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GstMessage *
|
||||
gst_navigation_message_new_commands_changed (GstObject * src)
|
||||
|
@ -611,7 +592,6 @@ gst_navigation_message_new_commands_changed (GstObject * src)
|
|||
* multiangle video has changed.
|
||||
*
|
||||
* Returns: The new #GstMessage.
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GstMessage *
|
||||
gst_navigation_message_new_angles_changed (GstObject * src, guint cur_angle,
|
||||
|
@ -640,7 +620,6 @@ gst_navigation_message_new_angles_changed (GstObject * src, guint cur_angle,
|
|||
* and extract the @cur_angle and @n_angles parameters.
|
||||
*
|
||||
* Returns: %TRUE if the message could be successfully parsed. %FALSE if not.
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
gboolean
|
||||
gst_navigation_message_parse_angles_changed (GstMessage * message,
|
||||
|
@ -673,8 +652,6 @@ gst_navigation_message_parse_angles_changed (GstMessage * message,
|
|||
*
|
||||
* Inspect a #GstEvent and return the #GstNavigationEventType of the event, or
|
||||
* #GST_NAVIGATION_EVENT_INVALID if the event is not a #GstNavigation event.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
GstNavigationEventType
|
||||
gst_navigation_event_get_type (GstEvent * event)
|
||||
|
@ -715,8 +692,6 @@ gst_navigation_event_get_type (GstEvent * event)
|
|||
* @key: A pointer to a location to receive the string identifying the key
|
||||
* press. The returned string is owned by the event, and valid only until the
|
||||
* event is unreffed.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
gboolean
|
||||
gst_navigation_event_parse_key_event (GstEvent * event, const gchar ** key)
|
||||
|
@ -754,8 +729,6 @@ gst_navigation_event_parse_key_event (GstEvent * event, const gchar ** key)
|
|||
*
|
||||
* Returns: TRUE if the button number and both coordinates could be extracted,
|
||||
* otherwise FALSE.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
gboolean
|
||||
gst_navigation_event_parse_mouse_button_event (GstEvent * event, gint * button,
|
||||
|
@ -792,8 +765,6 @@ gst_navigation_event_parse_mouse_button_event (GstEvent * event, gint * button,
|
|||
* of the event.
|
||||
*
|
||||
* Returns: TRUE if both coordinates could be extracted, otherwise FALSE.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
gboolean
|
||||
gst_navigation_event_parse_mouse_move_event (GstEvent * event, gdouble * x,
|
||||
|
@ -826,8 +797,6 @@ gst_navigation_event_parse_mouse_move_event (GstEvent * event, gdouble * x,
|
|||
* associated command.
|
||||
*
|
||||
* Returns: TRUE if the navigation command could be extracted, otherwise FALSE.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
gboolean
|
||||
gst_navigation_event_parse_command (GstEvent * event,
|
||||
|
|
|
@ -101,8 +101,6 @@ GType gst_navigation_get_type (void);
|
|||
* GST_NAVIGATION_COMMAND_DVD_AUDIO_MENU = @GST_NAVIGATION_COMMAND_MENU5
|
||||
* GST_NAVIGATION_COMMAND_DVD_ANGLE_MENU = @GST_NAVIGATION_COMMAND_MENU6
|
||||
* GST_NAVIGATION_COMMAND_DVD_CHAPTER_MENU = @GST_NAVIGATION_COMMAND_MENU7
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
typedef enum {
|
||||
GST_NAVIGATION_COMMAND_INVALID = 0,
|
||||
|
@ -183,8 +181,6 @@ gboolean gst_navigation_query_parse_angles (GstQuery *query, guint
|
|||
*
|
||||
* A set of notifications that may be received on the bus when navigation
|
||||
* related status changes.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
typedef enum {
|
||||
GST_NAVIGATION_MESSAGE_INVALID,
|
||||
|
@ -232,8 +228,6 @@ gboolean gst_navigation_message_parse_angles_changed (GstMessage *message
|
|||
*
|
||||
* Enum values for the various events that an element implementing the
|
||||
* GstNavigation interface might send up the pipeline.
|
||||
*
|
||||
* Since: 0.10.23
|
||||
*/
|
||||
typedef enum {
|
||||
GST_NAVIGATION_EVENT_INVALID = 0,
|
||||
|
|
|
@ -75,7 +75,7 @@ gst_video_get_colorimetry (const gchar * s)
|
|||
#define IS_UNKNOWN(ci) (IS_EQUAL (&colorimetry[DEFAULT_UNKNOWN], ci))
|
||||
|
||||
/**
|
||||
* gst_video_colorimetry_from_string
|
||||
* gst_video_colorimetry_from_string:
|
||||
* @cinfo: a #GstVideoColorimetry
|
||||
* @color: a colorimetry string
|
||||
*
|
||||
|
@ -106,7 +106,7 @@ gst_video_colorimetry_from_string (GstVideoColorimetry * cinfo,
|
|||
}
|
||||
|
||||
/**
|
||||
* gst_video_colorimetry_to_string
|
||||
* gst_video_colorimetry_to_string:
|
||||
* @cinfo: a #GstVideoColorimetry
|
||||
*
|
||||
* Make a string representation of @cinfo.
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
* gst_video_event_parse_still_frame().
|
||||
*
|
||||
* Returns: The new GstEvent
|
||||
* Since: 0.10.26
|
||||
*/
|
||||
GstEvent *
|
||||
gst_video_event_new_still_frame (gboolean in_still)
|
||||
|
@ -65,7 +64,6 @@ gst_video_event_new_still_frame (gboolean in_still)
|
|||
* Create a still frame event using gst_video_event_new_still_frame()
|
||||
*
|
||||
* Returns: %TRUE if the event is a valid still-frame event. %FALSE if not
|
||||
* Since: 0.10.26
|
||||
*/
|
||||
gboolean
|
||||
gst_video_event_parse_still_frame (GstEvent * event, gboolean * in_still)
|
||||
|
@ -109,7 +107,6 @@ gst_video_event_parse_still_frame (GstEvent * event, gboolean * in_still)
|
|||
* gst_video_event_parse_downstream_force_key_unit().
|
||||
*
|
||||
* Returns: The new GstEvent
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstEvent *
|
||||
gst_video_event_new_downstream_force_key_unit (GstClockTime timestamp,
|
||||
|
@ -147,7 +144,6 @@ gst_video_event_new_downstream_force_key_unit (GstClockTime timestamp,
|
|||
* gst_video_event_parse_downstream_force_key_unit().
|
||||
*
|
||||
* Returns: The new GstEvent
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
GstEvent *
|
||||
gst_video_event_new_upstream_force_key_unit (GstClockTime running_time,
|
||||
|
@ -173,7 +169,6 @@ gst_video_event_new_upstream_force_key_unit (GstClockTime running_time,
|
|||
* and downstream force key unit events.
|
||||
*
|
||||
* Returns: %TRUE if the event is a valid force key unit event
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gboolean
|
||||
gst_video_event_is_force_key_unit (GstEvent * event)
|
||||
|
@ -208,7 +203,6 @@ gst_video_event_is_force_key_unit (GstEvent * event)
|
|||
* full description of the downstream force key unit event.
|
||||
*
|
||||
* Returns: %TRUE if the event is a valid downstream force key unit event.
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gboolean
|
||||
gst_video_event_parse_downstream_force_key_unit (GstEvent * event,
|
||||
|
@ -273,7 +267,6 @@ gst_video_event_parse_downstream_force_key_unit (GstEvent * event,
|
|||
* Create an upstream force key unit event using gst_video_event_new_upstream_force_key_unit()
|
||||
*
|
||||
* Returns: %TRUE if the event is a valid upstream force-key-unit event. %FALSE if not
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
gboolean
|
||||
gst_video_event_parse_upstream_force_key_unit (GstEvent * event,
|
||||
|
|
|
@ -1633,8 +1633,6 @@ gst_video_format_from_masks (gint depth, gint bpp, gint endianness,
|
|||
* If the FOURCC cannot be represented by #GstVideoFormat,
|
||||
* #GST_VIDEO_FORMAT_UNKNOWN is returned.
|
||||
*
|
||||
* Since: 0.10.16
|
||||
*
|
||||
* Returns: the #GstVideoFormat describing the FOURCC value
|
||||
*/
|
||||
GstVideoFormat
|
||||
|
@ -1724,8 +1722,6 @@ gst_video_format_from_string (const gchar * format)
|
|||
* a few YUV formats have corresponding FOURCC values. If @format has
|
||||
* no corresponding FOURCC value, 0 is returned.
|
||||
*
|
||||
* Since: 0.10.16
|
||||
*
|
||||
* Returns: the FOURCC corresponding to @format
|
||||
*/
|
||||
guint32
|
||||
|
|
|
@ -45,31 +45,31 @@ G_BEGIN_DECLS
|
|||
* @GST_VIDEO_FORMAT_ABGR: reverse rgb with alpha channel first
|
||||
* @GST_VIDEO_FORMAT_RGB: rgb
|
||||
* @GST_VIDEO_FORMAT_BGR: reverse rgb
|
||||
* @GST_VIDEO_FORMAT_Y41B: planar 4:1:1 YUV (Since: 0.10.18)
|
||||
* @GST_VIDEO_FORMAT_Y42B: planar 4:2:2 YUV (Since: 0.10.18)
|
||||
* @GST_VIDEO_FORMAT_YVYU: packed 4:2:2 YUV (Y0-V0-Y1-U0 Y2-V2-Y3-U2 Y4 ...) (Since: 0.10.23)
|
||||
* @GST_VIDEO_FORMAT_Y444: planar 4:4:4 YUV (Since: 0.10.24)
|
||||
* @GST_VIDEO_FORMAT_v210: packed 4:2:2 10-bit YUV, complex format (Since: 0.10.24)
|
||||
* @GST_VIDEO_FORMAT_v216: packed 4:2:2 16-bit YUV, Y0-U0-Y1-V1 order (Since: 0.10.24)
|
||||
* @GST_VIDEO_FORMAT_NV12: planar 4:2:0 YUV with interleaved UV plane (Since: 0.10.26)
|
||||
* @GST_VIDEO_FORMAT_NV21: planar 4:2:0 YUV with interleaved VU plane (Since: 0.10.26)
|
||||
* @GST_VIDEO_FORMAT_GRAY8: 8-bit grayscale (Since: 0.10.29)
|
||||
* @GST_VIDEO_FORMAT_GRAY16_BE: 16-bit grayscale, most significant byte first (Since: 0.10.29)
|
||||
* @GST_VIDEO_FORMAT_GRAY16_LE: 16-bit grayscale, least significant byte first (Since: 0.10.29)
|
||||
* @GST_VIDEO_FORMAT_v308: packed 4:4:4 YUV (Since: 0.10.29)
|
||||
* @GST_VIDEO_FORMAT_RGB16: rgb 5-6-5 bits per component (Since: 0.10.30)
|
||||
* @GST_VIDEO_FORMAT_BGR16: reverse rgb 5-6-5 bits per component (Since: 0.10.30)
|
||||
* @GST_VIDEO_FORMAT_RGB15: rgb 5-5-5 bits per component (Since: 0.10.30)
|
||||
* @GST_VIDEO_FORMAT_BGR15: reverse rgb 5-5-5 bits per component (Since: 0.10.30)
|
||||
* @GST_VIDEO_FORMAT_UYVP: packed 10-bit 4:2:2 YUV (U0-Y0-V0-Y1 U2-Y2-V2-Y3 U4 ...) (Since: 0.10.31)
|
||||
* @GST_VIDEO_FORMAT_A420: planar 4:4:2:0 AYUV (Since: 0.10.31)
|
||||
* @GST_VIDEO_FORMAT_RGB8P: 8-bit paletted RGB (Since: 0.10.32)
|
||||
* @GST_VIDEO_FORMAT_YUV9: planar 4:1:0 YUV (Since: 0.10.32)
|
||||
* @GST_VIDEO_FORMAT_YVU9: planar 4:1:0 YUV (like YUV9 but UV planes swapped) (Since: 0.10.32)
|
||||
* @GST_VIDEO_FORMAT_IYU1: packed 4:1:1 YUV (Cb-Y0-Y1-Cr-Y2-Y3 ...) (Since: 0.10.32)
|
||||
* @GST_VIDEO_FORMAT_ARGB64: rgb with alpha channel first, 16 bits per channel (Since: 0.10.33)
|
||||
* @GST_VIDEO_FORMAT_AYUV64: packed 4:4:4 YUV with alpha channel, 16 bits per channel (A0-Y0-U0-V0 ...) (Since: 0.10.33)
|
||||
* @GST_VIDEO_FORMAT_r210: packed 4:4:4 RGB, 10 bits per channel (Since: 0.10.33)
|
||||
* @GST_VIDEO_FORMAT_Y41B: planar 4:1:1 YUV
|
||||
* @GST_VIDEO_FORMAT_Y42B: planar 4:2:2 YUV
|
||||
* @GST_VIDEO_FORMAT_YVYU: packed 4:2:2 YUV (Y0-V0-Y1-U0 Y2-V2-Y3-U2 Y4 ...)
|
||||
* @GST_VIDEO_FORMAT_Y444: planar 4:4:4 YUV
|
||||
* @GST_VIDEO_FORMAT_v210: packed 4:2:2 10-bit YUV, complex format
|
||||
* @GST_VIDEO_FORMAT_v216: packed 4:2:2 16-bit YUV, Y0-U0-Y1-V1 order
|
||||
* @GST_VIDEO_FORMAT_NV12: planar 4:2:0 YUV with interleaved UV plane
|
||||
* @GST_VIDEO_FORMAT_NV21: planar 4:2:0 YUV with interleaved VU plane
|
||||
* @GST_VIDEO_FORMAT_GRAY8: 8-bit grayscale
|
||||
* @GST_VIDEO_FORMAT_GRAY16_BE: 16-bit grayscale, most significant byte first
|
||||
* @GST_VIDEO_FORMAT_GRAY16_LE: 16-bit grayscale, least significant byte first
|
||||
* @GST_VIDEO_FORMAT_v308: packed 4:4:4 YUV
|
||||
* @GST_VIDEO_FORMAT_RGB16: rgb 5-6-5 bits per component
|
||||
* @GST_VIDEO_FORMAT_BGR16: reverse rgb 5-6-5 bits per component
|
||||
* @GST_VIDEO_FORMAT_RGB15: rgb 5-5-5 bits per component
|
||||
* @GST_VIDEO_FORMAT_BGR15: reverse rgb 5-5-5 bits per component
|
||||
* @GST_VIDEO_FORMAT_UYVP: packed 10-bit 4:2:2 YUV (U0-Y0-V0-Y1 U2-Y2-V2-Y3 U4 ...)
|
||||
* @GST_VIDEO_FORMAT_A420: planar 4:4:2:0 AYUV
|
||||
* @GST_VIDEO_FORMAT_RGB8P: 8-bit paletted RGB
|
||||
* @GST_VIDEO_FORMAT_YUV9: planar 4:1:0 YUV
|
||||
* @GST_VIDEO_FORMAT_YVU9: planar 4:1:0 YUV (like YUV9 but UV planes swapped)
|
||||
* @GST_VIDEO_FORMAT_IYU1: packed 4:1:1 YUV (Cb-Y0-Y1-Cr-Y2-Y3 ...)
|
||||
* @GST_VIDEO_FORMAT_ARGB64: rgb with alpha channel first, 16 bits per channel
|
||||
* @GST_VIDEO_FORMAT_AYUV64: packed 4:4:4 YUV with alpha channel, 16 bits per channel (A0-Y0-U0-V0 ...)
|
||||
* @GST_VIDEO_FORMAT_r210: packed 4:4:4 RGB, 10 bits per channel
|
||||
* @GST_VIDEO_FORMAT_I420_10BE: planar 4:2:0 YUV, 10 bits per channel
|
||||
* @GST_VIDEO_FORMAT_I420_10LE: planar 4:2:0 YUV, 10 bits per channel
|
||||
*
|
||||
|
|
|
@ -194,7 +194,7 @@ gst_video_frame_unmap (GstVideoFrame * frame)
|
|||
}
|
||||
|
||||
/**
|
||||
* gst_video_frame_copy:
|
||||
* gst_video_frame_copy_plane:
|
||||
* @dest: a #GstVideoFrame
|
||||
* @src: a #GstVideoFrame
|
||||
* @plane: a plane
|
||||
|
|
|
@ -554,8 +554,6 @@ fill_planes (GstVideoInfo * info)
|
|||
* raw video, GST_FORMAT_DEFAULT corresponds to video frames. This
|
||||
* function can be used to handle pad queries of the type GST_QUERY_CONVERT.
|
||||
*
|
||||
* Since: 0.10.16
|
||||
*
|
||||
* Returns: TRUE if the conversion was successful.
|
||||
*/
|
||||
gboolean
|
||||
|
|
|
@ -54,8 +54,6 @@
|
|||
* </itemizedlist>
|
||||
* </para>
|
||||
* </refsect2>
|
||||
*
|
||||
* Since: 0.11.x
|
||||
*/
|
||||
|
||||
/* TODO:
|
||||
|
@ -265,8 +263,6 @@ gst_video_overlay_composition_meta_get_info (void)
|
|||
* Sets an overlay composition on a buffer. The buffer will obtain its own
|
||||
* reference to the composition, meaning this function does not take ownership
|
||||
* of @comp.
|
||||
*
|
||||
* Since: 0.11.x
|
||||
*/
|
||||
GstVideoOverlayCompositionMeta *
|
||||
gst_buffer_add_video_overlay_composition_meta (GstBuffer * buf,
|
||||
|
@ -321,8 +317,6 @@ gst_video_overlay_composition_free (GstMiniObject * mini_obj)
|
|||
*
|
||||
* Returns: (transfer full): a new #GstVideoOverlayComposition. Unref with
|
||||
* gst_video_overlay_composition_unref() when no longer needed.
|
||||
*
|
||||
* Since: 0.11.x
|
||||
*/
|
||||
GstVideoOverlayComposition *
|
||||
gst_video_overlay_composition_new (GstVideoOverlayRectangle * rectangle)
|
||||
|
@ -365,8 +359,6 @@ gst_video_overlay_composition_new (GstVideoOverlayRectangle * rectangle)
|
|||
*
|
||||
* Adds an overlay rectangle to an existing overlay composition object. This
|
||||
* must be done right after creating the overlay composition.
|
||||
*
|
||||
* Since: 0.11.x
|
||||
*/
|
||||
void
|
||||
gst_video_overlay_composition_add_rectangle (GstVideoOverlayComposition * comp,
|
||||
|
@ -398,8 +390,6 @@ gst_video_overlay_composition_add_rectangle (GstVideoOverlayComposition * comp,
|
|||
* Returns the number of #GstVideoOverlayRectangle<!-- -->s contained in @comp.
|
||||
*
|
||||
* Returns: the number of rectangles
|
||||
*
|
||||
* Since: 0.11.x
|
||||
*/
|
||||
guint
|
||||
gst_video_overlay_composition_n_rectangles (GstVideoOverlayComposition * comp)
|
||||
|
@ -420,8 +410,6 @@ gst_video_overlay_composition_n_rectangles (GstVideoOverlayComposition * comp)
|
|||
* bounds. Will not return a new reference, the caller will need to
|
||||
* obtain her own reference using gst_video_overlay_rectangle_ref()
|
||||
* if needed.
|
||||
*
|
||||
* Since: 0.11.x
|
||||
*/
|
||||
GstVideoOverlayRectangle *
|
||||
gst_video_overlay_composition_get_rectangle (GstVideoOverlayComposition * comp,
|
||||
|
@ -449,8 +437,6 @@ gst_video_overlay_rectangle_needs_scaling (GstVideoOverlayRectangle * r)
|
|||
* Blends the overlay rectangles in @comp on top of the raw video data
|
||||
* contained in @video_buf. The data in @video_buf must be writable and
|
||||
* mapped appropriately.
|
||||
*
|
||||
* Since: 0.11.x
|
||||
*/
|
||||
gboolean
|
||||
gst_video_overlay_composition_blend (GstVideoOverlayComposition * comp,
|
||||
|
@ -529,8 +515,6 @@ gst_video_overlay_composition_blend (GstVideoOverlayComposition * comp,
|
|||
*
|
||||
* Returns: (transfer full): a new #GstVideoOverlayComposition equivalent
|
||||
* to @comp.
|
||||
*
|
||||
* Since: 0.11.x
|
||||
*/
|
||||
GstVideoOverlayComposition *
|
||||
gst_video_overlay_composition_copy (GstVideoOverlayComposition * comp)
|
||||
|
@ -569,8 +553,6 @@ gst_video_overlay_composition_copy (GstVideoOverlayComposition * comp)
|
|||
*
|
||||
* Returns: (transfer full): a writable #GstVideoOverlayComposition
|
||||
* equivalent to @comp.
|
||||
*
|
||||
* Since: 0.11.x
|
||||
*/
|
||||
GstVideoOverlayComposition *
|
||||
gst_video_overlay_composition_make_writable (GstVideoOverlayComposition * comp)
|
||||
|
@ -607,8 +589,6 @@ copy:
|
|||
* a composition).
|
||||
*
|
||||
* Returns: the sequence number of @comp
|
||||
*
|
||||
* Since: 0.11.x
|
||||
*/
|
||||
guint
|
||||
gst_video_overlay_composition_get_seqnum (GstVideoOverlayComposition * comp)
|
||||
|
@ -688,8 +668,6 @@ gst_video_overlay_rectangle_is_same_alpha_type (GstVideoOverlayFormatFlags
|
|||
*
|
||||
* Returns: (transfer full): a new #GstVideoOverlayRectangle. Unref with
|
||||
* gst_video_overlay_rectangle_unref() when no longer needed.
|
||||
*
|
||||
* Since: 0.11.x
|
||||
*/
|
||||
GstVideoOverlayRectangle *
|
||||
gst_video_overlay_rectangle_new_argb (GstBuffer * pixels,
|
||||
|
@ -761,8 +739,6 @@ gst_video_overlay_rectangle_new_argb (GstBuffer * pixels,
|
|||
* rectangle on the video.
|
||||
*
|
||||
* Returns: TRUE if valid render dimensions were retrieved.
|
||||
*
|
||||
* Since: 0.11.x
|
||||
*/
|
||||
gboolean
|
||||
gst_video_overlay_rectangle_get_render_rectangle (GstVideoOverlayRectangle *
|
||||
|
@ -800,8 +776,6 @@ gst_video_overlay_rectangle_get_render_rectangle (GstVideoOverlayRectangle *
|
|||
* make the rectangles inside a #GstVideoOverlayComposition writable using
|
||||
* gst_video_overlay_composition_make_writable() or
|
||||
* gst_video_overlay_composition_copy().
|
||||
*
|
||||
* Since: 0.11.x
|
||||
*/
|
||||
void
|
||||
gst_video_overlay_rectangle_set_render_rectangle (GstVideoOverlayRectangle *
|
||||
|
@ -1084,8 +1058,6 @@ done:
|
|||
* gst_video_overlay_rectangle_get_render_rectangle(). This function does
|
||||
* not return a reference, the caller should obtain a reference of her own
|
||||
* with gst_buffer_ref() if needed.
|
||||
*
|
||||
* Since: 0.11.x
|
||||
*/
|
||||
GstBuffer *
|
||||
gst_video_overlay_rectangle_get_pixels_argb (GstVideoOverlayRectangle *
|
||||
|
@ -1118,8 +1090,6 @@ gst_video_overlay_rectangle_get_pixels_argb (GstVideoOverlayRectangle *
|
|||
* Returns: (transfer none): a #GstBuffer holding the ARGB pixel data with
|
||||
* row stride @stride. This function does not return a reference, the caller
|
||||
* should obtain a reference of her own with gst_buffer_ref() if needed.
|
||||
*
|
||||
* Since: 0.11.x
|
||||
*/
|
||||
GstBuffer *
|
||||
gst_video_overlay_rectangle_get_pixels_unscaled_argb (GstVideoOverlayRectangle *
|
||||
|
@ -1148,8 +1118,6 @@ gst_video_overlay_rectangle_get_pixels_unscaled_argb (GstVideoOverlayRectangle *
|
|||
* it is stored in, to avoid unnecessary conversion.
|
||||
*
|
||||
* Returns: the #GstVideoOverlayFormatFlags associated with the rectangle.
|
||||
*
|
||||
* Since: 0.10.37
|
||||
*/
|
||||
GstVideoOverlayFormatFlags
|
||||
gst_video_overlay_rectangle_get_flags (GstVideoOverlayRectangle * rectangle)
|
||||
|
@ -1167,8 +1135,6 @@ gst_video_overlay_rectangle_get_flags (GstVideoOverlayRectangle * rectangle)
|
|||
* Retrieves the global-alpha value associated with a #GstVideoOverlayRectangle.
|
||||
*
|
||||
* Returns: the global-alpha value associated with the rectangle.
|
||||
*
|
||||
* Since: 0.10.37
|
||||
*/
|
||||
gfloat
|
||||
gst_video_overlay_rectangle_get_global_alpha (GstVideoOverlayRectangle *
|
||||
|
@ -1191,8 +1157,6 @@ gst_video_overlay_rectangle_get_global_alpha (GstVideoOverlayRectangle *
|
|||
* make the rectangles inside a #GstVideoOverlayComposition writable using
|
||||
* gst_video_overlay_composition_make_writable() or
|
||||
* gst_video_overlay_composition_copy().
|
||||
*
|
||||
* Since: 0.10.37
|
||||
*/
|
||||
void
|
||||
gst_video_overlay_rectangle_set_global_alpha (GstVideoOverlayRectangle *
|
||||
|
@ -1226,8 +1190,6 @@ gst_video_overlay_rectangle_set_global_alpha (GstVideoOverlayRectangle *
|
|||
*
|
||||
* Returns: (transfer full): a new #GstVideoOverlayRectangle equivalent
|
||||
* to @rectangle.
|
||||
*
|
||||
* Since: 0.11.x
|
||||
*/
|
||||
GstVideoOverlayRectangle *
|
||||
gst_video_overlay_rectangle_copy (GstVideoOverlayRectangle * rectangle)
|
||||
|
@ -1267,8 +1229,6 @@ gst_video_overlay_rectangle_copy (GstVideoOverlayRectangle * rectangle)
|
|||
* pixel-data.
|
||||
*
|
||||
* Returns: the sequence number of @rectangle
|
||||
*
|
||||
* Since: 0.11.x
|
||||
*/
|
||||
guint
|
||||
gst_video_overlay_rectangle_get_seqnum (GstVideoOverlayRectangle * rectangle)
|
||||
|
|
|
@ -32,8 +32,6 @@ G_BEGIN_DECLS
|
|||
*
|
||||
* An opaque video overlay rectangle object. A rectangle contains a single
|
||||
* overlay rectangle which can be added to a composition.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_TYPE_VIDEO_OVERLAY_RECTANGLE \
|
||||
(gst_video_overlay_rectangle_get_type ())
|
||||
|
@ -59,8 +57,6 @@ typedef struct _GstVideoOverlayRectangle GstVideoOverlayRectangle;
|
|||
* and not know that that's the case).
|
||||
*
|
||||
* Returns: (transfer full): @comp
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#ifdef _FOOL_GTK_DOC_
|
||||
G_INLINE_FUNC GstVideoOverlayRectangle *
|
||||
|
@ -79,8 +75,6 @@ gst_video_overlay_rectangle_ref (GstVideoOverlayRectangle * comp)
|
|||
*
|
||||
* Decreases the refcount of the rectangle. If the refcount reaches 0, the
|
||||
* rectangle will be freed.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#ifdef _FOOL_GTK_DOC_
|
||||
G_INLINE_FUNC void
|
||||
|
@ -96,12 +90,10 @@ gst_video_overlay_rectangle_unref (GstVideoOverlayRectangle * comp)
|
|||
/**
|
||||
* GstVideoOverlayFormatFlags:
|
||||
* @GST_VIDEO_OVERLAY_FORMAT_FLAG_NONE: no flags
|
||||
* @GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA: RGB are premultiplied by A/255. Since: 0.10.37
|
||||
* @GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA: a global-alpha value != 1 is set. Since: 0.10.37
|
||||
* @GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA: RGB are premultiplied by A/255.
|
||||
* @GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA: a global-alpha value != 1 is set.
|
||||
*
|
||||
* Overlay format flags.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
typedef enum {
|
||||
GST_VIDEO_OVERLAY_FORMAT_FLAG_NONE = 0,
|
||||
|
@ -154,8 +146,6 @@ void gst_video_overlay_rectangle_set_global_alpha
|
|||
*
|
||||
* An opaque video overlay composition object. A composition contains
|
||||
* multiple overlay rectangles.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#define GST_TYPE_VIDEO_OVERLAY_COMPOSITION \
|
||||
(gst_video_overlay_composition_get_type ())
|
||||
|
@ -179,8 +169,6 @@ typedef struct _GstVideoOverlayComposition GstVideoOverlayComposition;
|
|||
* a composition and its rectangles can be modified.
|
||||
*
|
||||
* Returns: (transfer full): @comp
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#ifdef _FOOL_GTK_DOC_
|
||||
G_INLINE_FUNC GstVideoOverlayComposition *
|
||||
|
@ -199,8 +187,6 @@ gst_video_overlay_composition_ref (GstVideoOverlayComposition * comp)
|
|||
*
|
||||
* Decreases the refcount of the composition. If the refcount reaches 0, the
|
||||
* composition will be freed.
|
||||
*
|
||||
* Since: 0.10.36
|
||||
*/
|
||||
#ifdef _FOOL_GTK_DOC_
|
||||
G_INLINE_FUNC void
|
||||
|
|
|
@ -59,8 +59,6 @@
|
|||
* Returns: A boolean indicating success and a calculated Display Ratio in the
|
||||
* dar_n and dar_d parameters.
|
||||
* The return value is FALSE in the case of integer overflow or other error.
|
||||
*
|
||||
* Since: 0.10.7
|
||||
*/
|
||||
gboolean
|
||||
gst_video_calculate_display_ratio (guint * dar_n, guint * dar_d,
|
||||
|
|
|
@ -34,8 +34,6 @@
|
|||
*
|
||||
* The interface allows unified access to control flipping and autocenter
|
||||
* operation of video-sources or operators.
|
||||
*
|
||||
* Since: 0.10.11
|
||||
*/
|
||||
|
||||
/* FIXME 0.11: check if we need to add API for sometimes-supportedness
|
||||
|
@ -91,8 +89,6 @@ gst_video_orientation_iface_init (GstVideoOrientationInterface * iface)
|
|||
* @flip: return location for the result
|
||||
*
|
||||
* Get the horizontal flipping state (%TRUE for flipped) from the given object.
|
||||
*
|
||||
* Since: 0.10.11
|
||||
* Returns: %TRUE in case the element supports flipping
|
||||
*/
|
||||
gboolean
|
||||
|
@ -114,8 +110,6 @@ gst_video_orientation_get_hflip (GstVideoOrientation * video_orientation,
|
|||
* @flip: return location for the result
|
||||
*
|
||||
* Get the vertical flipping state (%TRUE for flipped) from the given object.
|
||||
*
|
||||
* Since: 0.10.11
|
||||
* Returns: %TRUE in case the element supports flipping
|
||||
*/
|
||||
gboolean
|
||||
|
@ -137,8 +131,6 @@ gst_video_orientation_get_vflip (GstVideoOrientation * video_orientation,
|
|||
* @center: return location for the result
|
||||
*
|
||||
* Get the horizontal centering offset from the given object.
|
||||
*
|
||||
* Since: 0.10.11
|
||||
* Returns: %TRUE in case the element supports centering
|
||||
*/
|
||||
gboolean
|
||||
|
@ -160,8 +152,6 @@ gst_video_orientation_get_hcenter (GstVideoOrientation * video_orientation,
|
|||
* @center: return location for the result
|
||||
*
|
||||
* Get the vertical centering offset from the given object.
|
||||
*
|
||||
* Since: 0.10.11
|
||||
* Returns: %TRUE in case the element supports centering
|
||||
*/
|
||||
gboolean
|
||||
|
@ -183,8 +173,6 @@ gst_video_orientation_get_vcenter (GstVideoOrientation * video_orientation,
|
|||
* @flip: use flipping
|
||||
*
|
||||
* Set the horizontal flipping state (%TRUE for flipped) for the given object.
|
||||
*
|
||||
* Since: 0.10.11
|
||||
* Returns: %TRUE in case the element supports flipping
|
||||
*/
|
||||
gboolean
|
||||
|
@ -206,8 +194,6 @@ gst_video_orientation_set_hflip (GstVideoOrientation * video_orientation,
|
|||
* @flip: use flipping
|
||||
*
|
||||
* Set the vertical flipping state (%TRUE for flipped) for the given object.
|
||||
*
|
||||
* Since: 0.10.11
|
||||
* Returns: %TRUE in case the element supports flipping
|
||||
*/
|
||||
gboolean
|
||||
|
@ -229,8 +215,6 @@ gst_video_orientation_set_vflip (GstVideoOrientation * video_orientation,
|
|||
* @center: centering offset
|
||||
*
|
||||
* Set the horizontal centering offset for the given object.
|
||||
*
|
||||
* Since: 0.10.11
|
||||
* Returns: %TRUE in case the element supports centering
|
||||
*/
|
||||
gboolean
|
||||
|
@ -252,8 +236,6 @@ gst_video_orientation_set_hcenter (GstVideoOrientation * video_orientation,
|
|||
* @center: centering offset
|
||||
*
|
||||
* Set the vertical centering offset for the given object.
|
||||
*
|
||||
* Since: 0.10.11
|
||||
* Returns: %TRUE in case the element supports centering
|
||||
*/
|
||||
gboolean
|
||||
|
|
|
@ -342,8 +342,6 @@ gst_video_overlay_get_type (void)
|
|||
* should use this method to tell to a XOverlay to display video output to a
|
||||
* specific window (e.g. an XWindow on X11). Passing 0 as the @handle will
|
||||
* tell the overlay to stop using that window and create an internal one.
|
||||
*
|
||||
* Since: 0.10.31
|
||||
*/
|
||||
void
|
||||
gst_video_overlay_set_window_handle (GstVideoOverlay * overlay, guintptr handle)
|
||||
|
@ -444,8 +442,6 @@ gst_video_overlay_expose (GstVideoOverlay * overlay)
|
|||
* events are not propagated in the window hierarchy if a client is listening
|
||||
* for them. This method allows you to disable events handling completely
|
||||
* from the XOverlay.
|
||||
*
|
||||
* Since: 0.10.12
|
||||
*/
|
||||
void
|
||||
gst_video_overlay_handle_events (GstVideoOverlay * overlay,
|
||||
|
@ -483,8 +479,6 @@ gst_video_overlay_handle_events (GstVideoOverlay * overlay,
|
|||
* do not support subwindows.
|
||||
*
|
||||
* Returns: %FALSE if not supported by the sink.
|
||||
*
|
||||
* Since: 0.10.29
|
||||
*/
|
||||
gboolean
|
||||
gst_video_overlay_set_render_rectangle (GstVideoOverlay * overlay,
|
||||
|
@ -513,8 +507,6 @@ gst_video_overlay_set_render_rectangle (GstVideoOverlay * overlay,
|
|||
* Convenience function to check if the given message is a
|
||||
* "prepare-window-handle" message from a #GstVideoOverlay.
|
||||
*
|
||||
* Since: 0.11.2
|
||||
*
|
||||
* Returns: whether @msg is a "prepare-window-handle" message
|
||||
*/
|
||||
gboolean
|
||||
|
|
Loading…
Reference in a new issue