Lines Matching refs:quantum
2773 } quantum; in ReadDCMSignedShort() local
2775 quantum.unsigned_value=ReadDCMShort(stream_info,image); in ReadDCMSignedShort()
2776 return(quantum.signed_value); in ReadDCMSignedShort()
2834 quantum, in ReadDCMImage() local
2940 quantum=0; in ReadDCMImage()
2967 quantum=4; in ReadDCMImage()
2974 quantum=2; in ReadDCMImage()
2981 quantum=4; in ReadDCMImage()
2985 if (quantum == 4) in ReadDCMImage()
2993 if (quantum == 2) in ReadDCMImage()
3000 quantum=0; in ReadDCMImage()
3006 quantum=2; in ReadDCMImage()
3011 quantum=4; in ReadDCMImage()
3014 quantum=1; in ReadDCMImage()
3016 quantum=8; in ReadDCMImage()
3018 length=(size_t) datum/quantum; in ReadDCMImage()
3024 quantum=0; in ReadDCMImage()
3056 if ((length == 1) && (quantum == 1)) in ReadDCMImage()
3059 if ((length == 1) && (quantum == 2)) in ReadDCMImage()
3067 if ((length == 1) && (quantum == 4)) in ReadDCMImage()
3075 if ((quantum != 0) && (length != 0)) in ReadDCMImage()
3078 data=(unsigned char *) AcquireQuantumMemory(length+1,quantum* in ReadDCMImage()
3083 count=ReadBlob(image,(size_t) quantum*length,data); in ReadDCMImage()
3084 if (count != (ssize_t) (quantum*length)) in ReadDCMImage()
3088 "length=%d group=%d\n",(int) count,(int) quantum,(int) in ReadDCMImage()
3093 data[length*quantum]='\0'; in ReadDCMImage()