Commit f6e71e4
committed
Retry Canon AFInfo2 scan; add Nikon D850 tag
Improve MakerNote decoding and contextual naming. Canon AFInfo2 decoding now retries by scanning a bounded region inside the MakerNote when the primary offset points at a non-AFInfo2 block, via new helpers (canon_afinfo2_payload_looks_valid, canon_find_afinfo2_payload). Add contextual Canon main tag handling for MakerNote tag 0x0000 (EntryNameContextKind::CanonMain0000) to select appropriate names for certain models. Add Nikon ShotInfo D850 tag 0x0024 (PhotoShootingMenuBank) to the registry. Also includes small refactors/formatting cleanups, updated tests, and VERSION/CHANGES updates.1 parent 873cb23 commit f6e71e4
11 files changed
Lines changed: 1114 additions & 796 deletions
File tree
- registry/exif/makernotes
- src
- include/openmeta
- openmeta
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
3 | 20 | | |
4 | 21 | | |
5 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1289 | 1289 | | |
1290 | 1290 | | |
1291 | 1291 | | |
| 1292 | + | |
1292 | 1293 | | |
1293 | 1294 | | |
1294 | 1295 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
0 commit comments