| 90 | |
| 91 | |
| 92 | ILboolean GetImageElement(DPX_IMAGE_ELEMENT *ImageElement) |
| 93 | { |
| 94 | ImageElement->DataSign = GetBigUInt(); |
| 95 | ImageElement->RefLowData = GetBigUInt(); |
| 96 | iread(&ImageElement->RefLowQuantity, 1, 4); |
| 97 | ImageElement->RefHighData = GetBigUInt(); |
| 98 | iread(&ImageElement->RefHighQuantity, 1, 4); |
| 99 | ImageElement->Descriptor = igetc(); |
| 100 | ImageElement->Transfer = igetc(); |
| 101 | ImageElement->Colorimetric = igetc(); |
| 102 | ImageElement->BitSize = igetc(); |
| 103 | ImageElement->Packing = GetBigUShort(); |
| 104 | ImageElement->Encoding = GetBigUShort(); |
| 105 | ImageElement->DataOffset = GetBigUInt(); |
| 106 | ImageElement->EolPadding = GetBigUInt(); |
| 107 | ImageElement->EoImagePadding = GetBigUInt(); |
| 108 | if (iread(ImageElement->Description, 32, 1) != 1) |
| 109 | return IL_FALSE; |
| 110 | |
| 111 | return IL_TRUE; |
| 112 | } |
| 113 | |
| 114 | |
| 115 | ILboolean DpxGetImageInfo(DPX_IMAGE_INFO *ImageInfo) |
no test coverage detected