#include <config.h>#include <libexif/exif-tag.h>#include <libexif/i18n.h>#include <stdlib.h>#include <string.h>Include dependency graph for exif-tag.c:

Go to the source code of this file.
Defines | |
| #define | ESL_NNNN { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED } |
| #define | ESL_OOOO { EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL } |
| #define | ESL_MMMN { EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_NOT_RECORDED } |
| #define | ESL_MMMM { EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY } |
| #define | ESL_OMON { EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_NOT_RECORDED } |
| #define | ESL_NNOO { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL } |
| #define | ESL_NNMN { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_NOT_RECORDED } |
| #define | ESL_NNMM { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY } |
| #define | ESL_NNNM { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY } |
| #define | ESL_NNNO { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_OPTIONAL } |
| #define | ESL_GPS { ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN } |
| #define | RECORDED |
Typedefs | |
| typedef const char *(*) | get_stuff_func (ExifTag tag, ExifIfd ifd) |
Functions | |
| ExifTag | exif_tag_table_get_tag (unsigned int n) |
| const char * | exif_tag_table_get_name (unsigned int n) |
| unsigned int | exif_tag_table_count (void) |
| const char * | exif_tag_get_name_in_ifd (ExifTag tag, ExifIfd ifd) |
| const char * | exif_tag_get_title_in_ifd (ExifTag tag, ExifIfd ifd) |
| const char * | exif_tag_get_description_in_ifd (ExifTag tag, ExifIfd ifd) |
| static const char * | exif_tag_get_stuff (ExifTag tag, get_stuff_func func) |
| const char * | exif_tag_get_name (ExifTag tag) |
| const char * | exif_tag_get_title (ExifTag tag) |
| const char * | exif_tag_get_description (ExifTag tag) |
| ExifTag | exif_tag_from_name (const char *name) |
| ExifSupportLevel | exif_tag_get_support_level_in_ifd (ExifTag tag, ExifIfd ifd, ExifDataType t) |
Variables | |
| struct { | |
| ExifTag tag | |
| const char * name | |
| const char * title | |
| const char * description | |
| ExifSupportLevel esl [EXIF_IFD_COUNT][4] | |
| } | ExifTagTable [] |
| #define ESL_GPS { ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN } |
Definition at line 39 of file exif-tag.c.
| #define ESL_MMMM { EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY } |
Definition at line 32 of file exif-tag.c.
| #define ESL_MMMN { EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_NOT_RECORDED } |
Definition at line 31 of file exif-tag.c.
| #define ESL_NNMM { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY } |
Definition at line 36 of file exif-tag.c.
| #define ESL_NNMN { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_NOT_RECORDED } |
Definition at line 35 of file exif-tag.c.
| #define ESL_NNNM { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY } |
Definition at line 37 of file exif-tag.c.
| #define ESL_NNNN { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED } |
Definition at line 29 of file exif-tag.c.
| #define ESL_NNNO { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_OPTIONAL } |
Definition at line 38 of file exif-tag.c.
| #define ESL_NNOO { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL } |
Definition at line 34 of file exif-tag.c.
| #define ESL_OMON { EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_NOT_RECORDED } |
Definition at line 33 of file exif-tag.c.
| #define ESL_OOOO { EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL } |
Definition at line 30 of file exif-tag.c.
| #define RECORDED |
Value:
((ExifTagTable[i].esl[ifd][EXIF_DATA_TYPE_UNCOMPRESSED_CHUNKY] != EXIF_SUPPORT_LEVEL_NOT_RECORDED) || \ (ExifTagTable[i].esl[ifd][EXIF_DATA_TYPE_UNCOMPRESSED_PLANAR] != EXIF_SUPPORT_LEVEL_NOT_RECORDED) || \ (ExifTagTable[i].esl[ifd][EXIF_DATA_TYPE_UNCOMPRESSED_YCC] != EXIF_SUPPORT_LEVEL_NOT_RECORDED) || \ (ExifTagTable[i].esl[ifd][EXIF_DATA_TYPE_COMPRESSED] != EXIF_SUPPORT_LEVEL_NOT_RECORDED))
Definition at line 700 of file exif-tag.c.
Referenced by exif_tag_get_description_in_ifd(), exif_tag_get_name_in_ifd(), and exif_tag_get_title_in_ifd().
| typedef const char*(*) get_stuff_func(ExifTag tag, ExifIfd ifd) |
Definition at line 762 of file exif-tag.c.
| ExifTag exif_tag_from_name | ( | const char * | name | ) |
| const char* exif_tag_get_description | ( | ExifTag | tag | ) |
Definition at line 798 of file exif-tag.c.
References exif_tag_get_description_in_ifd(), and exif_tag_get_stuff().
Definition at line 738 of file exif-tag.c.
References _, bindtextdomain, description, EXIF_IFD_COUNT, ExifTagTable, and RECORDED.
Referenced by exif_tag_get_description().
| const char* exif_tag_get_name | ( | ExifTag | tag | ) |
Definition at line 786 of file exif-tag.c.
References exif_tag_get_name_in_ifd(), and exif_tag_get_stuff().
Referenced by exif_content_add_entry(), exif_data_load_data_entry(), exif_entry_dump(), and exif_entry_fix().
Definition at line 707 of file exif-tag.c.
References EXIF_IFD_COUNT, ExifTagTable, and RECORDED.
Referenced by exif_content_fix(), exif_data_load_data_content(), and exif_tag_get_name().
| static const char* exif_tag_get_stuff | ( | ExifTag | tag, | |
| get_stuff_func | func | |||
| ) | [static] |
Definition at line 765 of file exif-tag.c.
References EXIF_IFD_0, EXIF_IFD_1, EXIF_IFD_EXIF, EXIF_IFD_GPS, and EXIF_IFD_INTEROPERABILITY.
Referenced by exif_tag_get_description(), exif_tag_get_name(), and exif_tag_get_title().
| ExifSupportLevel exif_tag_get_support_level_in_ifd | ( | ExifTag | tag, | |
| ExifIfd | ifd, | |||
| ExifDataType | t | |||
| ) |
Definition at line 818 of file exif-tag.c.
References esl, EXIF_DATA_TYPE_COUNT, EXIF_IFD_COUNT, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_UNKNOWN, and ExifTagTable.
Referenced by exif_content_fix().
| const char* exif_tag_get_title | ( | ExifTag | tag | ) |
Definition at line 792 of file exif-tag.c.
References exif_tag_get_stuff(), and exif_tag_get_title_in_ifd().
Definition at line 718 of file exif-tag.c.
References _, bindtextdomain, EXIF_IFD_COUNT, ExifTagTable, RECORDED, and title.
Referenced by exif_tag_get_title().
| unsigned int exif_tag_table_count | ( | void | ) |
Definition at line 695 of file exif-tag.c.
References ExifTagTable.
Referenced by exif_tag_table_get_name(), and exif_tag_table_get_tag().
| const char * exif_tag_table_get_name | ( | unsigned int | n | ) |
| ExifTag exif_tag_table_get_tag | ( | unsigned int | n | ) |
| const char* description |
Definition at line 45 of file exif-tag.c.
| ExifSupportLevel esl[EXIF_IFD_COUNT][4] |
struct { ... } ExifTagTable[] [static] |
| const char* name |
Definition at line 43 of file exif-tag.c.
Definition at line 42 of file exif-tag.c.
| const char* title |
Definition at line 44 of file exif-tag.c.
1.5.1