mnote-olympus-entry.c File Reference

#include <config.h>
#include "mnote-olympus-entry.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libexif/exif-format.h>
#include <libexif/exif-utils.h>
#include <libexif/exif-entry.h>
#include <libexif/i18n.h>

Include dependency graph for mnote-olympus-entry.c:

Go to the source code of this file.

Defines

#define CF(format, target, v, maxlen)
#define CC(number, target, v, maxlen)
#define CC2(number, t1, t2, v, maxlen)

Functions

char * mnote_olympus_entry_get_value (MnoteOlympusEntry *entry, char *v, unsigned int maxlen)

Variables

struct {
   unsigned int   subtag
   ExifShort   value
   char *   name
   MnoteCanonTag   tag
   const char *   name
   const char *   title
   const char *   description
   ExifDataOption   option
   const char *   name
   const char *   description
   ExifTag   tag
   const char *   strings [10]
   ExifFormat   format
   const char *   name
   unsigned char   size
   ExifIfd   ifd
   const char *   name
   ExifLogCode   code
   const char *   title
   const char *   message
   const char *   name
   const char *   title
   const char *   description
   ExifSupportLevel   esl [EXIF_IFD_COUNT][4]
   ExifFormat   fmt
   struct {
      int   index
      const char *   string
      const char *   string
   }   elem [10]
   MnoteOlympusTag   tag
   const char *   name
   const char *   title
   const char *   description
   struct {
      int   index
      const char *   string
      const char *   string
   }   elem [7]
   MnotePentaxTag   tag
   const char *   name
   const char *   title
   const char *   description
items []


Define Documentation

#define CC number,
target,
v,
maxlen   ) 
 

Value:

{                                                                       \
        if (number != target) {                                         \
                snprintf (v, maxlen,                                    \
                        _("Invalid number of components (%i, "          \
                        "expected %i)."), (int) number, (int) target);  \
                break;                                                  \
        }                                                               \
}

Definition at line 45 of file mnote-olympus-entry.c.

#define CC2 number,
t1,
t2,
v,
maxlen   ) 
 

Value:

{                                                                       \
        if ((number != t1) && (number != t2)) {                         \
                snprintf (v, maxlen,                                    \
                        _("Invalid number of components (%i, "          \
                        "expected %i or %i)."), (int) number,           \
                        (int) t1, (int) t2);                            \
                break;                                                  \
        }                                                               \
}

Definition at line 55 of file mnote-olympus-entry.c.

#define CF format,
target,
v,
maxlen   ) 
 

Value:

{                                                               \
        if (format != target) {                                 \
                snprintf (v, maxlen,                            \
                        _("Invalid format '%s', "               \
                        "expected '%s'."),                      \
                        exif_format_get_name (format),          \
                        exif_format_get_name (target));         \
                break;                                          \
        }                                                       \
}

Definition at line 33 of file mnote-olympus-entry.c.


Function Documentation

char* mnote_olympus_entry_get_value MnoteOlympusEntry entry,
char *  v,
unsigned int  maxlen
 

Definition at line 165 of file mnote-olympus-entry.c.

References _, CC, CF, _MnoteOlympusEntry::components, _MnoteOlympusEntry::data, ExifRational::denominator, elem, EXIF_FORMAT_ASCII, EXIF_FORMAT_BYTE, EXIF_FORMAT_LONG, EXIF_FORMAT_RATIONAL, EXIF_FORMAT_SHORT, EXIF_FORMAT_SSHORT, EXIF_FORMAT_UNDEFINED, exif_get_long(), exif_get_rational(), exif_get_short(), _MnoteOlympusEntry::format, index, items, MIN, MNOTE_NIKON1_TAG_CCDSENSITIVITY, MNOTE_NIKON1_TAG_COLORMODE, MNOTE_NIKON1_TAG_CONVERTER, MNOTE_NIKON1_TAG_DIGITALZOOM, MNOTE_NIKON1_TAG_IMAGEADJUSTMENT, MNOTE_NIKON1_TAG_QUALITY, MNOTE_NIKON1_TAG_WHITEBALANCE, MNOTE_NIKON_TAG_ADAPTER, MNOTE_NIKON_TAG_AFFOCUSPOSITION, MNOTE_NIKON_TAG_COLORMODE, MNOTE_NIKON_TAG_COLORMODE1, MNOTE_NIKON_TAG_DIGITALZOOM, MNOTE_NIKON_TAG_FIRMWARE, MNOTE_NIKON_TAG_FLASHMODE, MNOTE_NIKON_TAG_FLASHSETTING, MNOTE_NIKON_TAG_FLASHUSED, MNOTE_NIKON_TAG_FOCUSMODE, MNOTE_NIKON_TAG_IMAGEADJUSTMENT, MNOTE_NIKON_TAG_ISO, MNOTE_NIKON_TAG_ISO2, MNOTE_NIKON_TAG_ISOSELECTION, MNOTE_NIKON_TAG_LENSTYPE, MNOTE_NIKON_TAG_MANUALFOCUSDISTANCE, MNOTE_NIKON_TAG_QUALITY, MNOTE_NIKON_TAG_SHARPENING, MNOTE_NIKON_TAG_TOTALPICTURES, MNOTE_NIKON_TAG_WHITEBALANCE, MNOTE_NIKON_TAG_WHITEBALANCEFINE, MNOTE_NIKON_TAG_WHITEBALANCERB, MNOTE_OLYMPUS_TAG_CONTRAST, MNOTE_OLYMPUS_TAG_DIGIZOOM, MNOTE_OLYMPUS_TAG_FLASHMODE, MNOTE_OLYMPUS_TAG_MACRO, MNOTE_OLYMPUS_TAG_MANFOCUS, MNOTE_OLYMPUS_TAG_QUALITY, MNOTE_OLYMPUS_TAG_SHARPNESS, ExifRational::numerator, _MnoteOlympusEntry::order, _MnoteOlympusEntry::tag, and tag.

Referenced by exif_mnote_data_olympus_get_value().


Variable Documentation

struct { ... } elem[10]
 

ExifFormat fmt
 

Definition at line 68 of file mnote-olympus-entry.c.

int index
 

Definition at line 70 of file mnote-olympus-entry.c.

struct { ... } items[] [static]
 

Referenced by mnote_olympus_entry_get_value(), and mnote_pentax_entry_get_value().

const char* string
 

Definition at line 71 of file mnote-olympus-entry.c.

ExifTag tag
 

Definition at line 67 of file mnote-olympus-entry.c.


Generated on Mon Jun 19 19:29:57 2006 for EXIF library (libexif) Internals by  doxygen 1.4.6