Skip to content

Commit

Permalink
Remove undetectable lenses
Browse files Browse the repository at this point in the history
Lenses that have the exact same ID, focal length and aperture as some other
lens that comes earlier in the list (and thus always wins):
* 137, "Tamron SP 17-50mm f/2.8 XR Di II VC"
* 137, "Tamron SP 24-70mm f/2.8 Di VC USD"
* 161, "Sigma 28-70mm f/2.8 EX"
* 173, "Sigma 180mm EX HSM Macro f/3.5"
* 180, "Zeiss Milvus 50mm f/1.4"
* 183, "Sigma 150-600mm f/5-6.3 DG OS HSM | S"
* 254, "Tamron SP 90mm f/2.8 Di VC USD Macro 1:1 F004"
* 254, "Tamron SP 90mm f/2.8 Di VC USD Macro 1:1 F017"

Lenses that share their IDs with other lenses, but have no or an
unsupported focal length:
* 33, "Voigtlander or Carl Zeiss Lens"
* 131, "Sigma 4.5mm f/2.8 EX DC HSM Circular Fisheye"
  • Loading branch information
webmeister committed Dec 9, 2020
1 parent 50697b4 commit 97b81ba
Showing 1 changed file with 28 additions and 38 deletions.
66 changes: 28 additions & 38 deletions src/canonmn_int.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -793,21 +793,20 @@ namespace Exiv2 {
{ 31, "Tamron SP AF 300mm f/2.8 LD IF" }, // 1
{ 32, "Canon EF 24mm f/2.8" }, // 0
{ 32, "Sigma 15mm f/2.8 EX Fisheye" }, // 1
{ 33, "Voigtlander or Carl Zeiss Lens" }, // 0
{ 33, "Voigtlander Ultron 40mm f/2 SLII Aspherical" }, // 1
{ 33, "Voigtlander Color Skopar 20mm f/3.5 SLII Aspherical" }, // 2
{ 33, "Voigtlander APO-Lanthar 90mm f/3.5 SLII Close Focus" }, // 3
{ 33, "Carl Zeiss Distagon 15mm T* f/2.8 ZE" }, // 4
{ 33, "Carl Zeiss Distagon 18mm T* f/3.5 ZE" }, // 5
{ 33, "Carl Zeiss Distagon 21mm T* f/2.8 ZE" }, // 6
{ 33, "Carl Zeiss Distagon 25mm T* f/2 ZE" }, // 7
{ 33, "Carl Zeiss Distagon 28mm T* f/2 ZE" }, // 8
{ 33, "Carl Zeiss Distagon 35mm T* f/2 ZE" }, // 9
{ 33, "Carl Zeiss Distagon 35mm T* f/1.4 ZE" }, // 10
{ 33, "Carl Zeiss Planar 50mm T* f/1.4 ZE" }, // 11
{ 33, "Carl Zeiss Makro-Planar T* 50mm f/2 ZE" }, // 12
{ 33, "Carl Zeiss Makro-Planar T* 100mm f/2 ZE" }, // 13
{ 33, "Carl Zeiss Apo-Sonnar T* 135mm f/2 ZE" }, // 14
{ 33, "Voigtlander Ultron 40mm f/2 SLII Aspherical" }, // 0
{ 33, "Voigtlander Color Skopar 20mm f/3.5 SLII Aspherical" }, // 1
{ 33, "Voigtlander APO-Lanthar 90mm f/3.5 SLII Close Focus" }, // 2
{ 33, "Carl Zeiss Distagon 15mm T* f/2.8 ZE" }, // 3
{ 33, "Carl Zeiss Distagon 18mm T* f/3.5 ZE" }, // 4
{ 33, "Carl Zeiss Distagon 21mm T* f/2.8 ZE" }, // 5
{ 33, "Carl Zeiss Distagon 25mm T* f/2 ZE" }, // 6
{ 33, "Carl Zeiss Distagon 28mm T* f/2 ZE" }, // 7
{ 33, "Carl Zeiss Distagon 35mm T* f/2 ZE" }, // 8
{ 33, "Carl Zeiss Distagon 35mm T* f/1.4 ZE" }, // 9
{ 33, "Carl Zeiss Planar 50mm T* f/1.4 ZE" }, // 10
{ 33, "Carl Zeiss Makro-Planar T* 50mm f/2 ZE" }, // 11
{ 33, "Carl Zeiss Makro-Planar T* 100mm f/2 ZE" }, // 12
{ 33, "Carl Zeiss Apo-Sonnar T* 135mm f/2 ZE" }, // 13
{ 35, "Canon EF 35-80mm f/4-5.6" },
{ 36, "Canon EF 38-76mm f/4.5-5.6" },
{ 37, "Canon EF 35-80mm f/4-5.6" }, // 0
Expand Down Expand Up @@ -850,8 +849,7 @@ namespace Exiv2 {
{ 131, "Sigma 17-70mm f/2.8-4.5 DC Macro" }, // 3
{ 131, "Sigma APO 50-150mm f/2.8 EX DC HSM" }, // 4
{ 131, "Sigma APO 120-300mm f/2.8 EX DG HSM" }, // 5
{ 131, "Sigma 4.5mm f/2.8 EX DC HSM Circular Fisheye" }, // 6
{ 131, "Sigma 70-200mm f/2.8 APO EX HSM" }, // 7
{ 131, "Sigma 70-200mm f/2.8 APO EX HSM" }, // 6
{ 132, "Canon EF 1200mm f/5.6L" },
{ 134, "Canon EF 600mm f/4L IS" },
{ 135, "Canon EF 200mm f/1.8L" },
Expand All @@ -868,12 +866,10 @@ namespace Exiv2 {
{ 137, "Sigma 18-200mm f/3.5-6.3 DC OS HSM [II]" }, // 8
{ 137, "Tamron AF 18-270mm f/3.5-6.3 Di II VC PZD" }, // 9
{ 137, "Sigma 8-16mm f/4.5-5.6 DC HSM" }, // 10
{ 137, "Tamron SP 17-50mm f/2.8 XR Di II VC" }, // 11
{ 137, "Tamron SP 60mm f/2 Macro Di II" }, // 12
{ 137, "Sigma 10-20mm f/3.5 EX DC HSM" }, // 13
{ 137, "Tamron SP 24-70mm f/2.8 Di VC USD" }, // 14
{ 137, "Sigma 18-35mm f/1.8 DC HSM | A" }, // 15
{ 137, "Sigma 12-24mm f/4.5-5.6 DG HSM II" }, // 16
{ 137, "Tamron SP 60mm f/2 Macro Di II" }, // 11
{ 137, "Sigma 10-20mm f/3.5 EX DC HSM" }, // 12
{ 137, "Sigma 18-35mm f/1.8 DC HSM | A" }, // 13
{ 137, "Sigma 12-24mm f/4.5-5.6 DG HSM II" }, // 14
{ 138, "Canon EF 28-80mm f/2.8-4L" },
{ 139, "Canon EF 400mm f/2.8L" },
{ 140, "Canon EF 500mm f/4.5L" },
Expand Down Expand Up @@ -920,12 +916,11 @@ namespace Exiv2 {
{ 160, "Tokina AT-X 11-20 F2.8 PRO DX Aspherical 11-20mm f/2.8" }, // 5
{ 161, "Canon EF 28-70mm f/2.8L" }, // 0
{ 161, "Sigma 24-70mm EX f/2.8" }, // 1
{ 161, "Sigma 28-70mm f/2.8 EX" }, // 2
{ 161, "Sigma 24-60mm f/2.8 EX DG" }, // 3
{ 161, "Tamron AF 17-50mm f/2.8 Di-II LD Aspherical" }, // 4
{ 161, "Tamron 90mm f/2.8" }, // 5
{ 161, "Tamron SP AF 17-35mm f/2.8-4 Di LD Aspherical IF" }, // 6
{ 161, "Tamron SP AF 28-75mm f/2.8 XR Di LD Aspherical [IF] Macro" }, // 7
{ 161, "Sigma 24-60mm f/2.8 EX DG" }, // 2
{ 161, "Tamron AF 17-50mm f/2.8 Di-II LD Aspherical" }, // 3
{ 161, "Tamron 90mm f/2.8" }, // 4
{ 161, "Tamron SP AF 17-35mm f/2.8-4 Di LD Aspherical IF" }, // 5
{ 161, "Tamron SP AF 28-75mm f/2.8 XR Di LD Aspherical [IF] Macro" }, // 6
{ 162, "Canon EF 200mm f/2.8L" },
{ 163, "Canon EF 300mm f/4L" },
{ 164, "Canon EF 400mm f/5.6L" },
Expand All @@ -948,9 +943,8 @@ namespace Exiv2 {
{ 172, "Sigma 150-600mm f/5-6.3 DG OS HSM | S" }, // 1
{ 172, "Sigma 150-500mm f/5-6.3 APO DG OS HSM + 1.4x" }, // 2
{ 173, "Canon EF 180mm Macro f/3.5L" }, // 0
{ 173, "Sigma 180mm EX HSM Macro f/3.5" }, // 1
{ 173, "Sigma APO Macro 150mm f/3.5 EX DG IF HSM" }, // 2
{ 173, "Sigma 150-500mm f/5-6.3 APO DG OS HSM + 2x" }, // 3
{ 173, "Sigma APO Macro 150mm f/3.5 EX DG IF HSM" }, // 1
{ 173, "Sigma 150-500mm f/5-6.3 APO DG OS HSM + 2x" }, // 2
{ 174, "Canon EF 135mm f/2L" }, // 0
{ 174, "Sigma 70-200mm f/2.8 EX DG APO OS HSM" }, // 1
{ 174, "Sigma 50-500mm f/4.5-6.3 APO DG OS HSM" }, // 2
Expand All @@ -966,9 +960,8 @@ namespace Exiv2 {
{ 180, "Sigma 50mm f/1.4 DG HSM | A" }, // 1
{ 180, "Sigma 24mm f/1.4 DG HSM | A" }, // 2
{ 180, "Sigma 20mm f/1.4 DG HSM | A" }, // 3
{ 180, "Zeiss Milvus 50mm f/1.4" }, // 4
{ 180, "Zeiss Milvus 85mm f/1.4" }, // 5
{ 180, "Zeiss Otus 28mm f/1.4 ZE" }, // 6
{ 180, "Zeiss Milvus 85mm f/1.4" }, // 4
{ 180, "Zeiss Otus 28mm f/1.4 ZE" }, // 5
{ 181, "Canon EF 100-400mm f/4.5-5.6L IS + 1.4x" }, // 0
{ 181, "Sigma 150-600mm f/5-6.3 DG OS HSM | S + 1.4x" }, // 1
{ 182, "Canon EF 100-400mm f/4.5-5.6L IS + 2x" }, // 0
Expand All @@ -978,7 +971,6 @@ namespace Exiv2 {
{ 183, "Sigma 105mm f/2.8 EX DG OS HSM Macro" }, // 2
{ 183, "Sigma 180mm f/2.8 EX DG OS HSM APO Macro" }, // 3
{ 183, "Sigma 150-600mm f/5-6.3 DG OS HSM | C" }, // 4
{ 183, "Sigma 150-600mm f/5-6.3 DG OS HSM | S" }, // 5
{ 184, "Canon EF 400mm f/2.8L + 2x" },
{ 185, "Canon EF 600mm f/4L IS" },
{ 186, "Canon EF 70-200mm f/4L" },
Expand Down Expand Up @@ -1049,8 +1041,6 @@ namespace Exiv2 {
{ 253, "Canon EF 70-200mm f/2.8L IS II USM + 2x" },
{ 254, "Canon EF 100mm f/2.8L Macro IS USM" }, // 0
{ 254, "Tamron SP 90mm f/2.8 Di VC USD Macro 1:1" }, // 1
//{ 254, "Tamron SP 90mm f/2.8 Di VC USD Macro 1:1 F004" }, // 1 older model
//{ 254, "Tamron SP 90mm f/2.8 Di VC USD Macro 1:1 F017" }, // 2 model released in 2016
{ 255, "Sigma 24-105mm f/4 DG OS HSM | A" }, // 0
{ 255, "Sigma 180mm f/2.8 EX DG OS HSM APO Macro" }, // 1
{ 368, "Sigma 18-35mm f/1.8 DC HSM | A" },
Expand Down

0 comments on commit 97b81ba

Please sign in to comment.