Add missing vim modeline.
[geeqie.git] / src / jpeg_parser.h
index 2c3ad8f..7d572dc 100644 (file)
@@ -1,3 +1,15 @@
+/*
+ * Geeqie
+ * (C) 2004 John Ellis
+ * Copyright (C) 2008 - 2012 The Geeqie Team
+ *
+ * Author: Vladimir Nadvornik
+ *
+ * This software is released under the GNU General Public License (GNU GPL).
+ * Please read the included file COPYING for more information.
+ * This software comes with no warranty of any kind, use at your own risk!
+ */
+
 #ifndef JPEG_PARSER_H
 #define JPEG_PARSER_H
 
@@ -19,7 +31,7 @@
        NNN.: the data in this segment
  */
 
-gboolean jpeg_segment_find(guchar *data, guint size,
+gboolean jpeg_segment_find(const guchar *data, guint size,
                            guchar app_marker, const gchar *magic, guint magic_len,
                            guint *seg_offset, guint *seg_length);
 
@@ -36,6 +48,23 @@ struct _MPOEntry {
        guint length;
        guint dep1;
        guint dep2;
+
+       guint MPFVersion;
+       guint MPIndividualNum;  
+       guint PanOrientation;   
+       double PanOverlap_H;    
+       double PanOverlap_V;    
+       guint BaseViewpointNum; 
+       double ConvergenceAngle;
+       double BaselineLength;
+       double VerticalDivergence;
+       double AxisDistance_X;
+       double AxisDistance_Y;
+       double AxisDistance_Z;
+       double YawAngle;
+       double PitchAngle;
+       double RollAngle;
+
 };
 
 
@@ -47,7 +76,9 @@ struct _MPOData {
        MPOEntry *images;
 };
 
-MPOData* jpeg_get_mpo_data(guchar *data, guint size);
+MPOData* jpeg_get_mpo_data(const guchar *data, guint size);
 void jpeg_mpo_data_free(MPOData *mpo);
 
-#endif
\ No newline at end of file
+#endif
+
+/* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */