Lines Matching refs:ByteCount
388 void PrintFormatNumber(void * ValuePtr, int Format, int ByteCount) in PrintFormatNumber() argument
412 ByteCount -= s; in PrintFormatNumber()
413 if (ByteCount <= 0) break; in PrintFormatNumber()
592 int ByteCount; in ProcessExifDir() local
611 ByteCount = Components * BytesPerFormat[Format]; in ProcessExifDir()
613 if (ByteCount > 4){ in ProcessExifDir()
617 if (OffsetVal+ByteCount > ExifLength){ in ProcessExifDir()
629 printf("Map: %05d-%05d: Data for tag %04x\n",OffsetVal, OffsetVal+ByteCount, Tag); in ProcessExifDir()
640 ProcessMakerNote(ValuePtr, ByteCount, OffsetBase, ExifLength); in ProcessExifDir()
662 if(ByteCount>1){ in ProcessExifDir()
663 printf("%.*ls\n", ByteCount/2, (wchar_t *)ValuePtr); in ProcessExifDir()
665 PrintFormatNumber(ValuePtr, Format, ByteCount); in ProcessExifDir()
698 PrintFormatNumber(ValuePtr, Format, ByteCount); in ProcessExifDir()
707 strncpy(ImageInfo.CameraMake, (char *)ValuePtr, ByteCount < 31 ? ByteCount : 31); in ProcessExifDir()
711 strncpy(ImageInfo.CameraModel, (char *)ValuePtr, ByteCount < 39 ? ByteCount : 39); in ProcessExifDir()
767 if (ByteCount > 1){ in ProcessExifDir()
768 if (ByteCount > MAX_COMMENT_SIZE) ByteCount = MAX_COMMENT_SIZE; in ProcessExifDir()
769 memcpy(ImageInfo.Comments, ValuePtr, ByteCount); in ProcessExifDir()
770 ImageInfo.CommentWidchars = ByteCount/2; in ProcessExifDir()
782 for (a=ByteCount;;){ in ProcessExifDir()
800 if (msiz > ByteCount) msiz = ByteCount; in ProcessExifDir()
989 ProcessGpsInfo(SubdirStart, ByteCount, OffsetBase, ExifLength); in ProcessExifDir()