From: Dan F. <dfa...@us...> - 2008-12-11 07:08:55
|
Update of /cvsroot/libexif/libexif/libexif In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1946/libexif Modified Files: exif-data.c exif-data.h exif-loader.c Log Message: Improved documentation Index: exif-data.h =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-data.h,v retrieving revision 1.20 retrieving revision 1.21 diff -u -p -d -r1.20 -r1.21 --- exif-data.h 5 Dec 2008 07:07:15 -0000 1.20 +++ exif-data.h 11 Dec 2008 07:08:49 -0000 1.21 @@ -42,12 +42,15 @@ typedef struct _ExifDataPrivate ExifData #include <libexif/exif-mnote-data.h> #include <libexif/exif-mem.h> -/*! \internal */ +/*! Represents the entire EXIF data found in an image */ struct _ExifData { ExifContent *ifd[EXIF_IFD_COUNT]; + /*! Pointer to thumbnail image, or NULL if not available */ unsigned char *data; + + /*! Number of bytes in thumbnail image at \c data */ unsigned int size; ExifDataPrivate *priv; Index: exif-loader.c =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-loader.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -p -d -r1.34 -r1.35 --- exif-loader.c 5 Dec 2008 07:07:15 -0000 1.34 +++ exif-loader.c 11 Dec 2008 07:08:49 -0000 1.35 @@ -70,6 +70,8 @@ struct _ExifLoader { /*! Small buffer used for detection of format */ unsigned char b[12]; + + /*! Number of bytes in the small buffer \c b */ unsigned char b_len; unsigned int size; @@ -176,6 +178,8 @@ exif_loader_write (ExifLoader *eld, unsi break; } break; + + case EL_READ: default: break; } Index: exif-data.c =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-data.c,v retrieving revision 1.114 retrieving revision 1.115 diff -u -p -d -r1.114 -r1.115 --- exif-data.c 2 Oct 2008 06:15:49 -0000 1.114 +++ exif-data.c 11 Dec 2008 07:08:49 -0000 1.115 @@ -341,6 +341,16 @@ if (data->ifd[(i)]->count) { \ break; \ } +/*! Load data for an IFD. + * + * \param[in/out] data #ExifData + * \param[in] ifd IFD to load + * \param[in] d pointer to buffer containing raw IFD data + * \param[in] ds size of raw data in buffer at \c d + * \param[in] offset offset into buffer at \c d at which IFD starts + * \param[in] recursion_depth number of times this function has been + * recursively called without returning + */ static void exif_data_load_data_content (ExifData *data, ExifIfd ifd, const unsigned char *d, |