[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:37:49 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=e10eed1

The following commit has been merged in the master branch:
commit e10eed1fb1b31c09e7088fa3a075416fa2942e7b
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Thu Aug 10 15:01:17 2006 +0000

    Updated CanonCs1 and CanonCs2 tags according to ExifTool (David)
---
 src/canonmn.cpp          | 126 +++++++++++++++++++++++++++++++----------------
 test/data/crw-test.out   | Bin 29642 -> 29654 bytes
 test/data/exiv2-test.out |  30 +++++------
 3 files changed, 99 insertions(+), 57 deletions(-)

diff --git a/src/canonmn.cpp b/src/canonmn.cpp
index e4c54bb..1cfd016 100644
--- a/src/canonmn.cpp
+++ b/src/canonmn.cpp
@@ -105,9 +105,10 @@ namespace Exiv2 {
 
     //! Quality, tag 0x0003
     extern const TagDetails canonCs1Quality[] = {
+        { 1, "Economy"   },
         { 2, "Normal"    },
         { 3, "Fine"      },
-        { 4, "Raw"       },
+        { 4, "RAW"       },
         { 5, "Superfine" }
     };
 
@@ -125,26 +126,34 @@ namespace Exiv2 {
 
     //! DriveMode, tag 0x0005
     extern const TagDetails canonCs1DriveMode[] = {
-        {  0, "Single / timer" },
-        {  1, "Continuous"     }
+        { 0, "Single / timer"             },
+        { 1, "Continuous"                 },
+        { 2, "Movie"                      },
+        { 3, "Continuous, speed priority" },
+        { 4, "Continuous, low"            },
+        { 5, "Continuous, high"           }
     };
 
     //! FocusMode, tag 0x0007
     extern const TagDetails canonCs1FocusMode[] = {
-        {  0, "One shot"   },
-        {  1, "AI servo"   },
-        {  2, "AI focus"   },
-        {  3, "MF"         },
-        {  4, "Single"     },
-        {  5, "Continuous" },
-        {  6, "MF"         }
+        {  0, "One shot AF"  },
+        {  1, "AI servo AF"  },
+        {  2, "AI focus AF"  },
+        {  3, "Manual focus" },
+        {  4, "Single"       },
+        {  5, "Continuous"   },
+        {  6, "Manual focus" },
+        { 16, "Pan focus"    }
     };
 
     //! ImageSize, tag 0x000a
     extern const TagDetails canonCs1ImageSize[] = {
-        { 0, "Large"  },
-        { 1, "Medium" },
-        { 2, "Small"  }
+        { 0, "Large"    },
+        { 1, "Medium"   },
+        { 2, "Small"    },
+        { 5, "Medium 1" },
+        { 6, "Medium 2" },
+        { 7, "Medium 3" }
     };
 
     //! EasyMode, tag 0x000b
@@ -155,27 +164,37 @@ namespace Exiv2 {
         {  3, "Fast shutter"     },
         {  4, "Slow shutter"     },
         {  5, "Night Scene"      },
-        {  6, "B&W"              },
+        {  6, "Gray scale"       },
         {  7, "Sepia"            },
         {  8, "Portrait"         },
         {  9, "Sports"           },
         { 10, "Macro / close-up" },
-        { 11, "Pan focus"        },
+        { 11, "Black & white"    },
+        { 12, "Pan focus"        },
+        { 13, "Vivid"            },
+        { 14, "Neutral"          },
+        { 15, "Flash off"        },
+        { 16, "Long shutter"     },
+        { 17, "Super macro"      },
         { 18, "Foliage"          },
         { 19, "Indoor"           },
         { 20, "Fireworks"        },
         { 21, "Beach"            },
+        { 22, "Underwater"       },
         { 23, "Snow"             },
+        { 24, "Kids & pets"      },
         { 25, "Night SnapShot"   },
+        { 26, "Digital macro"    },
         { 27, "My Colors"        },
-        { 28, "Movie"            }
+        { 28, "Still image"      }
     };
 
     //! DigitalZoom, tag 0x000c
     extern const TagDetails canonCs1DigitalZoom[] = {
-        { 0, "None" },
-        { 1, "2x"   },
-        { 2, "4x"   }
+        { 0, "None"  },
+        { 1, "2x"    },
+        { 2, "4x"    },
+        { 3, "Other" }
     };
 
     //! Contrast, Saturation Sharpness, tags 0x000d, 0x000e, 0x000f
@@ -197,6 +216,9 @@ namespace Exiv2 {
 
     //! MeteringMode, tag 0x0011
     extern const TagDetails canonCs1MeteringMode[] = {
+        { 0, "Default"         },
+        { 1, "Spot"            },
+        { 2, "Average"         },
         { 3, "Evaluative"      },
         { 4, "Partial"         },
         { 5, "Center weighted" }
@@ -204,19 +226,28 @@ namespace Exiv2 {
 
     //! FocusType, tag 0x0012
     extern const TagDetails canonCs1FocusType[] = {
-        { 0, "Manual"            },
-        { 1, "Auto"              },
-        { 3, "Close-up (macro)"  },
-        { 8, "Locked (pan mode)" }
+        {  0, "Manual"       },
+        {  1, "Auto"         },
+        {  2, "Not known"    },
+        {  3, "Macro"        },
+        {  4, "Very close"   },
+        {  5, "Close"        },
+        {  6, "Middle range" },
+        {  7, "Far range"    },
+        {  8, "Pan focus"    },
+        {  9, "Super macro"  },
+        { 10, "Infinity"     }
     };
 
     //! AFPoint, tag 0x0013
     extern const TagDetails canonCs1AfPoint[] = {
-        { 0x3000, "None (MF)"     },
-        { 0x3001, "Auto-selected" },
-        { 0x3002, "Right"         },
-        { 0x3003, "Center"        },
-        { 0x3004, "Left"          }
+        { 0x2005, "Manual AF point selection" },
+        { 0x3000, "None (MF)"                 },
+        { 0x3001, "Auto-selected"             },
+        { 0x3002, "Right"                     },
+        { 0x3003, "Center"                    },
+        { 0x3004, "Left"                      },
+        { 0x4001, "Auto AF point selection"   }
     };
 
     //! ExposureProgram, tag 0x0014
@@ -226,7 +257,8 @@ namespace Exiv2 {
         { 2, "Shutter priority (Tv)"  },
         { 3, "Aperture priority (Av)" },
         { 4, "Manual (M)"             },
-        { 5, "A-DEP"                  }
+        { 5, "A-DEP"                  },
+        { 6, "M-DEP"                  }
     };
 
     //! FlashActivity, tag 0x001c
@@ -235,12 +267,6 @@ namespace Exiv2 {
         { 1, "Fired"        }
     };
 
-    //! FocusContinuous, tag 0x0020
-    extern const TagDetails canonCs1FocusContinuous[] = {
-        { 0, "Single"     },
-        { 1, "Continuous" }
-    };
-
     //! FlashDetails, tag 0x001d
     extern const TagDetailsBitmask canonCs1FlashDetails[] = {
         { 0x4000, "External flash"        },
@@ -254,6 +280,12 @@ namespace Exiv2 {
         { 0x0800, "FP sync used"          }
     };
 
+    //! FocusContinuous, tag 0x0020
+    extern const TagDetails canonCs1FocusContinuous[] = {
+        { 0, "Single"     },
+        { 1, "Continuous" }
+    };
+
     // Canon Camera Settings 1 Tag Info
     const TagInfo CanonMakerNote::tagInfoCs1_[] = {
         TagInfo(0x0001, "Macro", "Macro", "Macro mode", canonCs1IfdId, makerTags, unsignedShort, EXV_PRINT_TAG(canonCs1Macro)),
@@ -301,13 +333,23 @@ namespace Exiv2 {
 
     //! WhiteBalance, tag 0x0007
     extern const TagDetails canonCs2WhiteBalance[] = {
-        { 0, "Auto"        },
-        { 1, "Sunny"       },
-        { 2, "Cloudy"      },
-        { 3, "Tungsten"    },
-        { 4, "Fluorescent" },
-        { 5, "Flash"       },
-        { 6, "Custom"      }
+        {  0, "Auto"                        },
+        {  1, "Sunny"                       },
+        {  2, "Cloudy"                      },
+        {  3, "Tungsten"                    },
+        {  4, "Fluorescent"                 },
+        {  5, "Flash"                       },
+        {  6, "Custom"                      },
+        {  7, "Black & White"               },
+        {  8, "Shade"                       },
+        {  9, "Manual Temperature (Kelvin)" },
+        { 10, "PC Set 1"                    },
+        { 11, "PC Set 2"                    },
+        { 12, "PC Set 3"                    },
+        { 14, "Daylight Fluorescent"        },
+        { 15, "Custom 1"                    },
+        { 16, "Custom 2"                    },
+        { 17, "Underwater"                  }
     };
 
     //! AFPointUsed, tag 0x000e
diff --git a/test/data/crw-test.out b/test/data/crw-test.out
index 51e0a98..510c85e 100644
Binary files a/test/data/crw-test.out and b/test/data/crw-test.out differ
diff --git a/test/data/exiv2-test.out b/test/data/exiv2-test.out
index c8f2ca0..b08a87e 100644
--- a/test/data/exiv2-test.out
+++ b/test/data/exiv2-test.out
@@ -860,7 +860,7 @@ File  6/12: 20030925_201850.jpg
 20030925_201850.jpg   Exif.CanonCs1.FlashMode                      Short       1  Off
 20030925_201850.jpg   Exif.CanonCs1.DriveMode                      Short       1  Single / timer
 20030925_201850.jpg   Exif.CanonCs1.0x0006                         Short       1  0
-20030925_201850.jpg   Exif.CanonCs1.FocusMode                      Short       1  AI focus
+20030925_201850.jpg   Exif.CanonCs1.FocusMode                      Short       1  AI focus AF
 20030925_201850.jpg   Exif.CanonCs1.0x0008                         Short       1  0
 20030925_201850.jpg   Exif.CanonCs1.0x0009                         Short       1  1
 20030925_201850.jpg   Exif.CanonCs1.ImageSize                      Short       1  Large
@@ -871,8 +871,8 @@ File  6/12: 20030925_201850.jpg
 20030925_201850.jpg   Exif.CanonCs1.Sharpness                      Short       1  High
 20030925_201850.jpg   Exif.CanonCs1.ISOSpeed                       Short       1  n/a
 20030925_201850.jpg   Exif.CanonCs1.MeteringMode                   Short       1  Evaluative
-20030925_201850.jpg   Exif.CanonCs1.FocusType                      Short       1  (2)
-20030925_201850.jpg   Exif.CanonCs1.AFPoint                        Short       1  (8197)
+20030925_201850.jpg   Exif.CanonCs1.FocusType                      Short       1  Not known
+20030925_201850.jpg   Exif.CanonCs1.AFPoint                        Short       1  Manual AF point selection
 20030925_201850.jpg   Exif.CanonCs1.ExposureProgram                Short       1  Program (P)
 20030925_201850.jpg   Exif.CanonCs1.0x0015                         Short       1  32767
 20030925_201850.jpg   Exif.CanonCs1.0x0016                         Short       1  65535
@@ -1801,7 +1801,7 @@ Compare image data and extracted data ------------------------------------
 < 20030925_201850.jpg   Exif.CanonCs1.FlashMode                      Short       1  Off
 < 20030925_201850.jpg   Exif.CanonCs1.DriveMode                      Short       1  Single / timer
 < 20030925_201850.jpg   Exif.CanonCs1.0x0006                         Short       1  0
-< 20030925_201850.jpg   Exif.CanonCs1.FocusMode                      Short       1  AI focus
+< 20030925_201850.jpg   Exif.CanonCs1.FocusMode                      Short       1  AI focus AF
 < 20030925_201850.jpg   Exif.CanonCs1.0x0008                         Short       1  0
 < 20030925_201850.jpg   Exif.CanonCs1.0x0009                         Short       1  1
 < 20030925_201850.jpg   Exif.CanonCs1.ImageSize                      Short       1  Large
@@ -1812,8 +1812,8 @@ Compare image data and extracted data ------------------------------------
 < 20030925_201850.jpg   Exif.CanonCs1.Sharpness                      Short       1  High
 < 20030925_201850.jpg   Exif.CanonCs1.ISOSpeed                       Short       1  n/a
 < 20030925_201850.jpg   Exif.CanonCs1.MeteringMode                   Short       1  Evaluative
-< 20030925_201850.jpg   Exif.CanonCs1.FocusType                      Short       1  (2)
-< 20030925_201850.jpg   Exif.CanonCs1.AFPoint                        Short       1  (8197)
+< 20030925_201850.jpg   Exif.CanonCs1.FocusType                      Short       1  Not known
+< 20030925_201850.jpg   Exif.CanonCs1.AFPoint                        Short       1  Manual AF point selection
 < 20030925_201850.jpg   Exif.CanonCs1.ExposureProgram                Short       1  Program (P)
 < 20030925_201850.jpg   Exif.CanonCs1.0x0015                         Short       1  32767
 < 20030925_201850.jpg   Exif.CanonCs1.0x0016                         Short       1  65535
@@ -2686,7 +2686,7 @@ Compare image data and extracted data ------------------------------------
 > 20030925_201850.exv   Exif.CanonCs1.FlashMode                      Short       1  Off
 > 20030925_201850.exv   Exif.CanonCs1.DriveMode                      Short       1  Single / timer
 > 20030925_201850.exv   Exif.CanonCs1.0x0006                         Short       1  0
-> 20030925_201850.exv   Exif.CanonCs1.FocusMode                      Short       1  AI focus
+> 20030925_201850.exv   Exif.CanonCs1.FocusMode                      Short       1  AI focus AF
 > 20030925_201850.exv   Exif.CanonCs1.0x0008                         Short       1  0
 > 20030925_201850.exv   Exif.CanonCs1.0x0009                         Short       1  1
 > 20030925_201850.exv   Exif.CanonCs1.ImageSize                      Short       1  Large
@@ -2697,8 +2697,8 @@ Compare image data and extracted data ------------------------------------
 > 20030925_201850.exv   Exif.CanonCs1.Sharpness                      Short       1  High
 > 20030925_201850.exv   Exif.CanonCs1.ISOSpeed                       Short       1  n/a
 > 20030925_201850.exv   Exif.CanonCs1.MeteringMode                   Short       1  Evaluative
-> 20030925_201850.exv   Exif.CanonCs1.FocusType                      Short       1  (2)
-> 20030925_201850.exv   Exif.CanonCs1.AFPoint                        Short       1  (8197)
+> 20030925_201850.exv   Exif.CanonCs1.FocusType                      Short       1  Not known
+> 20030925_201850.exv   Exif.CanonCs1.AFPoint                        Short       1  Manual AF point selection
 > 20030925_201850.exv   Exif.CanonCs1.ExposureProgram                Short       1  Program (P)
 > 20030925_201850.exv   Exif.CanonCs1.0x0015                         Short       1  32767
 > 20030925_201850.exv   Exif.CanonCs1.0x0016                         Short       1  65535
@@ -3699,7 +3699,7 @@ Compare original and inserted image data ---------------------------------
 < 20030925_201850.jpg   Exif.CanonCs1.FlashMode                      Short       1  Off
 < 20030925_201850.jpg   Exif.CanonCs1.DriveMode                      Short       1  Single / timer
 < 20030925_201850.jpg   Exif.CanonCs1.0x0006                         Short       1  0
-< 20030925_201850.jpg   Exif.CanonCs1.FocusMode                      Short       1  AI focus
+< 20030925_201850.jpg   Exif.CanonCs1.FocusMode                      Short       1  AI focus AF
 < 20030925_201850.jpg   Exif.CanonCs1.0x0008                         Short       1  0
 < 20030925_201850.jpg   Exif.CanonCs1.0x0009                         Short       1  1
 < 20030925_201850.jpg   Exif.CanonCs1.ImageSize                      Short       1  Large
@@ -3710,8 +3710,8 @@ Compare original and inserted image data ---------------------------------
 < 20030925_201850.jpg   Exif.CanonCs1.Sharpness                      Short       1  High
 < 20030925_201850.jpg   Exif.CanonCs1.ISOSpeed                       Short       1  n/a
 < 20030925_201850.jpg   Exif.CanonCs1.MeteringMode                   Short       1  Evaluative
-< 20030925_201850.jpg   Exif.CanonCs1.FocusType                      Short       1  (2)
-< 20030925_201850.jpg   Exif.CanonCs1.AFPoint                        Short       1  (8197)
+< 20030925_201850.jpg   Exif.CanonCs1.FocusType                      Short       1  Not known
+< 20030925_201850.jpg   Exif.CanonCs1.AFPoint                        Short       1  Manual AF point selection
 < 20030925_201850.jpg   Exif.CanonCs1.ExposureProgram                Short       1  Program (P)
 < 20030925_201850.jpg   Exif.CanonCs1.0x0015                         Short       1  32767
 < 20030925_201850.jpg   Exif.CanonCs1.0x0016                         Short       1  65535
@@ -4584,7 +4584,7 @@ Compare original and inserted image data ---------------------------------
 > 20030925_201850.exv   Exif.CanonCs1.FlashMode                      Short       1  Off
 > 20030925_201850.exv   Exif.CanonCs1.DriveMode                      Short       1  Single / timer
 > 20030925_201850.exv   Exif.CanonCs1.0x0006                         Short       1  0
-> 20030925_201850.exv   Exif.CanonCs1.FocusMode                      Short       1  AI focus
+> 20030925_201850.exv   Exif.CanonCs1.FocusMode                      Short       1  AI focus AF
 > 20030925_201850.exv   Exif.CanonCs1.0x0008                         Short       1  0
 > 20030925_201850.exv   Exif.CanonCs1.0x0009                         Short       1  1
 > 20030925_201850.exv   Exif.CanonCs1.ImageSize                      Short       1  Large
@@ -4595,8 +4595,8 @@ Compare original and inserted image data ---------------------------------
 > 20030925_201850.exv   Exif.CanonCs1.Sharpness                      Short       1  High
 > 20030925_201850.exv   Exif.CanonCs1.ISOSpeed                       Short       1  n/a
 > 20030925_201850.exv   Exif.CanonCs1.MeteringMode                   Short       1  Evaluative
-> 20030925_201850.exv   Exif.CanonCs1.FocusType                      Short       1  (2)
-> 20030925_201850.exv   Exif.CanonCs1.AFPoint                        Short       1  (8197)
+> 20030925_201850.exv   Exif.CanonCs1.FocusType                      Short       1  Not known
+> 20030925_201850.exv   Exif.CanonCs1.AFPoint                        Short       1  Manual AF point selection
 > 20030925_201850.exv   Exif.CanonCs1.ExposureProgram                Short       1  Program (P)
 > 20030925_201850.exv   Exif.CanonCs1.0x0015                         Short       1  32767
 > 20030925_201850.exv   Exif.CanonCs1.0x0016                         Short       1  65535

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list