Use util_clip_triangle() in pan_item_tri_new()
[geeqie.git] / src / jpeg_parser.h
diff --git a/src/jpeg_parser.h b/src/jpeg_parser.h
deleted file mode 100644 (file)
index f7d0a6e..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * Geeqie
- * (C) 2004 John Ellis
- * Copyright (C) 2008 - 2010 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
-
-#define JPEG_MARKER            0xFF
-#define JPEG_MARKER_SOI                0xD8
-#define JPEG_MARKER_EOI                0xD9
-#define JPEG_MARKER_APP1       0xE1
-#define JPEG_MARKER_APP2       0xE2
-
-/* jpeg container format:
-     all data markers start with 0XFF
-     2 byte long file start and end markers: 0xFFD8(SOI) and 0XFFD9(EOI)
-     4 byte long data segment markers in format: 0xFFTTSSSSNNN...
-       FF:   1 byte standard marker identifier
-       TT:   1 byte data type
-       SSSS: 2 bytes in Motorola byte alignment for length of the data.
-            This value includes these 2 bytes in the count, making actual
-            length of NN... == SSSS - 2.
-       NNN.: the data in this segment
- */
-
-gboolean jpeg_segment_find(guchar *data, guint size,
-                           guchar app_marker, const gchar *magic, guint magic_len,
-                           guint *seg_offset, guint *seg_length);
-
-
-typedef struct _MPOData MPOData;
-typedef struct _MPOEntry MPOEntry;
-
-struct _MPOEntry {
-       guint type_code;
-       gboolean representative;
-       gboolean dependent_child;
-       gboolean dependent_parent;
-       guint offset;
-       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;
-
-};
-
-
-struct _MPOData {
-        guint mpo_offset;
-
-       guint version;
-       guint num_images;
-       MPOEntry *images;
-};
-
-MPOData* jpeg_get_mpo_data(guchar *data, guint size);
-void jpeg_mpo_data_free(MPOData *mpo);
-
-#endif
\ No newline at end of file