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

Function ilLoadJpegF

DevIL/src-IL/src/il_jpeg.cpp:188–199  ·  view source on GitHub ↗

Reads an already-opened jpeg file

Source from the content-addressed store, hash-verified

186
187//! Reads an already-opened jpeg file
188ILboolean ilLoadJpegF(ILHANDLE File)
189{
190 ILboolean bRet;
191 ILuint FirstPos;
192
193 iSetInputFile(File);
194 FirstPos = itell();
195 bRet = iLoadJpegInternal();
196 iseek(FirstPos, IL_SEEK_SET);
197
198 return bRet;
199}
200
201
202// Reads from a memory "lump" containing a jpeg

Callers 2

ilLoadJpegFunction · 0.85
ILAPIENTRY ilLoadFFunction · 0.85

Calls 2

iSetInputFileFunction · 0.85
iLoadJpegInternalFunction · 0.85

Tested by

no test coverage detected