diff options
author | Edgard Lima <edgard.lima@indt.org.br> | 2007-11-02 16:50:42 +0000 |
---|---|---|
committer | Edgard Lima <edgard.lima@indt.org.br> | 2007-11-02 16:50:42 +0000 |
commit | f17824d0d1c0c30815cbcf3bcae7997773e367c5 (patch) | |
tree | 39e0b76ca41fae844d906e42bdab3034a3129215 /ext/metadata/metadataparsejpeg.h | |
parent | 05e1fdf681397cc6b3f5ed115cf4e3519272f2b2 (diff) | |
download | gst-plugins-bad-f17824d0d1c0c30815cbcf3bcae7997773e367c5.tar.gz gst-plugins-bad-f17824d0d1c0c30815cbcf3bcae7997773e367c5.tar.bz2 gst-plugins-bad-f17824d0d1c0c30815cbcf3bcae7997773e367c5.zip |
Added support for PNG/XMP. Indentation. And fixed pull mode to parse the file.
Original commit message from CVS:
Added support for PNG/XMP. Indentation. And fixed pull mode to parse the file.
Diffstat (limited to 'ext/metadata/metadataparsejpeg.h')
-rw-r--r-- | ext/metadata/metadataparsejpeg.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/metadata/metadataparsejpeg.h b/ext/metadata/metadataparsejpeg.h index 67e5ac0e..d7f1660d 100644 --- a/ext/metadata/metadataparsejpeg.h +++ b/ext/metadata/metadataparsejpeg.h @@ -48,7 +48,8 @@ G_BEGIN_DECLS -typedef enum _tag_JpegState { +typedef enum _tag_JpegState +{ JPEG_NULL, JPEG_READING, JPEG_JUMPING, @@ -59,7 +60,8 @@ typedef enum _tag_JpegState { } JpegState; -typedef struct _tag_JpegData { +typedef struct _tag_JpegData +{ JpegState state; GstAdapter **adpt_exif; GstAdapter **adpt_iptc; @@ -69,17 +71,15 @@ typedef struct _tag_JpegData { extern void -metadataparse_jpeg_init(JpegData *jpeg_data, GstAdapter **adpt_exif, GstAdapter **adpt_iptc, GstAdapter **adpt_xmp); +metadataparse_jpeg_init (JpegData * jpeg_data, GstAdapter ** adpt_exif, + GstAdapter ** adpt_iptc, GstAdapter ** adpt_xmp); -extern void -metadataparse_jpeg_dispose(JpegData *jpeg_data); +extern void metadataparse_jpeg_dispose (JpegData * jpeg_data); int -metadataparse_jpeg_parse(JpegData *jpeg_data, guint8 *buf, - guint32 *bufsize, guint8 ** next_start, - guint32 * next_size); +metadataparse_jpeg_parse (JpegData * jpeg_data, guint8 * buf, + guint32 * bufsize, guint8 ** next_start, guint32 * next_size); G_END_DECLS - #endif /* __METADATAPARSE_JPEG_H__ */ |