Mercurial > geeqie
changeset 106:1003bd2ec862
Thu Nov 9 20:27:47 2006 John Ellis <johne@verizon.net>
* exif.[ch]: Rename exif_byte_swab..() to exif_byte_put..() as that is
more in line with their counterparts of exif_byte_get..()
author | gqview |
---|---|
date | Fri, 10 Nov 2006 01:30:45 +0000 |
parents | de64a683d5d0 |
children | a01d8c49ca2f |
files | ChangeLog src/exif.c src/exif.h |
diffstat | 3 files changed, 9 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Nov 09 22:53:11 2006 +0000 +++ b/ChangeLog Fri Nov 10 01:30:45 2006 +0000 @@ -1,3 +1,8 @@ +Thu Nov 9 20:27:47 2006 John Ellis <johne@verizon.net> + + * exif.[ch]: Rename exif_byte_swab..() to exif_byte_put..() as that is + more in line with their counterparts of exif_byte_get..() + Thu Nov 9 17:43:06 2006 John Ellis <johne@verizon.net> * pan-view.c: Break this monstrosity of code into smaller files.
--- a/src/exif.c Thu Nov 09 22:53:11 2006 +0000 +++ b/src/exif.c Fri Nov 10 01:30:45 2006 +0000 @@ -600,7 +600,7 @@ return GUINT32_FROM_BE(*(guint32*)f); } -guint16 exif_byte_swab_int16(guint16 n, ExifByteOrder bo) +guint16 exif_byte_put_int16(guint16 n, ExifByteOrder bo) { #if G_BYTE_ORDER == G_LITTLE_ENDIAN if (bo == EXIF_BYTE_ORDER_MOTOROLA) @@ -612,7 +612,7 @@ return n; } -guint32 exif_byte_swab_int32(guint32 n, ExifByteOrder bo) +guint32 exif_byte_put_int32(guint32 n, ExifByteOrder bo) { #if G_BYTE_ORDER == G_LITTLE_ENDIAN if (bo == EXIF_BYTE_ORDER_MOTOROLA)
--- a/src/exif.h Thu Nov 09 22:53:11 2006 +0000 +++ b/src/exif.h Fri Nov 10 01:30:45 2006 +0000 @@ -213,8 +213,8 @@ guint16 exif_byte_get_int16(unsigned char *f, ExifByteOrder bo); guint32 exif_byte_get_int32(unsigned char *f, ExifByteOrder bo); -guint16 exif_byte_swab_int16(guint16 n, ExifByteOrder bo); -guint32 exif_byte_swab_int32(guint32 n, ExifByteOrder bo); +guint16 exif_byte_put_int16(guint16 n, ExifByteOrder bo); +guint32 exif_byte_put_int32(guint32 n, ExifByteOrder bo); ExifItem *exif_item_new(ExifFormatType format, guint tag, guint elements, const ExifMarker *marker);