File indexing completed on 2025-01-05 03:56:45

0001 /* -*- C++ -*-
0002  * File: internal/libraw_cameraids.h
0003  * Copyright 2008-2021 LibRaw LLC (info@libraw.org)
0004  * Created: Sat Aug  17, 2020
0005 
0006 LibRaw is free software; you can redistribute it and/or modify
0007 it under the terms of the one of two licenses as you choose:
0008 
0009 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1
0010    (See file LICENSE.LGPL provided in LibRaw distribution archive for details).
0011 
0012 2. COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
0013    (See file LICENSE.CDDL provided in LibRaw distribution archive for details).
0014 
0015  */
0016 
0017 #ifndef LIBRAW_CONST_H
0018 #define LIBRAW_CONST_H
0019 
0020 #define CanonID_EOS_M50            0x00000412ULL
0021 #define CanonID_EOS_M6_Mark_II     0x00000811ULL
0022 #define CanonID_EOS_M200           0x00000812ULL
0023 #define CanonID_EOS_D30            0x01140000ULL
0024 #define CanonID_EOS_D60            0x01668000ULL
0025 #define CanonID_EOS_M3             0x03740000ULL
0026 #define CanonID_EOS_M10            0x03840000ULL
0027 #define CanonID_EOS_M5             0x03940000ULL
0028 #define CanonID_EOS_M100           0x03980000ULL
0029 #define CanonID_EOS_M6             0x04070000ULL
0030 #define CanonID_EOS_1D            (0x80000000ULL + 0x001ULL)
0031 #define CanonID_EOS_1Ds           (0x80000000ULL + 0x167ULL)
0032 #define CanonID_EOS_10D           (0x80000000ULL + 0x168ULL)
0033 #define CanonID_EOS_1D_Mark_III   (0x80000000ULL + 0x169ULL)
0034 #define CanonID_EOS_300D          (0x80000000ULL + 0x170ULL)
0035 #define CanonID_EOS_1D_Mark_II    (0x80000000ULL + 0x174ULL)
0036 #define CanonID_EOS_20D           (0x80000000ULL + 0x175ULL)
0037 #define CanonID_EOS_450D          (0x80000000ULL + 0x176ULL)
0038 #define CanonID_EOS_1Ds_Mark_II   (0x80000000ULL + 0x188ULL)
0039 #define CanonID_EOS_350D          (0x80000000ULL + 0x189ULL)
0040 #define CanonID_EOS_40D           (0x80000000ULL + 0x190ULL)
0041 #define CanonID_EOS_5D            (0x80000000ULL + 0x213ULL)
0042 #define CanonID_EOS_1Ds_Mark_III  (0x80000000ULL + 0x215ULL)
0043 #define CanonID_EOS_5D_Mark_II    (0x80000000ULL + 0x218ULL)
0044 #define CanonID_EOS_1D_Mark_II_N  (0x80000000ULL + 0x232ULL)
0045 #define CanonID_EOS_30D           (0x80000000ULL + 0x234ULL)
0046 #define CanonID_EOS_400D          (0x80000000ULL + 0x236ULL)
0047 #define CanonID_EOS_7D            (0x80000000ULL + 0x250ULL)
0048 #define CanonID_EOS_500D          (0x80000000ULL + 0x252ULL)
0049 #define CanonID_EOS_1000D         (0x80000000ULL + 0x254ULL)
0050 #define CanonID_EOS_50D           (0x80000000ULL + 0x261ULL)
0051 #define CanonID_EOS_1D_X          (0x80000000ULL + 0x269ULL)
0052 #define CanonID_EOS_550D          (0x80000000ULL + 0x270ULL)
0053 #define CanonID_EOS_1D_Mark_IV    (0x80000000ULL + 0x281ULL)
0054 #define CanonID_EOS_5D_Mark_III   (0x80000000ULL + 0x285ULL)
0055 #define CanonID_EOS_600D          (0x80000000ULL + 0x286ULL)
0056 #define CanonID_EOS_60D           (0x80000000ULL + 0x287ULL)
0057 #define CanonID_EOS_1100D         (0x80000000ULL + 0x288ULL)
0058 #define CanonID_EOS_7D_Mark_II    (0x80000000ULL + 0x289ULL)
0059 #define CanonID_EOS_650D          (0x80000000ULL + 0x301ULL)
0060 #define CanonID_EOS_6D            (0x80000000ULL + 0x302ULL)
0061 #define CanonID_EOS_1D_C          (0x80000000ULL + 0x324ULL)
0062 #define CanonID_EOS_70D           (0x80000000ULL + 0x325ULL)
0063 #define CanonID_EOS_700D          (0x80000000ULL + 0x326ULL)
0064 #define CanonID_EOS_1200D         (0x80000000ULL + 0x327ULL)
0065 #define CanonID_EOS_1D_X_Mark_II  (0x80000000ULL + 0x328ULL)
0066 #define CanonID_EOS_M             (0x80000000ULL + 0x331ULL)
0067 #define CanonID_EOS_100D          (0x80000000ULL + 0x346ULL)
0068 #define CanonID_EOS_760D          (0x80000000ULL + 0x347ULL)
0069 #define CanonID_EOS_5D_Mark_IV    (0x80000000ULL + 0x349ULL)
0070 #define CanonID_EOS_80D           (0x80000000ULL + 0x350ULL)
0071 #define CanonID_EOS_M2            (0x80000000ULL + 0x355ULL)
0072 #define CanonID_EOS_5DS           (0x80000000ULL + 0x382ULL)
0073 #define CanonID_EOS_750D          (0x80000000ULL + 0x393ULL)
0074 #define CanonID_EOS_5DS_R         (0x80000000ULL + 0x401ULL)
0075 #define CanonID_EOS_1300D         (0x80000000ULL + 0x404ULL)
0076 #define CanonID_EOS_800D          (0x80000000ULL + 0x405ULL)
0077 #define CanonID_EOS_6D_Mark_II    (0x80000000ULL + 0x406ULL)
0078 #define CanonID_EOS_77D           (0x80000000ULL + 0x408ULL)
0079 #define CanonID_EOS_200D          (0x80000000ULL + 0x417ULL)
0080 #define CanonID_EOS_R5            (0x80000000ULL + 0x421ULL)
0081 #define CanonID_EOS_3000D         (0x80000000ULL + 0x422ULL)
0082 #define CanonID_EOS_R             (0x80000000ULL + 0x424ULL)
0083 #define CanonID_EOS_1D_X_Mark_III (0x80000000ULL + 0x428ULL)
0084 #define CanonID_EOS_1500D         (0x80000000ULL + 0x432ULL)
0085 #define CanonID_EOS_RP            (0x80000000ULL + 0x433ULL)
0086 #define CanonID_EOS_850D          (0x80000000ULL + 0x435ULL)
0087 #define CanonID_EOS_250D          (0x80000000ULL + 0x436ULL)
0088 #define CanonID_EOS_90D           (0x80000000ULL + 0x437ULL)
0089 #define CanonID_EOS_R3            (0x80000000ULL + 0x450ULL)
0090 #define CanonID_EOS_R6            (0x80000000ULL + 0x453ULL)
0091 #define CanonID_EOS_R7            (0x80000000ULL + 0x464ULL)
0092 #define CanonID_EOS_R10           (0x80000000ULL + 0x465ULL)
0093 #define CanonID_EOS_M50_Mark_II   (0x80000000ULL + 0x468ULL)
0094 
0095 // CanonID_EOS_D2000C after Canon's TIFF2CR2 convertor:
0096 #define CanonID_EOS_D2000C        (0x80000000ULL + 0x520ULL)
0097 // CanonID_EOS_D6000C id after Canon's TIFF2CR2 convertor:
0098 #define CanonID_EOS_D6000C        (0x80000000ULL + 0x560ULL)
0099 
0100 #define OlyID_str2hex(str) ((unsigned long long)str[0]<<32 | str[1]<<24 | str[2]<<16 | str[3]<<8 | str[4])
0101 #define OlyID_E_20            OlyID_str2hex("D4029")
0102 #define OlyID_E_1             OlyID_str2hex("D4040")
0103 #define OlyID_E_300           OlyID_str2hex("D4041")
0104 #define OlyID_SP_550UZ        OlyID_str2hex("D4321")
0105 #define OlyID_SP_510UZ        OlyID_str2hex("D4322")
0106 #define OlyID_SP_560UZ        OlyID_str2hex("D4355")
0107 #define OlyID_SP_570UZ        OlyID_str2hex("D4364")
0108 #define OlyID_SP_565UZ        OlyID_str2hex("D4374")
0109 #define OlyID_XZ_1            OlyID_str2hex("D4401")
0110 #define OlyID_XZ_2            OlyID_str2hex("D4531")
0111 #define OlyID_XZ_10           OlyID_str2hex("D4546")
0112 #define OlyID_STYLUS_1        OlyID_str2hex("D4572")
0113 #define OlyID_SH_2            OlyID_str2hex("D4585")
0114 #define OlyID_TG_4            OlyID_str2hex("D4586")
0115 #define OlyID_TG_5            OlyID_str2hex("D4593")
0116 #define OlyID_TG_6            OlyID_str2hex("D4603")
0117 #define OlyID_E_10            OlyID_str2hex("D4842")
0118 #define OlyID_AIR_A01         OlyID_str2hex("K0055")
0119 #define OlyID_NORMA           OlyID_str2hex("NORMA")
0120 #define OlyID_E_330           OlyID_str2hex("S0003")
0121 #define OlyID_E_500           OlyID_str2hex("S0004")
0122 #define OlyID_E_400           OlyID_str2hex("S0009")
0123 #define OlyID_E_510           OlyID_str2hex("S0010")
0124 #define OlyID_E_3             OlyID_str2hex("S0011")
0125 #define OlyID_E_410           OlyID_str2hex("S0013")
0126 #define OlyID_E_420           OlyID_str2hex("S0016")
0127 #define OlyID_E_30            OlyID_str2hex("S0017")
0128 #define OlyID_E_520           OlyID_str2hex("S0018")
0129 #define OlyID_E_P1            OlyID_str2hex("S0019")
0130 #define OlyID_E_620           OlyID_str2hex("S0023")
0131 #define OlyID_E_P2            OlyID_str2hex("S0026")
0132 #define OlyID_E_PL1           OlyID_str2hex("S0027")
0133 #define OlyID_E_450           OlyID_str2hex("S0029")
0134 #define OlyID_E_600           OlyID_str2hex("S0030")
0135 #define OlyID_E_P3            OlyID_str2hex("S0032")
0136 #define OlyID_E_5             OlyID_str2hex("S0033")
0137 #define OlyID_E_PL2           OlyID_str2hex("S0034")
0138 #define OlyID_E_M5            OlyID_str2hex("S0036")
0139 #define OlyID_E_PL3           OlyID_str2hex("S0038")
0140 #define OlyID_E_PM1           OlyID_str2hex("S0039")
0141 #define OlyID_E_PL1s          OlyID_str2hex("S0040")
0142 #define OlyID_E_PL5           OlyID_str2hex("S0042")
0143 #define OlyID_E_PM2           OlyID_str2hex("S0043")
0144 #define OlyID_E_P5            OlyID_str2hex("S0044")
0145 #define OlyID_E_PL6           OlyID_str2hex("S0045")
0146 #define OlyID_E_PL7           OlyID_str2hex("S0046")
0147 #define OlyID_E_M1            OlyID_str2hex("S0047")
0148 #define OlyID_E_M10           OlyID_str2hex("S0051")
0149 #define OlyID_E_M5_Mark_II    OlyID_str2hex("S0052")
0150 #define OlyID_E_M10_Mark_II   OlyID_str2hex("S0059")
0151 #define OlyID_PEN_F           OlyID_str2hex("S0061")
0152 #define OlyID_E_PL8           OlyID_str2hex("S0065")
0153 #define OlyID_E_M1_Mark_II    OlyID_str2hex("S0067")
0154 #define OlyID_E_M10_Mark_III  OlyID_str2hex("S0068")
0155 #define OlyID_E_PL9           OlyID_str2hex("S0076")
0156 #define OlyID_E_M1X           OlyID_str2hex("S0080")
0157 #define OlyID_E_PL10          OlyID_str2hex("S0085")
0158 #define OlyID_E_M10_Mark_IV   OlyID_str2hex("S0088")
0159 #define OlyID_E_M5_Mark_III   OlyID_str2hex("S0089")
0160 #define OlyID_E_M1_Mark_III   OlyID_str2hex("S0092")
0161 #define OlyID_E_P7            OlyID_str2hex("S0093")
0162 #define OlyID_OM_1            OlyID_str2hex("S0095")
0163 #define OlyID_C_3030Z         OlyID_str2hex("SX351")
0164 #define OlyID_C_5050Z         OlyID_str2hex("SX558")
0165 #define OlyID_C_350Z          OlyID_str2hex("SX751")
0166 #define OlyID_C_740UZ         OlyID_str2hex("SX754")
0167 #define OlyID_C_5060WZ        OlyID_str2hex("SX756")
0168 #define OlyID_C_8080WZ        OlyID_str2hex("SX757")
0169 #define OlyID_C_770UZ         OlyID_str2hex("SX772")
0170 #define OlyID_C_7070WZ        OlyID_str2hex("SX851")
0171 #define OlyID_C_7000Z         OlyID_str2hex("SX852")
0172 #define OlyID_SP_500UZ        OlyID_str2hex("SX853")
0173 #define OlyID_SP_310          OlyID_str2hex("SX854")
0174 #define OlyID_SP_350          OlyID_str2hex("SX855")
0175 #define OlyID_SP_320          OlyID_str2hex("SX873")
0176 
0177 #define PentaxID_Optio_S      0x1296cULL
0178 #define PentaxID_Optio_S_V101 0x12971ULL
0179 #define PentaxID_staristD     0x12994ULL
0180 #define PentaxID_Optio_33WR   0x129c6ULL
0181 #define PentaxID_Optio_S4     0x129d5ULL
0182 #define PentaxID_Optio_750Z   0x12a66ULL
0183 #define PentaxID_staristDS    0x12aa2ULL
0184 #define PentaxID_staristDL    0x12b1aULL
0185 #define PentaxID_staristDS2   0x12b60ULL
0186 #define PentaxID_GX_1S        0x12b62ULL
0187 #define PentaxID_staristDL2   0x12b7eULL
0188 #define PentaxID_GX_1L        0x12b80ULL
0189 #define PentaxID_K100D        0x12b9cULL
0190 #define PentaxID_K110D        0x12b9dULL
0191 #define PentaxID_K100D_Super  0x12ba2ULL
0192 #define PentaxID_K10D         0x12c1eULL
0193 #define PentaxID_GX10         0x12c20ULL
0194 #define PentaxID_K20D         0x12cd2ULL
0195 #define PentaxID_GX20         0x12cd4ULL
0196 #define PentaxID_K200D        0x12cfaULL
0197 #define PentaxID_K2000        0x12d72ULL
0198 #define PentaxID_K_m          0x12d73ULL
0199 #define PentaxID_K_7          0x12db8ULL
0200 #define PentaxID_K_x          0x12dfeULL
0201 #define PentaxID_645D         0x12e08ULL
0202 #define PentaxID_K_r          0x12e6cULL
0203 #define PentaxID_K_5          0x12e76ULL
0204 #define PentaxID_Q            0x12ee4ULL
0205 #define PentaxID_K_01         0x12ef8ULL
0206 #define PentaxID_K_30         0x12f52ULL
0207 #define PentaxID_Q10          0x12f66ULL
0208 #define PentaxID_K_5_II       0x12f70ULL
0209 #define PentaxID_K_5_II_s     0x12f71ULL
0210 #define PentaxID_Q7           0x12f7aULL
0211 #define PentaxID_MX_1         0x12f84ULL
0212 #define PentaxID_K_50         0x12fb6ULL
0213 #define PentaxID_K_3          0x12fc0ULL
0214 #define PentaxID_K_500        0x12fcaULL
0215 #define PentaxID_645Z         0x13010ULL
0216 #define PentaxID_K_S1         0x1301aULL
0217 #define PentaxID_K_S2         0x13024ULL
0218 #define PentaxID_Q_S1         0x1302eULL
0219 #define PentaxID_K_1          0x13092ULL
0220 #define PentaxID_K_3_II       0x1309cULL
0221 #define PentaxID_GR_III       0x1320eULL
0222 #define PentaxID_K_70         0x13222ULL
0223 #define PentaxID_KP           0x1322cULL
0224 #define PentaxID_K_1_Mark_II  0x13240ULL
0225 #define PentaxID_K_3_III      0x13254ULL
0226 #define PentaxID_GR_IIIx      0x1329aULL
0227 
0228 #define SonyID_DSC_R1           0x002ULL
0229 #define SonyID_DSLR_A100        0x100ULL
0230 #define SonyID_DSLR_A900        0x101ULL
0231 #define SonyID_DSLR_A700        0x102ULL
0232 #define SonyID_DSLR_A200        0x103ULL
0233 #define SonyID_DSLR_A350        0x104ULL
0234 #define SonyID_DSLR_A300        0x105ULL
0235 #define SonyID_DSLR_A900_APSC   0x106ULL
0236 #define SonyID_DSLR_A380        0x107ULL
0237 #define SonyID_DSLR_A330        0x108ULL
0238 #define SonyID_DSLR_A230        0x109ULL
0239 #define SonyID_DSLR_A290        0x10aULL
0240 #define SonyID_DSLR_A850        0x10dULL
0241 #define SonyID_DSLR_A850_APSC   0x10eULL
0242 #define SonyID_DSLR_A550        0x111ULL
0243 #define SonyID_DSLR_A500        0x112ULL
0244 #define SonyID_DSLR_A450        0x113ULL
0245 #define SonyID_NEX_5            0x116ULL
0246 #define SonyID_NEX_3            0x117ULL
0247 #define SonyID_SLT_A33          0x118ULL
0248 #define SonyID_SLT_A55          0x119ULL
0249 #define SonyID_DSLR_A560        0x11aULL
0250 #define SonyID_DSLR_A580        0x11bULL
0251 #define SonyID_NEX_C3           0x11cULL
0252 #define SonyID_SLT_A35          0x11dULL
0253 #define SonyID_SLT_A65          0x11eULL
0254 #define SonyID_SLT_A77          0x11fULL
0255 #define SonyID_NEX_5N           0x120ULL
0256 #define SonyID_NEX_7            0x121ULL
0257 #define SonyID_NEX_VG20         0x122ULL
0258 #define SonyID_SLT_A37          0x123ULL
0259 #define SonyID_SLT_A57          0x124ULL
0260 #define SonyID_NEX_F3           0x125ULL
0261 #define SonyID_SLT_A99          0x126ULL
0262 #define SonyID_NEX_6            0x127ULL
0263 #define SonyID_NEX_5R           0x128ULL
0264 #define SonyID_DSC_RX100        0x129ULL
0265 #define SonyID_DSC_RX1          0x12aULL
0266 #define SonyID_NEX_VG900        0x12bULL
0267 #define SonyID_NEX_VG30         0x12cULL
0268 #define SonyID_ILCE_3000        0x12eULL
0269 #define SonyID_SLT_A58          0x12fULL
0270 #define SonyID_NEX_3N           0x131ULL
0271 #define SonyID_ILCE_7           0x132ULL
0272 #define SonyID_NEX_5T           0x133ULL
0273 #define SonyID_DSC_RX100M2      0x134ULL
0274 #define SonyID_DSC_RX10         0x135ULL
0275 #define SonyID_DSC_RX1R         0x136ULL
0276 #define SonyID_ILCE_7R          0x137ULL
0277 #define SonyID_ILCE_6000        0x138ULL
0278 #define SonyID_ILCE_5000        0x139ULL
0279 #define SonyID_DSC_RX100M3      0x13dULL
0280 #define SonyID_ILCE_7S          0x13eULL
0281 #define SonyID_ILCA_77M2        0x13fULL
0282 #define SonyID_ILCE_5100        0x153ULL
0283 #define SonyID_ILCE_7M2         0x154ULL
0284 #define SonyID_DSC_RX100M4      0x155ULL
0285 #define SonyID_DSC_RX10M2       0x156ULL
0286 #define SonyID_DSC_RX1RM2       0x158ULL
0287 #define SonyID_ILCE_QX1         0x15aULL
0288 #define SonyID_ILCE_7RM2        0x15bULL
0289 #define SonyID_ILCE_7SM2        0x15eULL
0290 #define SonyID_ILCA_68          0x161ULL
0291 #define SonyID_ILCA_99M2        0x162ULL
0292 #define SonyID_DSC_RX10M3       0x163ULL
0293 #define SonyID_DSC_RX100M5      0x164ULL
0294 #define SonyID_ILCE_6300        0x165ULL
0295 #define SonyID_ILCE_9           0x166ULL
0296 #define SonyID_ILCE_6500        0x168ULL
0297 #define SonyID_ILCE_7RM3        0x16aULL
0298 #define SonyID_ILCE_7M3         0x16bULL
0299 #define SonyID_DSC_RX0          0x16cULL
0300 #define SonyID_DSC_RX10M4       0x16dULL
0301 #define SonyID_DSC_RX100M6      0x16eULL
0302 #define SonyID_DSC_HX99         0x16fULL
0303 #define SonyID_DSC_RX100M5A     0x171ULL
0304 #define SonyID_ILCE_6400        0x173ULL
0305 #define SonyID_DSC_RX0M2        0x174ULL
0306 #define SonyID_DSC_RX100M7      0x176ULL
0307 #define SonyID_ILCE_7RM4        0x177ULL
0308 #define SonyID_ILCE_9M2         0x178ULL
0309 #define SonyID_ILCE_6600        0x17aULL
0310 #define SonyID_ILCE_6100        0x17bULL
0311 #define SonyID_ZV_1             0x17cULL
0312 #define SonyID_ILCE_7C          0x17dULL
0313 #define SonyID_ZV_E10           0x17eULL
0314 #define SonyID_ILCE_7SM3        0x17fULL
0315 #define SonyID_ILCE_1           0x180ULL
0316 #define SonyID_ILME_FX3         0x181ULL
0317 #define SonyID_ILCE_7RM3A       0x182ULL
0318 #define SonyID_ILCE_7RM4A       0x183ULL
0319 #define SonyID_ILCE_7M4         0x184ULL
0320 #endif