From: Lutz M?l. <lu...@us...> - 2003-12-01 18:09:32
|
Update of /cvsroot/libexif/libexif/libexif In directory sc8-pr-cvs1:/tmp/cvs-serv23146/libexif Modified Files: exif-data.c exif-entry.c exif-format.c exif-format.h Log Message: 2003-12-01 Lutz Mueller <lu...@us...> * libexif: Various improvements by Jan Patera <pa...@pi...>. Index: exif-format.c =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-format.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- exif-format.c 28 Apr 2003 18:22:17 -0000 1.8 +++ exif-format.c 1 Dec 2003 18:09:28 -0000 1.9 @@ -34,8 +34,12 @@ {EXIF_FORMAT_SHORT, "Short", 2}, {EXIF_FORMAT_LONG, "Long", 4}, {EXIF_FORMAT_RATIONAL, "Rational", 8}, + {EXIF_FORMAT_SBYTE, "SByte", 1}, + {EXIF_FORMAT_SSHORT, "SShort", 2}, {EXIF_FORMAT_SLONG, "SLong", 4}, {EXIF_FORMAT_SRATIONAL, "SRational", 8}, + {EXIF_FORMAT_FLOAT, "Float", 4}, + {EXIF_FORMAT_DOUBLE, "Double", 8}, {EXIF_FORMAT_UNDEFINED, N_("Undefined"), 1}, {0, NULL, 0} }; Index: exif-format.h =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-format.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- exif-format.h 15 Dec 2002 11:41:11 -0000 1.5 +++ exif-format.h 1 Dec 2003 18:09:28 -0000 1.6 @@ -31,9 +31,13 @@ EXIF_FORMAT_SHORT = 3, EXIF_FORMAT_LONG = 4, EXIF_FORMAT_RATIONAL = 5, + EXIF_FORMAT_SBYTE = 6, EXIF_FORMAT_UNDEFINED = 7, + EXIF_FORMAT_SSHORT = 8, EXIF_FORMAT_SLONG = 9, - EXIF_FORMAT_SRATIONAL = 10 + EXIF_FORMAT_SRATIONAL = 10, + EXIF_FORMAT_FLOAT = 11, + EXIF_FORMAT_DOUBLE = 12 } ExifFormat; const char *exif_format_get_name (ExifFormat format); Index: exif-entry.c =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-entry.c,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -r1.39 -r1.40 --- exif-entry.c 8 Oct 2003 16:40:11 -0000 1.39 +++ exif-entry.c 1 Dec 2003 18:09:28 -0000 1.40 @@ -899,6 +899,7 @@ case EXIF_FORMAT_UNDEFINED: break; case EXIF_FORMAT_BYTE: + case EXIF_FORMAT_SBYTE: v_byte = e->data[0]; snprintf (v, sizeof (v), "0x%02x", v_byte); for (i = 1; i < e->components; i++) { @@ -909,6 +910,7 @@ } break; case EXIF_FORMAT_SHORT: + case EXIF_FORMAT_SSHORT: v_short = exif_get_short (e->data, o); snprintf (v, sizeof (v), "%i", v_short); for (i = 1; i < e->components; i++) { Index: exif-data.c =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-data.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -d -r1.33 -r1.34 --- exif-data.c 30 Oct 2003 17:43:52 -0000 1.33 +++ exif-data.c 1 Dec 2003 18:09:28 -0000 1.34 @@ -931,6 +931,7 @@ break; case EXIF_FORMAT_UNDEFINED: case EXIF_FORMAT_BYTE: + case EXIF_FORMAT_SBYTE: case EXIF_FORMAT_ASCII: default: /* Nothing here. */ |