Home | History | Annotate | Download | only in jhead

Lines Matching defs:ByteCount

388 void PrintFormatNumber(void * ValuePtr, int Format, int ByteCount)
412 ByteCount -= s;
413 if (ByteCount <= 0) break;
592 int ByteCount;
611 ByteCount = Components * BytesPerFormat[Format];
613 if (ByteCount > 4){
617 if (OffsetVal+ByteCount > ExifLength){
618 // Bogus pointer offset and / or bytecount value
629 printf("Map: %05d-%05d: Data for tag %04x\n",OffsetVal, OffsetVal+ByteCount, Tag);
640 ProcessMakerNote(ValuePtr, ByteCount, OffsetBase, ExifLength);
662 if(ByteCount>1){
663 printf("%.*ls\n", ByteCount/2, (wchar_t *)ValuePtr);
665 PrintFormatNumber(ValuePtr, Format, ByteCount);
679 // for (a=0;a<ByteCount;a++){
686 // if (!NoPrint && a != ByteCount-1){
698 PrintFormatNumber(ValuePtr, Format, ByteCount);
707 strncpy(ImageInfo.CameraMake, (char *)ValuePtr, ByteCount < 31 ? ByteCount : 31);
711 strncpy(ImageInfo.CameraModel, (char *)ValuePtr, ByteCount < 39 ? ByteCount : 39);
767 if (ByteCount > 1){
768 if (ByteCount > MAX_COMMENT_SIZE) ByteCount = MAX_COMMENT_SIZE;
769 memcpy(ImageInfo.Comments, ValuePtr, ByteCount);
770 ImageInfo.CommentWidchars = ByteCount/2;
782 for (a=ByteCount;;){
797 // (2) The given comment length (ByteCount)
800 if (msiz > ByteCountByteCount;
993 ProcessGpsInfo(SubdirStart, ByteCount, OffsetBase, ExifLength);