exif-format.c File Reference

#include <config.h>
#include <libexif/exif-format.h>
#include <libexif/i18n.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

const char * exif_format_get_name (ExifFormat format)
 Return a textual representation of the given EXIF data type.
unsigned char exif_format_get_size (ExifFormat format)
 Return the raw size of the given EXIF data type.

Variables

struct {
   ExifFormat   format
   const char *   name
   unsigned char   size
ExifFormatTable []
 Table of data format types, descriptions and sizes.


Function Documentation

const char* exif_format_get_name ( ExifFormat  format  ) 

Return a textual representation of the given EXIF data type.

Parameters:
[in] format EXIF data format
Returns:
localized textual name

Definition at line 53 of file exif-format.c.

Referenced by content_foreach_func(), exif_entry_dump(), and exif_entry_fix().

unsigned char exif_format_get_size ( ExifFormat  format  ) 

Return the raw size of the given EXIF data type.

Parameters:
[in] format EXIF data format
Returns:
size in bytes

Definition at line 73 of file exif-format.c.

Referenced by exif_array_set_byte_order(), exif_data_load_data_entry(), exif_data_save_data_entry(), exif_entry_fix(), exif_entry_format_value(), exif_entry_get_value(), exif_entry_initialize(), exif_mnote_data_canon_load(), exif_mnote_data_canon_save(), exif_mnote_data_fuji_load(), exif_mnote_data_fuji_save(), exif_mnote_data_olympus_load(), exif_mnote_data_olympus_save(), exif_mnote_data_pentax_load(), and exif_mnote_data_pentax_save().


Variable Documentation

struct { ... } ExifFormatTable[] [static]

Table of data format types, descriptions and sizes.

This table should be sorted in decreasing order of popularity in order to decrease the total average lookup time.

Referenced by exif_format_get_name(), and exif_format_get_size().

ExifFormat format

Definition at line 33 of file exif-format.c.

const char* name

Definition at line 34 of file exif-format.c.

unsigned char size

Definition at line 35 of file exif-format.c.

Referenced by exif_loader_write_file(), and main().


SourceForge.net Logo Generated by doxygen