source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/SURF-V1.0.8/os_mapping.h @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 1.5 KB
Line 
1/*
2 * Speeded-Up Robust Features (SURF)
3 * http://people.ee.ethz.ch/~surf
4 *
5 * Authors: Herbert Bay, Andreas Ess, Geert Willems
6 * Windows port by Stefan Saur
7 *
8 * Copyright (2006): ETH Zurich, Switzerland
9 * Katholieke Universiteit Leuven, Belgium
10 * All rights reserved.
11 *
12 * For details, see the paper:
13 * Herbert Bay,  Tinne Tuytelaars,  Luc Van Gool,
14 *  "SURF: Speeded Up Robust Features"
15 * Proceedings of the ninth European Conference on Computer Vision, May 2006
16 *
17 * Permission to use, copy, modify, and distribute this software and
18 * its documentation for educational, research, and non-commercial
19 * purposes, without fee and without a signed licensing agreement, is
20 * hereby granted, provided that the above copyright notice and this
21 * paragraph appear in all copies modifications, and distributions.
22 *
23 * Any commercial use or any redistribution of this software
24 * requires a license from one of the above mentioned establishments.
25 *
26 * For further details, contact Andreas Ess (aess@vision.ee.ethz.ch).
27 */
28
29#ifndef __os_mapping_h
30#define __os_mapping_h
31
32#ifdef WIN32
33#include <windows.h>
34#else
35#include <sys/types.h>
36#include <sys/time.h>
37#endif
38
39namespace osmapping {
40
41#ifdef  __cplusplus
42extern "C" {
43#endif
44
45
46        #ifdef WIN32
47        typedef DWORD os_TIME;
48        #else
49        typedef struct timeval os_TIME;
50        #endif
51
52        void os_GetTime(os_TIME *time);
53        int os_TimeDiff(os_TIME *time1, os_TIME *time2);
54
55
56#ifdef  __cplusplus
57}
58#endif
59}
60
61#endif
62
Note: See TracBrowser for help on using the repository browser.