mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 03:45:39 +00:00
validate: Mark symbols explicitly for export with GST_EXPORT
With an exception: * gst_validate_monitor_setup which was never declared in headers and should always have been static.
This commit is contained in:
parent
823c9ca834
commit
74a560163a
20 changed files with 160 additions and 17 deletions
|
@ -73,8 +73,10 @@ struct _GstValidateBinMonitorClass {
|
|||
};
|
||||
|
||||
/* normal GObject stuff */
|
||||
GST_EXPORT
|
||||
GType gst_validate_bin_monitor_get_type (void);
|
||||
|
||||
GST_EXPORT
|
||||
GstValidateBinMonitor * gst_validate_bin_monitor_new (GstBin * bin, GstValidateRunner * runner, GstValidateMonitor * parent);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -77,8 +77,10 @@ struct _GstValidateElementMonitorClass {
|
|||
};
|
||||
|
||||
/* normal GObject stuff */
|
||||
GST_EXPORT
|
||||
GType gst_validate_element_monitor_get_type (void);
|
||||
|
||||
GST_EXPORT
|
||||
GstValidateElementMonitor * gst_validate_element_monitor_new (GstElement * element, GstValidateRunner * runner, GstValidateMonitor * parent);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -61,17 +61,25 @@ struct _GstValidateMediaInfo {
|
|||
GstValidateStreamInfo *stream_info;
|
||||
};
|
||||
|
||||
GST_EXPORT
|
||||
void gst_validate_media_info_init (GstValidateMediaInfo * mi);
|
||||
GST_EXPORT
|
||||
void gst_validate_media_info_clear (GstValidateMediaInfo * mi);
|
||||
GST_EXPORT
|
||||
void gst_validate_media_info_free (GstValidateMediaInfo * mi);
|
||||
|
||||
GST_EXPORT
|
||||
gchar * gst_validate_media_info_to_string (GstValidateMediaInfo * mi, gsize * length);
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_media_info_save (GstValidateMediaInfo * mi, const gchar * path, GError ** err);
|
||||
GST_EXPORT
|
||||
GstValidateMediaInfo * gst_validate_media_info_load (const gchar * path, GError ** err);
|
||||
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_media_info_inspect_uri (GstValidateMediaInfo * mi, const gchar * uri,
|
||||
gboolean discover_only, GError ** err);
|
||||
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_media_info_compare (GstValidateMediaInfo * expected, GstValidateMediaInfo * extracted);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
GST_EXPORT
|
||||
GstValidateMonitor * gst_validate_monitor_factory_create (GstObject * target, GstValidateRunner * runner, GstValidateMonitor * parent);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -58,7 +58,7 @@ gst_validate_monitor_set_property (GObject * object, guint prop_id,
|
|||
static GObject *gst_validate_monitor_constructor (GType type,
|
||||
guint n_construct_params, GObjectConstructParam * construct_params);
|
||||
|
||||
gboolean gst_validate_monitor_setup (GstValidateMonitor * monitor);
|
||||
static gboolean gst_validate_monitor_setup (GstValidateMonitor * monitor);
|
||||
|
||||
static GstValidateInterceptionReturn
|
||||
gst_validate_monitor_intercept_report (GstValidateReporter * reporter,
|
||||
|
|
|
@ -116,16 +116,23 @@ struct _GstValidateMonitorClass {
|
|||
};
|
||||
|
||||
/* normal GObject stuff */
|
||||
GST_EXPORT
|
||||
GType gst_validate_monitor_get_type (void);
|
||||
|
||||
GST_EXPORT
|
||||
void gst_validate_monitor_attach_override (GstValidateMonitor * monitor,
|
||||
GstValidateOverride * override);
|
||||
|
||||
GST_EXPORT
|
||||
GstElement * gst_validate_monitor_get_element (GstValidateMonitor * monitor);
|
||||
GST_EXPORT
|
||||
gchar * gst_validate_monitor_get_element_name (GstValidateMonitor * monitor);
|
||||
GST_EXPORT
|
||||
void gst_validate_monitor_set_media_descriptor (GstValidateMonitor * monitor,
|
||||
GstValidateMediaDescriptor *media_descriptor);
|
||||
GST_EXPORT
|
||||
GstPipeline * gst_validate_monitor_get_pipeline (GstValidateMonitor * monitor);
|
||||
GST_EXPORT
|
||||
GstObject * gst_validate_monitor_get_target (GstValidateMonitor * monitor);
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -39,17 +39,23 @@ typedef struct {
|
|||
GQueue klass_overrides;
|
||||
} GstValidateOverrideRegistry;
|
||||
|
||||
GST_EXPORT
|
||||
GstValidateOverrideRegistry * gst_validate_override_registry_get (void);
|
||||
|
||||
GList *
|
||||
GST_EXPORT GList *
|
||||
gst_validate_override_registry_get_override_for_names (GstValidateOverrideRegistry *reg,
|
||||
const gchar *name, ...);
|
||||
GST_EXPORT
|
||||
void gst_validate_override_register_by_name (const gchar * name, GstValidateOverride * override);
|
||||
GST_EXPORT
|
||||
void gst_validate_override_register_by_type (GType gtype, GstValidateOverride * override);
|
||||
GST_EXPORT
|
||||
void gst_validate_override_register_by_klass (const gchar * klass, GstValidateOverride * override);
|
||||
|
||||
GST_EXPORT
|
||||
void gst_validate_override_registry_attach_overrides (GstValidateMonitor * monitor);
|
||||
|
||||
GST_EXPORT
|
||||
int gst_validate_override_registry_preload (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -74,6 +74,7 @@ struct _GstValidateOverride
|
|||
GstValidateOverridePriv *priv;
|
||||
};
|
||||
|
||||
GST_EXPORT
|
||||
GType gst_validate_override_get_type (void) G_GNUC_CONST;
|
||||
|
||||
/* TYPE MACROS */
|
||||
|
@ -84,28 +85,46 @@ GType gst_validate_override_get_type (void) G_GNUC_CONST;
|
|||
#define GST_IS_VALIDATE_OVERRIDE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_VALIDATE_OVERRIDE))
|
||||
#define GST_VALIDATE_OVERRIDE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_VALIDATE_OVERRIDE, GstValidateOverrideClass))
|
||||
|
||||
GST_EXPORT
|
||||
GstValidateOverride * gst_validate_override_new (void);
|
||||
|
||||
void gst_validate_override_free (GstValidateOverride * override);
|
||||
GST_EXPORT
|
||||
void gst_validate_override_change_severity (GstValidateOverride * override, GstValidateIssueId issue_id, GstValidateReportLevel new_level);
|
||||
GST_EXPORT
|
||||
GstValidateReportLevel gst_validate_override_get_severity (GstValidateOverride * override, GstValidateIssueId issue_id, GstValidateReportLevel default_level);
|
||||
|
||||
GST_EXPORT
|
||||
void gst_validate_override_event_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstEvent * event);
|
||||
GST_EXPORT
|
||||
void gst_validate_override_buffer_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstBuffer * buffer);
|
||||
GST_EXPORT
|
||||
void gst_validate_override_query_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstQuery * query);
|
||||
GST_EXPORT
|
||||
void gst_validate_override_buffer_probe_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstBuffer * buffer);
|
||||
GST_EXPORT
|
||||
void gst_validate_override_getcaps_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstCaps * caps);
|
||||
GST_EXPORT
|
||||
void gst_validate_override_setcaps_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstCaps * caps);
|
||||
|
||||
GST_EXPORT
|
||||
void gst_validate_override_set_event_handler (GstValidateOverride * override, GstValidateOverrideEventHandler handler);
|
||||
GST_EXPORT
|
||||
void gst_validate_override_set_buffer_handler (GstValidateOverride * override, GstValidateOverrideBufferHandler handler);
|
||||
GST_EXPORT
|
||||
void gst_validate_override_set_query_handler (GstValidateOverride * override, GstValidateOverrideQueryHandler handler);
|
||||
GST_EXPORT
|
||||
void gst_validate_override_set_buffer_probe_handler (GstValidateOverride * override, GstValidateOverrideBufferHandler handler);
|
||||
GST_EXPORT
|
||||
void gst_validate_override_set_getcaps_handler (GstValidateOverride * override, GstValidateOverrideGetCapsHandler handler);
|
||||
GST_EXPORT
|
||||
void gst_validate_override_set_setcaps_handler (GstValidateOverride * override, GstValidateOverrideSetCapsHandler handler);
|
||||
GST_EXPORT
|
||||
void gst_validate_override_element_added_handler (GstValidateOverride * override, GstValidateMonitor * monitor, GstElement * child);
|
||||
GST_EXPORT
|
||||
void gst_validate_override_set_element_added_handler (GstValidateOverride * override, GstValidateOverrideElementAddedHandler func);
|
||||
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_override_can_attach (GstValidateOverride * override, GstValidateMonitor *monitor);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -138,8 +138,10 @@ struct _GstValidatePadMonitorClass {
|
|||
};
|
||||
|
||||
/* normal GObject stuff */
|
||||
GST_EXPORT
|
||||
GType gst_validate_pad_monitor_get_type (void);
|
||||
|
||||
GST_EXPORT
|
||||
GstValidatePadMonitor * gst_validate_pad_monitor_new (GstPad * pad, GstValidateRunner * runner, GstValidateElementMonitor *element_monitor);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -83,8 +83,10 @@ struct _GstValidatePipelineMonitorClass {
|
|||
};
|
||||
|
||||
/* normal GObject stuff */
|
||||
GST_EXPORT
|
||||
GType gst_validate_pipeline_monitor_get_type (void);
|
||||
|
||||
GST_EXPORT
|
||||
GstValidatePipelineMonitor * gst_validate_pipeline_monitor_new (GstPipeline * pipeline,
|
||||
GstValidateRunner * runner, GstValidateMonitor * parent);
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@ typedef guintptr GstValidateIssueId;
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
GST_EXPORT
|
||||
GType gst_validate_report_get_type (void);
|
||||
#define GST_TYPE_VALIDATE_REPORT (gst_validate_report_get_type ())
|
||||
|
||||
|
@ -149,6 +150,7 @@ typedef struct {
|
|||
|
||||
} GstValidateIssue;
|
||||
|
||||
GST_EXPORT
|
||||
GType gst_validate_issue_get_type (void);
|
||||
|
||||
struct _GstValidateReport {
|
||||
|
@ -202,44 +204,69 @@ void gst_validate_report_add_message (GstValidateReport *report,
|
|||
gst_validate_reporter_get_name (r->reporter), \
|
||||
GST_VALIDATE_ISSUE_ARGS (r->issue), \
|
||||
r->message
|
||||
GST_EXPORT
|
||||
void gst_validate_report_init (void);
|
||||
GST_EXPORT
|
||||
GstValidateIssue *gst_validate_issue_from_id (GstValidateIssueId issue_id);
|
||||
GST_EXPORT
|
||||
GstValidateIssueId gst_validate_issue_get_id (GstValidateIssue * issue);
|
||||
GST_EXPORT
|
||||
void gst_validate_issue_register (GstValidateIssue * issue);
|
||||
GST_EXPORT
|
||||
GstValidateIssue *gst_validate_issue_new (GstValidateIssueId issue_id, const gchar * summary,
|
||||
const gchar * description,
|
||||
GstValidateReportLevel default_level);
|
||||
GST_EXPORT
|
||||
void gst_validate_issue_set_default_level (GstValidateIssue *issue,
|
||||
GstValidateReportLevel default_level);
|
||||
|
||||
GST_EXPORT
|
||||
GstValidateReport *gst_validate_report_new (GstValidateIssue * issue,
|
||||
GstValidateReporter * reporter,
|
||||
const gchar * message);
|
||||
GST_EXPORT
|
||||
void gst_validate_report_unref (GstValidateReport * report);
|
||||
GST_EXPORT
|
||||
GstValidateReport *gst_validate_report_ref (GstValidateReport * report);
|
||||
|
||||
GST_EXPORT
|
||||
GstValidateIssueId gst_validate_report_get_issue_id (GstValidateReport * report);
|
||||
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_report_check_abort (GstValidateReport * report);
|
||||
GST_EXPORT
|
||||
void gst_validate_report_printf (GstValidateReport * report);
|
||||
GST_EXPORT
|
||||
void gst_validate_report_print_level (GstValidateReport *report);
|
||||
GST_EXPORT
|
||||
void gst_validate_report_print_detected_on (GstValidateReport *report);
|
||||
GST_EXPORT
|
||||
void gst_validate_report_print_details (GstValidateReport *report);
|
||||
GST_EXPORT
|
||||
void gst_validate_report_print_description (GstValidateReport *report);
|
||||
|
||||
GST_EXPORT
|
||||
const gchar * gst_validate_report_level_get_name (GstValidateReportLevel level);
|
||||
|
||||
GST_EXPORT
|
||||
void gst_validate_printf (gpointer source,
|
||||
const gchar * format,
|
||||
...) G_GNUC_PRINTF (2, 3) G_GNUC_NO_INSTRUMENT;
|
||||
GST_EXPORT
|
||||
void gst_validate_print_action (GstValidateAction *action, const gchar * message);
|
||||
GST_EXPORT
|
||||
void gst_validate_printf_valist (gpointer source,
|
||||
const gchar * format,
|
||||
va_list args) G_GNUC_NO_INSTRUMENT;
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_report_should_print (GstValidateReport * report);
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_report_set_master_report(GstValidateReport *report, GstValidateReport *master_report);
|
||||
GST_EXPORT
|
||||
void gst_validate_report_set_reporting_level (GstValidateReport *report, GstValidateReportingDetails level);
|
||||
GST_EXPORT
|
||||
void gst_validate_report_add_repeated_report (GstValidateReport *report, GstValidateReport *repeated_report);
|
||||
GST_EXPORT
|
||||
GstValidateReportLevel gst_validate_report_level_from_name (const gchar *level_name);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -64,6 +64,7 @@ G_BEGIN_DECLS
|
|||
} G_STMT_END
|
||||
#endif /* G_HAVE_ISO_VARARGS */
|
||||
#endif /* G_HAVE_GNUC_VARARGS */
|
||||
GST_EXPORT
|
||||
GType gst_validate_reporter_get_type (void);
|
||||
|
||||
/**
|
||||
|
@ -94,28 +95,42 @@ struct _GstValidateReporterInterface
|
|||
GstPipeline * (*get_pipeline) (GstValidateReporter *reporter);
|
||||
};
|
||||
|
||||
GST_EXPORT
|
||||
void gst_validate_reporter_set_name (GstValidateReporter * reporter,
|
||||
gchar * name);
|
||||
GST_EXPORT
|
||||
const gchar * gst_validate_reporter_get_name (GstValidateReporter * reporter);
|
||||
GST_EXPORT
|
||||
GstValidateRunner * gst_validate_reporter_get_runner (GstValidateReporter *reporter);
|
||||
GST_EXPORT
|
||||
void gst_validate_reporter_init (GstValidateReporter * reporter, const gchar *name);
|
||||
GST_EXPORT
|
||||
void gst_validate_report (GstValidateReporter * reporter, GstValidateIssueId issue_id,
|
||||
const gchar * format, ...) G_GNUC_PRINTF (3, 4) G_GNUC_NO_INSTRUMENT;
|
||||
GST_EXPORT
|
||||
void gst_validate_report_valist (GstValidateReporter * reporter, GstValidateIssueId issue_id,
|
||||
const gchar * format, va_list var_args);
|
||||
void
|
||||
GST_EXPORT void
|
||||
gst_validate_reporter_report_simple (GstValidateReporter * reporter, GstValidateIssueId issue_id,
|
||||
const gchar * message);
|
||||
|
||||
GST_EXPORT
|
||||
void gst_validate_reporter_set_runner (GstValidateReporter * reporter, GstValidateRunner *runner);
|
||||
GST_EXPORT
|
||||
void gst_validate_reporter_set_handle_g_logs (GstValidateReporter * reporter);
|
||||
GST_EXPORT
|
||||
GstValidateReport * gst_validate_reporter_get_report (GstValidateReporter *reporter,
|
||||
GstValidateIssueId issue_id);
|
||||
GST_EXPORT
|
||||
GList * gst_validate_reporter_get_reports (GstValidateReporter * reporter);
|
||||
GST_EXPORT
|
||||
gint gst_validate_reporter_get_reports_count (GstValidateReporter *reporter);
|
||||
GST_EXPORT
|
||||
GstValidateReportingDetails gst_validate_reporter_get_reporting_level (GstValidateReporter *reporter);
|
||||
|
||||
GST_EXPORT
|
||||
void gst_validate_reporter_purge_reports (GstValidateReporter * reporter);
|
||||
GST_EXPORT
|
||||
GstPipeline * gst_validate_reporter_get_pipeline (GstValidateReporter * reporter);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -71,19 +71,28 @@ struct _GstValidateRunnerClass {
|
|||
};
|
||||
|
||||
/* normal GObject stuff */
|
||||
GST_EXPORT
|
||||
GType gst_validate_runner_get_type (void);
|
||||
|
||||
GST_EXPORT
|
||||
GstValidateRunner * gst_validate_runner_new (void);
|
||||
|
||||
GST_EXPORT
|
||||
void gst_validate_runner_add_report (GstValidateRunner * runner, GstValidateReport * report);
|
||||
|
||||
GST_EXPORT
|
||||
guint gst_validate_runner_get_reports_count (GstValidateRunner * runner);
|
||||
GST_EXPORT
|
||||
GList * gst_validate_runner_get_reports (GstValidateRunner * runner);
|
||||
|
||||
GST_EXPORT
|
||||
int gst_validate_runner_printf (GstValidateRunner * runner);
|
||||
GST_EXPORT
|
||||
int gst_validate_runner_exit (GstValidateRunner * runner, gboolean print_result);
|
||||
|
||||
GST_EXPORT
|
||||
GstValidateReportingDetails gst_validate_runner_get_default_reporting_level (GstValidateRunner *runner);
|
||||
GST_EXPORT
|
||||
GstValidateReportingDetails gst_validate_runner_get_reporting_level_for_name (GstValidateRunner *runner,
|
||||
const gchar *name);
|
||||
|
||||
|
|
|
@ -114,12 +114,15 @@ struct _GstValidateAction
|
|||
gpointer _gst_reserved[GST_PADDING_LARGE - 1]; /* ->priv */
|
||||
};
|
||||
|
||||
GST_EXPORT
|
||||
void gst_validate_action_set_done (GstValidateAction *action);
|
||||
GST_EXPORT
|
||||
GstValidateScenario * gst_validate_action_get_scenario (GstValidateAction *action);
|
||||
|
||||
#define GST_TYPE_VALIDATE_ACTION (gst_validate_action_get_type ())
|
||||
#define GST_IS_VALIDATE_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_VALIDATE_ACTION))
|
||||
#define GST_VALIDATE_ACTION_GET_TYPE(obj) ((GstValidateActionType*)gst_validate_get_action_type(((GstValidateAction*)obj)->type))
|
||||
GST_EXPORT
|
||||
GType gst_validate_action_get_type (void);
|
||||
|
||||
/**
|
||||
|
@ -192,8 +195,10 @@ struct _GstValidateActionType
|
|||
#define GST_TYPE_VALIDATE_ACTION_TYPE (gst_validate_action_type_get_type ())
|
||||
#define GST_IS_VALIDATE_ACTION_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_VALIDATE_ACTION_TYPE))
|
||||
#define GST_VALIDATE_ACTION_TYPE(obj) ((GstValidateActionType*) obj)
|
||||
GST_EXPORT
|
||||
GType gst_validate_action_type_get_type (void);
|
||||
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_print_action_types (const gchar ** wanted_types, gint num_wanted_types);
|
||||
|
||||
/**
|
||||
|
@ -251,20 +256,22 @@ struct _GstValidateScenario
|
|||
gpointer _gst_reserved[GST_PADDING + 1];
|
||||
};
|
||||
|
||||
GST_EXPORT
|
||||
GType gst_validate_scenario_get_type (void);
|
||||
|
||||
GST_EXPORT
|
||||
GstValidateScenario * gst_validate_scenario_factory_create (GstValidateRunner *runner,
|
||||
GstElement *pipeline,
|
||||
const gchar *scenario_name);
|
||||
gboolean
|
||||
GST_EXPORT gboolean
|
||||
gst_validate_list_scenarios (gchar **scenarios,
|
||||
gint num_scenarios,
|
||||
gchar * output_file);
|
||||
|
||||
GstValidateActionType *
|
||||
GST_EXPORT GstValidateActionType *
|
||||
gst_validate_get_action_type (const gchar *type_name);
|
||||
|
||||
GstValidateActionType *
|
||||
GST_EXPORT GstValidateActionType *
|
||||
gst_validate_register_action_type (const gchar *type_name,
|
||||
const gchar *implementer_namespace,
|
||||
GstValidateExecuteAction function,
|
||||
|
@ -272,7 +279,7 @@ gst_validate_register_action_type (const gchar *type_name,
|
|||
const gchar *description,
|
||||
GstValidateActionTypeFlags flags);
|
||||
|
||||
GstValidateActionType *
|
||||
GST_EXPORT GstValidateActionType *
|
||||
gst_validate_register_action_type_dynamic (GstPlugin *plugin,
|
||||
const gchar * type_name,
|
||||
GstRank rank,
|
||||
|
@ -282,12 +289,13 @@ gst_validate_register_action_type_dynamic (GstPlugin *plugin,
|
|||
GstValidateActionTypeFlags flags);
|
||||
|
||||
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_action_get_clocktime (GstValidateScenario * scenario,
|
||||
GstValidateAction *action,
|
||||
const gchar * name,
|
||||
GstClockTime * retval);
|
||||
|
||||
GstValidateExecuteActionReturn
|
||||
GST_EXPORT GstValidateExecuteActionReturn
|
||||
gst_validate_scenario_execute_seek (GstValidateScenario *scenario,
|
||||
GstValidateAction *action,
|
||||
gdouble rate,
|
||||
|
@ -298,18 +306,19 @@ gst_validate_scenario_execute_seek (GstValidateScenario *scenario,
|
|||
GstSeekType stop_type,
|
||||
GstClockTime stop);
|
||||
|
||||
GList *
|
||||
GST_EXPORT GList *
|
||||
gst_validate_scenario_get_actions (GstValidateScenario *scenario);
|
||||
GstValidateExecuteActionReturn
|
||||
GST_EXPORT GstValidateExecuteActionReturn
|
||||
gst_validate_execute_action (GstValidateActionType * action_type,
|
||||
GstValidateAction * action);
|
||||
|
||||
GstState
|
||||
GST_EXPORT GstState
|
||||
gst_validate_scenario_get_target_state (GstValidateScenario *scenario);
|
||||
|
||||
GstElement *
|
||||
GST_EXPORT GstElement *
|
||||
gst_validate_scenario_get_pipeline (GstValidateScenario * scenario);
|
||||
|
||||
GST_EXPORT
|
||||
void gst_validate_scenario_deinit (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -34,22 +34,30 @@
|
|||
typedef int (*GstValidateParseVariableFunc) (const gchar *name,
|
||||
double *value, gpointer user_data);
|
||||
|
||||
GST_EXPORT
|
||||
gdouble gst_validate_utils_parse_expression (const gchar *expr,
|
||||
GstValidateParseVariableFunc variable_func,
|
||||
gpointer user_data,
|
||||
gchar **error);
|
||||
GST_EXPORT
|
||||
guint gst_validate_utils_flags_from_str (GType type, const gchar * str_flags);
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_utils_enum_from_str (GType type,
|
||||
const gchar * str_enum,
|
||||
guint * enum_value);
|
||||
|
||||
GST_EXPORT
|
||||
GList * gst_validate_utils_structs_parse_from_filename (const gchar * scenario_file);
|
||||
GST_EXPORT
|
||||
GList * gst_validate_structs_parse_from_gfile (GFile * scenario_file);
|
||||
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_element_has_klass (GstElement * element, const gchar * klass);
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_utils_get_clocktime (GstStructure *structure, const gchar * name,
|
||||
GstClockTime * retval);
|
||||
|
||||
GST_EXPORT
|
||||
GstValidateActionReturn gst_validate_object_set_property (GstValidateReporter * reporter,
|
||||
GObject * object,
|
||||
const gchar * property,
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
GST_EXPORT
|
||||
GType gst_validate_media_descriptor_parser_get_type (void);
|
||||
|
||||
#define GST_TYPE_VALIDATE_MEDIA_DESCRIPTOR_PARSER (gst_validate_media_descriptor_parser_get_type ())
|
||||
|
@ -54,19 +55,25 @@ typedef struct {
|
|||
|
||||
} GstValidateMediaDescriptorParserClass;
|
||||
|
||||
GST_EXPORT
|
||||
GstValidateMediaDescriptorParser * gst_validate_media_descriptor_parser_new (GstValidateRunner *runner,
|
||||
const gchar * xmlpath,
|
||||
GError **error);
|
||||
GstValidateMediaDescriptorParser *
|
||||
GST_EXPORT GstValidateMediaDescriptorParser *
|
||||
gst_validate_media_descriptor_parser_new_from_xml (GstValidateRunner * runner,
|
||||
const gchar * xml,
|
||||
GError ** error);
|
||||
GST_EXPORT
|
||||
gchar * gst_validate_media_descriptor_parser_get_xml_path (GstValidateMediaDescriptorParser *parser);
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_media_descriptor_parser_add_stream (GstValidateMediaDescriptorParser *parser,
|
||||
GstPad *pad);
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_media_descriptor_parser_add_taglist (GstValidateMediaDescriptorParser *parser,
|
||||
GstTagList *taglist);
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_media_descriptor_parser_all_stream_found (GstValidateMediaDescriptorParser *parser);
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_media_descriptor_parser_all_tags_found (GstValidateMediaDescriptorParser *parser);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
GST_EXPORT
|
||||
GType gst_validate_media_descriptor_writer_get_type (void);
|
||||
|
||||
#define GST_TYPE_VALIDATE_MEDIA_DESCRIPTOR_WRITER (gst_validate_media_descriptor_writer_get_type ())
|
||||
|
@ -55,12 +56,14 @@ typedef struct {
|
|||
|
||||
} GstValidateMediaDescriptorWriterClass;
|
||||
|
||||
GST_EXPORT
|
||||
GstValidateMediaDescriptorWriter * gst_validate_media_descriptor_writer_new_discover (GstValidateRunner *runner,
|
||||
const gchar *uri,
|
||||
gboolean full,
|
||||
gboolean handle_g_logs,
|
||||
GError **err);
|
||||
|
||||
GST_EXPORT
|
||||
GstValidateMediaDescriptorWriter * gst_validate_media_descriptor_writer_new (GstValidateRunner *runner,
|
||||
const gchar *location,
|
||||
GstClockTime duration,
|
||||
|
@ -72,18 +75,24 @@ gboolean gst_validate_media_descriptor_writer_detects_frames (GstValidateMed
|
|||
GstClockTime gst_validate_media_descriptor_writer_get_duration (GstValidateMediaDescriptorWriter *writer);
|
||||
gboolean gst_validate_media_descriptor_writer_get_seekable (GstValidateMediaDescriptorWriter * writer);
|
||||
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_media_descriptor_writer_add_pad (GstValidateMediaDescriptorWriter *writer,
|
||||
GstPad *pad);
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_media_descriptor_writer_add_taglist (GstValidateMediaDescriptorWriter *writer,
|
||||
const GstTagList *taglist);
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_media_descriptor_writer_add_frame (GstValidateMediaDescriptorWriter *writer,
|
||||
GstPad *pad,
|
||||
GstBuffer *buf);
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_media_descriptor_writer_add_tags (GstValidateMediaDescriptorWriter *writer,
|
||||
const gchar *stream_id,
|
||||
const GstTagList *taglist);
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_media_descriptor_writer_write (GstValidateMediaDescriptorWriter * writer,
|
||||
const gchar * filename);
|
||||
GST_EXPORT
|
||||
gchar * gst_validate_media_descriptor_writer_serialize (GstValidateMediaDescriptorWriter *writer);
|
||||
|
||||
|
||||
|
|
|
@ -112,11 +112,14 @@ typedef struct
|
|||
gchar *str_close;
|
||||
} GstValidateMediaFrameNode;
|
||||
|
||||
GST_EXPORT
|
||||
void gst_validate_filenode_free (GstValidateMediaFileNode *
|
||||
filenode);
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_tag_node_compare (GstValidateMediaTagNode *
|
||||
tnode, const GstTagList * tlist);
|
||||
|
||||
GST_EXPORT
|
||||
GType gst_validate_media_descriptor_get_type (void);
|
||||
|
||||
#define GST_TYPE_VALIDATE_MEDIA_DESCRIPTOR (gst_validate_media_descriptor_get_type ())
|
||||
|
@ -150,20 +153,24 @@ typedef struct
|
|||
|
||||
} GstValidateMediaDescriptorClass;
|
||||
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_media_descriptors_compare (GstValidateMediaDescriptor *
|
||||
ref, GstValidateMediaDescriptor * compared);
|
||||
gboolean
|
||||
GST_EXPORT gboolean
|
||||
gst_validate_media_descriptor_detects_frames (GstValidateMediaDescriptor *
|
||||
self);
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_media_descriptor_get_buffers (GstValidateMediaDescriptor *
|
||||
self, GstPad * pad, GCompareFunc compare_func, GList ** bufs);
|
||||
gboolean
|
||||
GST_EXPORT gboolean
|
||||
gst_validate_media_descriptor_has_frame_info (GstValidateMediaDescriptor *
|
||||
self);
|
||||
GstClockTime
|
||||
GST_EXPORT GstClockTime
|
||||
gst_validate_media_descriptor_get_duration (GstValidateMediaDescriptor * self);
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_media_descriptor_get_seekable (GstValidateMediaDescriptor
|
||||
* self);
|
||||
GST_EXPORT
|
||||
GList *gst_validate_media_descriptor_get_pads (GstValidateMediaDescriptor *
|
||||
self);
|
||||
G_END_DECLS
|
||||
|
|
|
@ -16,9 +16,13 @@
|
|||
#include <gst/validate/gst-validate-reporter.h>
|
||||
#include <gst/validate/gst-validate-media-info.h>
|
||||
|
||||
GST_EXPORT
|
||||
void gst_validate_init (void);
|
||||
GST_EXPORT
|
||||
void gst_validate_deinit (void);
|
||||
GST_EXPORT
|
||||
GList * gst_validate_plugin_get_config (GstPlugin * plugin);
|
||||
GST_EXPORT
|
||||
gboolean gst_validate_is_initialized (void);
|
||||
|
||||
#endif /* _GST_VALIDATE_H */
|
||||
|
|
|
@ -66,7 +66,6 @@ EXPORTS
|
|||
gst_validate_monitor_get_target
|
||||
gst_validate_monitor_get_type
|
||||
gst_validate_monitor_set_media_descriptor
|
||||
gst_validate_monitor_setup
|
||||
gst_validate_object_set_property
|
||||
gst_validate_override_buffer_handler
|
||||
gst_validate_override_buffer_probe_handler
|
||||
|
|
Loading…
Reference in a new issue