Debian Codegraph @

src/com/drew/metadata/exif/makernotes/ReconyxHyperFire2MakernoteDirectory.java

raw symbols SCIP
1 /*
2 * Copyright 2002-2019 Drew Noakes and contributors
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 * More information about this project is available at:
17 *
18 * https://drewnoakes.com/code/exif/
19 * https://github.com/drewnoakes/metadata-extractor
20 */
21
22 package com.drew.metadata.exif.makernotes;
23
24 import com.drew.lang.annotations.NotNull;
25 import com.drew.metadata.Directory;
26
27 import java.util.HashMap;
28
29 /**
30 * Describes tags specific to Reconyx HyperFire 2 cameras.
31 */
32 @SuppressWarnings("WeakerAccess")
33 public class ReconyxHyperFire2MakernoteDirectory extends Directory
34 {
35 public static final int TAG_FILE_NUMBER = 16;
36 public static final int TAG_DIRECTORY_NUMBER = 18;
37 public static final int TAG_FIRMWARE_VERSION = 42;
38 public static final int TAG_FIRMWARE_DATE = 48;
39 public static final int TAG_TRIGGER_MODE = 52;
40 public static final int TAG_SEQUENCE = 54;
41 public static final int TAG_EVENT_NUMBER = 58;
42 public static final int TAG_DATE_TIME_ORIGINAL = 62;
43 public static final int TAG_DAY_OF_WEEK = 74;
44 public static final int TAG_MOON_PHASE = 76;
45 public static final int TAG_AMBIENT_TEMPERATURE_FAHRENHEIT = 78;
46 public static final int TAG_AMBIENT_TEMPERATURE = 80;
47 public static final int TAG_CONTRAST = 82;
48 public static final int TAG_BRIGHTNESS = 84;
49 public static final int TAG_SHARPNESS = 86;
50 public static final int TAG_SATURATION = 88;
51 public static final int TAG_FLASH = 90;
52 public static final int TAG_AMBIENT_INFRARED = 92;
53 public static final int TAG_AMBIENT_LIGHT = 94;
54 public static final int TAG_MOTION_SENSITIVITY = 96;
55 public static final int TAG_BATTERY_VOLTAGE = 98;
56 public static final int TAG_BATTERY_VOLTAGE_AVG = 100;
57 public static final int TAG_BATTERY_TYPE = 102;
58 public static final int TAG_USER_LABEL = 104;
59 public static final int TAG_SERIAL_NUMBER = 126;
60
61 @NotNull
62 private static final HashMap<Integer, String> _tagNameMap = new HashMap<Integer, String>();
63
64 static
65 {
66 _tagNameMap.put(TAG_FILE_NUMBER, "File Number");
67 _tagNameMap.put(TAG_DIRECTORY_NUMBER, "Directory Number");
68 _tagNameMap.put(TAG_FIRMWARE_VERSION, "Firmware Version");
69 _tagNameMap.put(TAG_FIRMWARE_DATE, "Firmware Date");
70 _tagNameMap.put(TAG_TRIGGER_MODE, "Trigger Mode");
71 _tagNameMap.put(TAG_SEQUENCE, "Sequence");
72 _tagNameMap.put(TAG_EVENT_NUMBER, "Event Number");
73 _tagNameMap.put(TAG_DATE_TIME_ORIGINAL, "Date/Time Original");
74 _tagNameMap.put(TAG_DAY_OF_WEEK, "DaY of Week");
75 _tagNameMap.put(TAG_MOON_PHASE, "Moon Phase");
76 _tagNameMap.put(TAG_AMBIENT_TEMPERATURE_FAHRENHEIT, "Ambient Temperature Fahrenheit");
77 _tagNameMap.put(TAG_AMBIENT_TEMPERATURE, "Ambient Temperature");
78 _tagNameMap.put(TAG_CONTRAST, "Contrast");
79 _tagNameMap.put(TAG_BRIGHTNESS, "Brightness");
80 _tagNameMap.put(TAG_SHARPNESS, "Sharpness");
81 _tagNameMap.put(TAG_SATURATION, "Saturation");
82 _tagNameMap.put(TAG_FLASH, "Flash");
83 _tagNameMap.put(TAG_AMBIENT_INFRARED, "Ambient Infrared");
84 _tagNameMap.put(TAG_AMBIENT_LIGHT, "Ambient Light");
85 _tagNameMap.put(TAG_MOTION_SENSITIVITY, "Motion Sensitivity");
86 _tagNameMap.put(TAG_BATTERY_VOLTAGE, "Battery Voltage");
87 _tagNameMap.put(TAG_BATTERY_VOLTAGE_AVG, "Battery Voltage Average");
88 _tagNameMap.put(TAG_BATTERY_TYPE, "Battery Type");
89 _tagNameMap.put(TAG_USER_LABEL, "User Label");
90 _tagNameMap.put(TAG_SERIAL_NUMBER, "Serial Number");
91 }
92
93 public ReconyxHyperFire2MakernoteDirectory()
94 {
95 this.setDescriptor(new ReconyxHyperFire2MakernoteDescriptor(this));
96 }
97
98 @Override
99 @NotNull
100 public String getName()
101 {
102 return "Reconyx HyperFire 2 Makernote";
103 }
104
105 @Override
106 @NotNull
107 protected HashMap<Integer, String> getTagNameMap()
108 {
109 return _tagNameMap;
110 }
111 }