//---------------------------------------------------------------------------- // License: See top level LICENSE.txt file. // // Author: David Burken, original code from Thomas G. Lane // // Description: // Code interfaces to use with jpeg-6b library to read a jpeg image from // memory. //---------------------------------------------------------------------------- // $Id$ #ifndef ossimJpegStdIOSrc_HEADER #define ossimJpegStdIOSrc_HEADER #include /** for OSSIM_DLL export macro */ extern "C" { #include /** for size_t */ #include /** for jmp_buf */ #include /** for jpeg stuff */ //#include //#include /** * @brief Method which uses memory instead of a FILE* to read from. * @note Used in place of "jpeg_stdio_src(&cinfo, infile)". */ OSSIM_DLL void ossimJpegStdIOSrc ( j_decompress_ptr cinfo, FILE* infile); } #endif /* #ifndef ossimJpegMemSrc_HEADER */