mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
pbutils: clean up headers
Add padding indent
This commit is contained in:
parent
7fb914d5b6
commit
bfd417644d
3 changed files with 96 additions and 78 deletions
|
@ -128,25 +128,29 @@ GType gst_encoding_audio_profile_get_type (void);
|
||||||
*/
|
*/
|
||||||
#define gst_encoding_profile_ref(profile) (g_object_ref ((GObject*) profile))
|
#define gst_encoding_profile_ref(profile) (g_object_ref ((GObject*) profile))
|
||||||
|
|
||||||
const gchar * gst_encoding_profile_get_name(GstEncodingProfile *profile);
|
const gchar * gst_encoding_profile_get_name (GstEncodingProfile *profile);
|
||||||
const gchar * gst_encoding_profile_get_description(GstEncodingProfile *profile);
|
void gst_encoding_profile_set_name (GstEncodingProfile *profile,
|
||||||
GstCaps * gst_encoding_profile_get_format(GstEncodingProfile *profile);
|
const gchar *name);
|
||||||
const gchar * gst_encoding_profile_get_preset(GstEncodingProfile *profile);
|
const gchar * gst_encoding_profile_get_description (GstEncodingProfile *profile);
|
||||||
guint gst_encoding_profile_get_presence(GstEncodingProfile *profile);
|
void gst_encoding_profile_set_description (GstEncodingProfile *profile,
|
||||||
GstCaps * gst_encoding_profile_get_restriction(GstEncodingProfile *profile);
|
const gchar *description);
|
||||||
|
GstCaps * gst_encoding_profile_get_format (GstEncodingProfile *profile);
|
||||||
void gst_encoding_profile_set_name(GstEncodingProfile *profile, const gchar *name);
|
void gst_encoding_profile_set_format (GstEncodingProfile *profile,
|
||||||
void gst_encoding_profile_set_description(GstEncodingProfile *profile, const gchar *description);
|
GstCaps *format);
|
||||||
void gst_encoding_profile_set_format(GstEncodingProfile *profile, GstCaps *format);
|
const gchar * gst_encoding_profile_get_preset (GstEncodingProfile *profile);
|
||||||
void gst_encoding_profile_set_preset(GstEncodingProfile *profile, const gchar *preset);
|
void gst_encoding_profile_set_preset (GstEncodingProfile *profile,
|
||||||
void gst_encoding_profile_set_restriction(GstEncodingProfile *profile, GstCaps *restriction);
|
const gchar *preset);
|
||||||
void gst_encoding_profile_set_presence(GstEncodingProfile *profile, guint presence);
|
guint gst_encoding_profile_get_presence (GstEncodingProfile *profile);
|
||||||
|
void gst_encoding_profile_set_presence (GstEncodingProfile *profile,
|
||||||
|
guint presence);
|
||||||
|
GstCaps * gst_encoding_profile_get_restriction (GstEncodingProfile *profile);
|
||||||
|
void gst_encoding_profile_set_restriction (GstEncodingProfile *profile,
|
||||||
|
GstCaps *restriction);
|
||||||
|
|
||||||
gboolean gst_encoding_profile_is_equal (GstEncodingProfile *a,
|
gboolean gst_encoding_profile_is_equal (GstEncodingProfile *a,
|
||||||
GstEncodingProfile *b);
|
GstEncodingProfile *b);
|
||||||
GstCaps * gst_encoding_profile_get_input_caps (GstEncodingProfile *profile);
|
GstCaps * gst_encoding_profile_get_input_caps (GstEncodingProfile *profile);
|
||||||
|
const gchar * gst_encoding_profile_get_type_nick (GstEncodingProfile *profile);
|
||||||
const gchar *gst_encoding_profile_get_type_nick (GstEncodingProfile *profile);
|
|
||||||
|
|
||||||
GstEncodingProfile * gst_encoding_profile_find (const gchar *targetname,
|
GstEncodingProfile * gst_encoding_profile_find (const gchar *targetname,
|
||||||
const gchar *profilename,
|
const gchar *profilename,
|
||||||
|
@ -157,7 +161,7 @@ gboolean gst_encoding_container_profile_add_profile (GstEncodingContainer
|
||||||
GstEncodingProfile *profile);
|
GstEncodingProfile *profile);
|
||||||
gboolean gst_encoding_container_profile_contains_profile (GstEncodingContainerProfile * container,
|
gboolean gst_encoding_container_profile_contains_profile (GstEncodingContainerProfile * container,
|
||||||
GstEncodingProfile *profile);
|
GstEncodingProfile *profile);
|
||||||
const GList *gst_encoding_container_profile_get_profiles (GstEncodingContainerProfile *profile);
|
const GList * gst_encoding_container_profile_get_profiles (GstEncodingContainerProfile *profile);
|
||||||
|
|
||||||
|
|
||||||
GstEncodingContainerProfile * gst_encoding_container_profile_new (const gchar *name,
|
GstEncodingContainerProfile * gst_encoding_container_profile_new (const gchar *name,
|
||||||
|
|
|
@ -115,32 +115,34 @@ GType gst_encoding_target_get_type (void);
|
||||||
#define gst_encoding_target_ref(target) \
|
#define gst_encoding_target_ref(target) \
|
||||||
(g_object_ref ((GObject*) target))
|
(g_object_ref ((GObject*) target))
|
||||||
|
|
||||||
GstEncodingTarget *
|
GstEncodingTarget * gst_encoding_target_new (const gchar *name,
|
||||||
gst_encoding_target_new (const gchar *name, const gchar *category,
|
const gchar *category,
|
||||||
const gchar *description, const GList *profiles);
|
const gchar *description,
|
||||||
const gchar *gst_encoding_target_get_name (GstEncodingTarget *target);
|
const GList *profiles);
|
||||||
const gchar *gst_encoding_target_get_category (GstEncodingTarget *target);
|
|
||||||
const gchar *gst_encoding_target_get_description (GstEncodingTarget *target);
|
const gchar * gst_encoding_target_get_name (GstEncodingTarget *target);
|
||||||
const GList *gst_encoding_target_get_profiles (GstEncodingTarget *target);
|
const gchar * gst_encoding_target_get_category (GstEncodingTarget *target);
|
||||||
GstEncodingProfile *gst_encoding_target_get_profile (GstEncodingTarget *target,
|
const gchar * gst_encoding_target_get_description (GstEncodingTarget *target);
|
||||||
|
const GList * gst_encoding_target_get_profiles (GstEncodingTarget *target);
|
||||||
|
GstEncodingProfile * gst_encoding_target_get_profile (GstEncodingTarget *target,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
|
|
||||||
gboolean
|
gboolean gst_encoding_target_add_profile (GstEncodingTarget *target,
|
||||||
gst_encoding_target_add_profile (GstEncodingTarget *target, GstEncodingProfile *profile);
|
GstEncodingProfile *profile);
|
||||||
|
|
||||||
gboolean gst_encoding_target_save (GstEncodingTarget *target,
|
gboolean gst_encoding_target_save (GstEncodingTarget *target,
|
||||||
GError **error);
|
GError **error);
|
||||||
gboolean gst_encoding_target_save_to_file (GstEncodingTarget *target,
|
gboolean gst_encoding_target_save_to_file (GstEncodingTarget *target,
|
||||||
const gchar *filepath,
|
const gchar *filepath,
|
||||||
GError **error);
|
GError **error);
|
||||||
GstEncodingTarget *gst_encoding_target_load (const gchar *name,
|
GstEncodingTarget * gst_encoding_target_load (const gchar *name,
|
||||||
const gchar *category,
|
const gchar *category,
|
||||||
GError **error);
|
GError **error);
|
||||||
GstEncodingTarget *gst_encoding_target_load_from_file (const gchar *filepath,
|
GstEncodingTarget * gst_encoding_target_load_from_file (const gchar *filepath,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
GList *gst_encoding_list_available_categories (void);
|
GList * gst_encoding_list_available_categories (void);
|
||||||
GList *gst_encoding_list_all_targets (const gchar * categoryname);
|
GList * gst_encoding_list_all_targets (const gchar * categoryname);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
|
|
@ -27,12 +27,16 @@ struct _GstDiscovererStreamInfo {
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
GstTagList *tags;
|
GstTagList *tags;
|
||||||
GstStructure *misc;
|
GstStructure *misc;
|
||||||
|
|
||||||
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstDiscovererContainerInfo {
|
struct _GstDiscovererContainerInfo {
|
||||||
GstDiscovererStreamInfo parent;
|
GstDiscovererStreamInfo parent;
|
||||||
|
|
||||||
GList *streams;
|
GList *streams;
|
||||||
|
|
||||||
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstDiscovererAudioInfo {
|
struct _GstDiscovererAudioInfo {
|
||||||
|
@ -46,6 +50,8 @@ struct _GstDiscovererAudioInfo {
|
||||||
guint max_bitrate;
|
guint max_bitrate;
|
||||||
|
|
||||||
gchar *language;
|
gchar *language;
|
||||||
|
|
||||||
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstDiscovererVideoInfo {
|
struct _GstDiscovererVideoInfo {
|
||||||
|
@ -64,12 +70,16 @@ struct _GstDiscovererVideoInfo {
|
||||||
guint max_bitrate;
|
guint max_bitrate;
|
||||||
|
|
||||||
gboolean is_image;
|
gboolean is_image;
|
||||||
|
|
||||||
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstDiscovererSubtitleInfo {
|
struct _GstDiscovererSubtitleInfo {
|
||||||
GstDiscovererStreamInfo parent;
|
GstDiscovererStreamInfo parent;
|
||||||
|
|
||||||
gchar *language;
|
gchar *language;
|
||||||
|
|
||||||
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstDiscovererInfo {
|
struct _GstDiscovererInfo {
|
||||||
|
@ -87,6 +97,8 @@ struct _GstDiscovererInfo {
|
||||||
GstStructure *misc;
|
GstStructure *misc;
|
||||||
GstTagList *tags;
|
GstTagList *tags;
|
||||||
gboolean seekable;
|
gboolean seekable;
|
||||||
|
|
||||||
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
/* missing-plugins.c */
|
/* missing-plugins.c */
|
||||||
|
|
Loading…
Reference in a new issue