diff options
author | Edgard Lima <edgard.lima@indt.org.br> | 2008-01-30 12:56:51 +0000 |
---|---|---|
committer | Edgard Lima <edgard.lima@indt.org.br> | 2008-01-30 12:56:51 +0000 |
commit | 1159638102e1669bbf0e5f81fb89069b032a2410 (patch) | |
tree | 3ff42c1bae9a31b087f4db9d65881870624dfff9 /ext/metadata/gstbasemetadata.h | |
parent | 7460bb6d910201c1b97db893e1d5a0186366717e (diff) | |
download | gst-plugins-bad-1159638102e1669bbf0e5f81fb89069b032a2410.tar.gz gst-plugins-bad-1159638102e1669bbf0e5f81fb89069b032a2410.tar.bz2 gst-plugins-bad-1159638102e1669bbf0e5f81fb89069b032a2410.zip |
Add documentation. Fix test app compilation. Fix pull mode.
Original commit message from CVS:
Add documentation. Fix test app compilation. Fix pull mode.
Diffstat (limited to 'ext/metadata/gstbasemetadata.h')
-rw-r--r-- | ext/metadata/gstbasemetadata.h | 54 |
1 files changed, 43 insertions, 11 deletions
diff --git a/ext/metadata/gstbasemetadata.h b/ext/metadata/gstbasemetadata.h index 9a3c08ce..427496c0 100644 --- a/ext/metadata/gstbasemetadata.h +++ b/ext/metadata/gstbasemetadata.h @@ -73,27 +73,57 @@ typedef enum _tag_BaseMetadataType { } BaseMetadataType; -/** +/* * GST_BASE_METADATA_SRC_PAD: * @obj: base metadata instance * * Gives the pointer to the #GstPad object of the element. */ -#define GST_BASE_METADATA_SRC_PAD(obj) (GST_BASE_METADATA_CAST (obj)->srcpad) +#define GST_BASE_METADATA_SRC_PAD(obj) (GST_BASE_METADATA_CAST (obj)->srcpad) -/** +/* * GST_BASE_METADATA_SINK_PAD: * @obj: base metadata instance * * Gives the pointer to the #GstPad object of the element. */ -#define GST_BASE_METADATA_SINK_PAD(obj) (GST_BASE_METADATA_CAST (obj)->sinkpad) +#define GST_BASE_METADATA_SINK_PAD(obj) (GST_BASE_METADATA_CAST (obj)->sinkpad) + +/* + * GST_BASE_METADATA_EXIF_ADAPTER + * @obj: base metadata instance + * + * Gives the pointer to the EXIF #GstAdapter of the element. + */ +#define GST_BASE_METADATA_EXIF_ADAPTER(obj) \ + (GST_BASE_METADATA_CAST (obj)->metadata->exif_adapter) + +/* + * GST_BASE_METADATA_IPTC_ADAPTER + * @obj: base metadata instance + * + * Gives the pointer to the IPTC #GstAdapter of the element. + */ +#define GST_BASE_METADATA_IPTC_ADAPTER(obj) \ + (GST_BASE_METADATA_CAST (obj)->metadata->iptc_adapter) -#define GST_BASE_METADATA_EXIF_ADAPTER(obj) (GST_BASE_METADATA_CAST (obj)->metadata->exif_adapter) -#define GST_BASE_METADATA_IPTC_ADAPTER(obj) (GST_BASE_METADATA_CAST (obj)->metadata->iptc_adapter) -#define GST_BASE_METADATA_XMP_ADAPTER(obj) (GST_BASE_METADATA_CAST (obj)->metadata->xmp_adapter) +/* + * GST_BASE_METADATA_XMP_ADAPTER + * @obj: base metadata instance + * + * Gives the pointer to the XMP #GstAdapter of the element. + */ +#define GST_BASE_METADATA_XMP_ADAPTER(obj) \ + (GST_BASE_METADATA_CAST (obj)->metadata->xmp_adapter) -#define GST_BASE_METADATA_IMG_TYPE(obj) (GST_BASE_METADATA_CAST (obj)->img_type) +/* + * GST_BASE_METADATA_IMG_TYPE + * @obj: base metadata instance + * + * Gives the type indentified by the parser of the element. + */ +#define GST_BASE_METADATA_IMG_TYPE(obj) \ + (GST_BASE_METADATA_CAST (obj)->img_type) typedef enum _tag_MetadataState @@ -127,7 +157,7 @@ struct _GstBaseMetadata MetaOptions options; - gboolean need_processing; /* still need some action before send first buffer */ + gboolean need_processing; /* still need a action before send first buffer */ GstAdapter *adapter_parsing; GstAdapter *adapter_holding; @@ -161,10 +191,12 @@ extern GType gst_base_metadata_get_type (void); extern void -gst_base_metadata_set_option_flag(GstBaseMetadata *base, const MetaOptions options); +gst_base_metadata_set_option_flag(GstBaseMetadata *base, + const MetaOptions options); extern void -gst_base_metadata_unset_option_flag(GstBaseMetadata *base, const MetaOptions options); +gst_base_metadata_unset_option_flag(GstBaseMetadata *base, + const MetaOptions options); extern MetaOptions gst_base_metadata_get_option_flag(const GstBaseMetadata *base); |