Lines Matching refs:Format
79 int format = GpsTags[i].Format;
80 if (format == 0) {
81 printf("tag %s format not defined", GpsTags[i].Desc);
97 int format = GpsTags[i].Format;
98 if (format == 0) {
99 printf("tag %s format not defined", GpsTags[i].Desc);
102 return format;
145 unsigned Tag, Format, Components;
158 Format = Get16u(DirEntry+2);
161 if ((Format-1) >= NUM_FORMATS) {
163 ErrNonfatal("Illegal number format %d for tag %04x", Format, Tag);
167 ComponentSize = BytesPerFormat[Format];
171 printf("GPS tag %x format %s #components %d componentsize %d bytecount %d", Tag, formatStr(Format), Components, ComponentSize,
209 if (Format != FMT_URATIONAL){
210 ErrNonfatal("Inappropriate format (%d) for GPS coordinates!", Format, 0);
226 Values[a] = ConvertAnyFormat(ValuePtr+a*ComponentSize, Format);
255 ConvertAnyFormat(ValuePtr, Format));
263 (int) ConvertAnyFormat(ValuePtr, Format),
264 (int) ConvertAnyFormat(ValuePtr + 8, Format),
265 (int) ConvertAnyFormat(ValuePtr + 16, Format)
297 switch(Format){
326 PrintFormatNumber(ValuePtr+a*ComponentSize, Format, ByteCount);