File: x3f_datadefs.h

package info (click to toggle)
exifprobe 2.0.1%2Bgit20170416.3c2b769-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,900 kB
  • sloc: ansic: 34,799; sh: 413; makefile: 82
file content (70 lines) | stat: -rw-r--r-- 2,135 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
/*          EXIFPROBE - TIFF/JPEG/EXIF image file probe               */
/* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
/* Copyright (C) 2002 by Duane H. Hesser. All rights reserved.        */
/*                                                                    */
/* See the file LICENSE.EXIFPROBE for terms of use.                   */
/* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */

/* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
/* @(#) $Id: x3f_datadefs.h,v 1.1 2005/06/09 02:20:32 alex Exp $" */
/* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */

#ifndef X3F_DATADEFS_INCLUDED
#define X3F_DATADEFS_INCLUDED


struct x3f_header {
    unsigned long magic;
    unsigned short version_minor;
    unsigned short version_major;
    char unique_id[16];
    unsigned long mark_bits;
    unsigned long image_width;
    unsigned long image_height;
    unsigned long image_rotation;
    char white_balance[32];
    char extended_data_types[32];
    unsigned long extended_data_values[32];
};

struct x3f_direntry {
    unsigned long section_id;
    unsigned long data_offset;
    unsigned long data_length;
    unsigned long data_type;
};

struct x3f_imag_header {
    unsigned long section_id;
    unsigned short version_minor;
    unsigned short version_major;
    unsigned long image_type;
    unsigned long image_format;
    unsigned long image_width;
    unsigned long image_height;
    unsigned long image_rowsize;
};

struct x3f_prop_header {
    unsigned long section_id;
    unsigned short version_minor;
    unsigned short version_major;
    unsigned long num_entries;
    unsigned long char_format;
    unsigned long reserved;
    unsigned long entry_length;
};

struct x3f_camf_header {
    unsigned long section_id;
    unsigned short version_minor;
    unsigned short version_major;
    unsigned long item1;
    unsigned long item2;
    unsigned long item3;
    unsigned long item4;
    unsigned long item5;
};
    
#endif /* X3F_DATADEFS_INCLUDED */