projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
aggregator: Assert if the sink/src pad type that is to be used is not a GstAggregator...
[platform/upstream/gstreamer.git]
/
libs
/
gst
/
base
/
gstbaseparse.h
diff --git
a/libs/gst/base/gstbaseparse.h
b/libs/gst/base/gstbaseparse.h
index
d566f6d
..
495829a
100644
(file)
--- a/
libs/gst/base/gstbaseparse.h
+++ b/
libs/gst/base/gstbaseparse.h
@@
-23,6
+23,7
@@
#define __GST_BASE_PARSE_H__
#include <gst/gst.h>
#define __GST_BASE_PARSE_H__
#include <gst/gst.h>
+#include <gst/base/base-prelude.h>
G_BEGIN_DECLS
G_BEGIN_DECLS
@@
-53,9
+54,10
@@
G_BEGIN_DECLS
/**
* GST_BASE_PARSE_FLOW_DROPPED:
*
/**
* GST_BASE_PARSE_FLOW_DROPPED:
*
- * A #GstFlowReturn that can be returned from parse_frame to
- * indicate that no output buffer was generated, or from pre_push_frame to
- * to forego pushing buffer.
+ * A #GstFlowReturn that can be returned from
+ * #GstBaseParseClass.handle_frame() to indicate that no output buffer was
+ * generated, or from #GstBaseParseClass.pre_push_frame() to to forego
+ * pushing buffer.
*/
#define GST_BASE_PARSE_FLOW_DROPPED GST_FLOW_CUSTOM_SUCCESS
*/
#define GST_BASE_PARSE_FLOW_DROPPED GST_FLOW_CUSTOM_SUCCESS
@@
-219,10
+221,10
@@
struct _GstBaseParse {
* @sink_query: Optional.
* Query handler on the sink pad. This function should chain
* up to the parent implementation to let the default handler
* @sink_query: Optional.
* Query handler on the sink pad. This function should chain
* up to the parent implementation to let the default handler
- * run (Since 1.2)
+ * run (Since
:
1.2)
* @src_query: Optional.
* Query handler on the source pad. Should chain up to the
* @src_query: Optional.
* Query handler on the source pad. Should chain up to the
- * parent to let the default handler run (Since 1.2)
+ * parent to let the default handler run (Since
:
1.2)
*
* Subclasses can override any of the available virtual methods or not, as
* needed. At minimum @handle_frame needs to be overridden.
*
* Subclasses can override any of the available virtual methods or not, as
* needed. At minimum @handle_frame needs to be overridden.
@@
-275,84
+277,86
@@
struct _GstBaseParseClass {
gpointer _gst_reserved[GST_PADDING_LARGE - 2];
};
gpointer _gst_reserved[GST_PADDING_LARGE - 2];
};
-GST_
EXPORT
+GST_
BASE_API
GType gst_base_parse_get_type (void);
GType gst_base_parse_get_type (void);
-GST_
EXPORT
+GST_
BASE_API
GType gst_base_parse_frame_get_type (void);
GType gst_base_parse_frame_get_type (void);
-GST_
EXPORT
+GST_
BASE_API
GstBaseParseFrame * gst_base_parse_frame_new (GstBuffer * buffer,
GstBaseParseFrameFlags flags,
gint overhead);
GstBaseParseFrame * gst_base_parse_frame_new (GstBuffer * buffer,
GstBaseParseFrameFlags flags,
gint overhead);
-GST_
EXPORT
+GST_
BASE_API
void gst_base_parse_frame_init (GstBaseParseFrame * frame);
void gst_base_parse_frame_init (GstBaseParseFrame * frame);
-GST_EXPORT
+GST_BASE_API
+GstBaseParseFrame * gst_base_parse_frame_copy (GstBaseParseFrame * frame);
+GST_BASE_API
void gst_base_parse_frame_free (GstBaseParseFrame * frame);
void gst_base_parse_frame_free (GstBaseParseFrame * frame);
-GST_
EXPORT
+GST_
BASE_API
GstFlowReturn gst_base_parse_push_frame (GstBaseParse * parse,
GstBaseParseFrame * frame);
GstFlowReturn gst_base_parse_push_frame (GstBaseParse * parse,
GstBaseParseFrame * frame);
-GST_
EXPORT
+GST_
BASE_API
GstFlowReturn gst_base_parse_finish_frame (GstBaseParse * parse,
GstBaseParseFrame * frame,
gint size);
GstFlowReturn gst_base_parse_finish_frame (GstBaseParse * parse,
GstBaseParseFrame * frame,
gint size);
-GST_
EXPORT
+GST_
BASE_API
void gst_base_parse_set_duration (GstBaseParse * parse,
GstFormat fmt,
gint64 duration,
gint interval);
void gst_base_parse_set_duration (GstBaseParse * parse,
GstFormat fmt,
gint64 duration,
gint interval);
-GST_
EXPORT
+GST_
BASE_API
void gst_base_parse_set_average_bitrate (GstBaseParse * parse,
guint bitrate);
void gst_base_parse_set_average_bitrate (GstBaseParse * parse,
guint bitrate);
-GST_
EXPORT
+GST_
BASE_API
void gst_base_parse_set_min_frame_size (GstBaseParse * parse,
guint min_size);
void gst_base_parse_set_min_frame_size (GstBaseParse * parse,
guint min_size);
-GST_
EXPORT
+GST_
BASE_API
void gst_base_parse_set_has_timing_info (GstBaseParse * parse,
gboolean has_timing);
void gst_base_parse_set_has_timing_info (GstBaseParse * parse,
gboolean has_timing);
-GST_
EXPORT
+GST_
BASE_API
void gst_base_parse_drain (GstBaseParse * parse);
void gst_base_parse_drain (GstBaseParse * parse);
-GST_
EXPORT
+GST_
BASE_API
void gst_base_parse_set_syncable (GstBaseParse * parse,
gboolean syncable);
void gst_base_parse_set_syncable (GstBaseParse * parse,
gboolean syncable);
-GST_
EXPORT
+GST_
BASE_API
void gst_base_parse_set_passthrough (GstBaseParse * parse,
gboolean passthrough);
void gst_base_parse_set_passthrough (GstBaseParse * parse,
gboolean passthrough);
-GST_
EXPORT
+GST_
BASE_API
void gst_base_parse_set_pts_interpolation (GstBaseParse * parse,
gboolean pts_interpolate);
void gst_base_parse_set_pts_interpolation (GstBaseParse * parse,
gboolean pts_interpolate);
-GST_
EXPORT
+GST_
BASE_API
void gst_base_parse_set_infer_ts (GstBaseParse * parse,
gboolean infer_ts);
void gst_base_parse_set_infer_ts (GstBaseParse * parse,
gboolean infer_ts);
-GST_
EXPORT
+GST_
BASE_API
void gst_base_parse_set_frame_rate (GstBaseParse * parse,
guint fps_num,
guint fps_den,
guint lead_in,
guint lead_out);
void gst_base_parse_set_frame_rate (GstBaseParse * parse,
guint fps_num,
guint fps_den,
guint lead_in,
guint lead_out);
-GST_
EXPORT
+GST_
BASE_API
void gst_base_parse_set_latency (GstBaseParse * parse,
GstClockTime min_latency,
GstClockTime max_latency);
void gst_base_parse_set_latency (GstBaseParse * parse,
GstClockTime min_latency,
GstClockTime max_latency);
-GST_
EXPORT
+GST_
BASE_API
gboolean gst_base_parse_convert_default (GstBaseParse * parse,
GstFormat src_format,
gint64 src_value,
GstFormat dest_format,
gint64 * dest_value);
gboolean gst_base_parse_convert_default (GstBaseParse * parse,
GstFormat src_format,
gint64 src_value,
GstFormat dest_format,
gint64 * dest_value);
-GST_
EXPORT
+GST_
BASE_API
gboolean gst_base_parse_add_index_entry (GstBaseParse * parse,
guint64 offset,
GstClockTime ts,
gboolean key,
gboolean force);
gboolean gst_base_parse_add_index_entry (GstBaseParse * parse,
guint64 offset,
GstClockTime ts,
gboolean key,
gboolean force);
-GST_
EXPORT
+GST_
BASE_API
void gst_base_parse_set_ts_at_offset (GstBaseParse *parse,
gsize offset);
void gst_base_parse_set_ts_at_offset (GstBaseParse *parse,
gsize offset);
-GST_
EXPORT
+GST_
BASE_API
void gst_base_parse_merge_tags (GstBaseParse * parse,
GstTagList * tags,
GstTagMergeMode mode);
void gst_base_parse_merge_tags (GstBaseParse * parse,
GstTagList * tags,
GstTagMergeMode mode);