Lines Matching refs:HDR
613 HDR; in ReadMATImageV4() local
646 HDR.Type[3]=ldblk % 10; ldblk /= 10; /* T digit */ in ReadMATImageV4()
647 HDR.Type[2]=ldblk % 10; ldblk /= 10; /* P digit */ in ReadMATImageV4()
648 HDR.Type[1]=ldblk % 10; ldblk /= 10; /* O digit */ in ReadMATImageV4()
649 HDR.Type[0]=ldblk; /* M digit */ in ReadMATImageV4()
650 if (HDR.Type[3] != 0) in ReadMATImageV4()
652 if (HDR.Type[2] != 0) in ReadMATImageV4()
654 if (HDR.Type[0] == 0) in ReadMATImageV4()
656 HDR.nRows=ReadBlobLSBLong(image); in ReadMATImageV4()
657 HDR.nCols=ReadBlobLSBLong(image); in ReadMATImageV4()
658 HDR.imagf=ReadBlobLSBLong(image); in ReadMATImageV4()
659 HDR.nameLen=ReadBlobLSBLong(image); in ReadMATImageV4()
664 HDR.nRows=ReadBlobMSBLong(image); in ReadMATImageV4()
665 HDR.nCols=ReadBlobMSBLong(image); in ReadMATImageV4()
666 HDR.imagf=ReadBlobMSBLong(image); in ReadMATImageV4()
667 HDR.nameLen=ReadBlobMSBLong(image); in ReadMATImageV4()
670 if ((HDR.imagf != 0) && (HDR.imagf != 1)) in ReadMATImageV4()
672 if (HDR.nameLen > 0xFFFF) in ReadMATImageV4()
674 for (i=0; i < (ssize_t) HDR.nameLen; i++) in ReadMATImageV4()
690 image->columns=(size_t) HDR.nRows; in ReadMATImageV4()
691 image->rows=(size_t) HDR.nCols; in ReadMATImageV4()
697 if(HDR.imagf==1) ldblk *= 2; in ReadMATImageV4()
698 SeekBlob(image, HDR.nCols*ldblk, SEEK_CUR); in ReadMATImageV4()
712 switch(HDR.Type[1]) in ReadMATImageV4()
740 if (HDR.Type[0] != 0) in ReadMATImageV4()
761 if ((HDR.Type[1] == 2) || (HDR.Type[1] == 3)) in ReadMATImageV4()
773 if (HDR.imagf == 1) in ReadMATImageV4()
782 if (HDR.Type[1] == 0) in ReadMATImageV4()