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

Function ilIsValidJpegF

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

Checks if the ILHANDLE contains a valid .jpg file at the current position.

Source from the content-addressed store, hash-verified

129
130//! Checks if the ILHANDLE contains a valid .jpg file at the current position.
131ILboolean ilIsValidJpegF(ILHANDLE File)
132{
133 ILuint FirstPos;
134 ILboolean bRet;
135
136 iSetInputFile(File);
137 FirstPos = itell();
138 bRet = iIsValidJpeg();
139 iseek(FirstPos, IL_SEEK_SET);
140
141 return bRet;
142}
143
144
145ILboolean ilIsValidJpegL(const void *Lump, ILuint Size)

Callers 3

ilIsValidJpegFunction · 0.85
ILAPIENTRY ilIsValidFFunction · 0.85

Calls 2

iSetInputFileFunction · 0.85
iIsValidJpegFunction · 0.85

Tested by

no test coverage detected