Home | History | Annotate | Download | only in jhead

Lines Matching refs:Tag

69 int IsGpsTag(const char* tag) {
70 return strstr(tag, "GPS") == tag;
73 TagTable_t* GpsTagToTagTableEntry(unsigned short tag)
77 if (GpsTags[i].Tag == tag) {
78 printf("found tag %d", tag);
81 printf("tag %s format not defined", GpsTags[i].Desc);
87 printf("tag %d NOT FOUND", tag);
91 int GpsTagToFormatType(unsigned short tag)
95 if (GpsTags[i].Tag == tag) {
96 printf("found tag %d", tag);
99 printf("tag %s format not defined", GpsTags[i].Desc);
105 printf("tag %d NOT FOUND", tag);
114 printf("found GPS tag %s val %d", GpsTags[i].Desc, GpsTags[i].Tag);
115 return GpsTags[i].Tag;
118 printf("GPS tag %s NOT FOUND", tagName);
145 unsigned Tag, Format, Components;
157 Tag = Get16u(DirEntry);
163 ErrNonfatal("Illegal number format %d for tag %04x", Format, Tag);
171 printf("GPS tag %x format %s #components %d componentsize %d bytecount %d", Tag, formatStr(Format), Components, ComponentSize,
181 ErrNonfatal("Illegal value pointer for tag %04x", Tag,0);
190 switch(Tag){
231 if (Tag == TAG_GPS_LAT){
241 if (Tag == TAG_GPS_LAT){
289 // Show tag value.
290 if (Tag < MAX_GPS_TAG){
291 printf(" %s =", GpsTags[Tag].Desc);
293 // Show unknown tag
294 printf(" Illegal GPS tag %04x=", Tag);