Major rework of headers inclusion style on behalf of lebedev.ri (issue 1079)

This commit is contained in:
michael
2011-12-17 12:08:57 -05:00
parent d5c07f18b5
commit bf71a01ca5
303 changed files with 1180 additions and 6702 deletions

View File

@@ -19,13 +19,13 @@
#ifndef _MEXIF3_
#define _MEXIF3_
#include <stdio.h>
#include <cstdio>
#include <vector>
#include <map>
#include <string>
#include <sstream>
#include <stdlib.h>
#include <math.h>
#include <cstdlib>
#include <cmath>
namespace rtexif {
@@ -34,6 +34,8 @@ enum ActionCode {DONTWRITE=0, WRITE=1, SYSTEM=2};
enum ByteOrder {INTEL=0x4949, MOTOROLA=0x4D4D};
enum MNKind {NOMK, IFD, HEADERIFD, NIKON3, OLYMPUS2, FUJI,TABLESUBDIR};
bool extractLensInfo(std::string &fullname,double &minFocal, double &maxFocal, double &maxApertureAtMinFocal, double &maxApertureAtMaxFocal);
struct TIFFHeader {
unsigned short byteOrder;
@@ -339,7 +341,6 @@ inline void sset2 (unsigned short v, unsigned char *s, ByteOrder order);
inline void sset4 (int v, unsigned char *s, ByteOrder order);
inline float int_to_float (int i);
inline short int int2_to_signed (short unsigned int i);
bool extractLensInfo(std::string &fullname,double &minFocal, double &maxFocal, double &maxApertureAtMinFocal, double &maxApertureAtMaxFocal);
extern const TagAttrib exifAttribs[];
extern const TagAttrib gpsAttribs[];