MCPcopy Create free account
hub / github.com/DentonW/DevIL / GetImageElement

Function GetImageElement

DevIL/src-IL/src/il_dpx.cpp:92–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90
91
92ILboolean 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
115ILboolean DpxGetImageInfo(DPX_IMAGE_INFO *ImageInfo)

Callers 1

DpxGetImageInfoFunction · 0.85

Calls 2

GetBigUIntFunction · 0.85
GetBigUShortFunction · 0.85

Tested by

no test coverage detected