OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimJpegStdIOSrc.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 // License: See top level LICENSE.txt file.
3 //
4 // Author: David Burken, original code from Thomas G. Lane
5 //
6 // Description:
7 // Code interfaces to use with jpeg-6b library to read a jpeg image from
8 // memory.
9 //----------------------------------------------------------------------------
10 // $Id$
11 #ifndef ossimJpegStdIOSrc_HEADER
12 #define ossimJpegStdIOSrc_HEADER
13 
15 #include <cstdio> /* For FILE* */
16 
17 struct jpeg_decompress_struct;
18 
19 extern "C"
20 {
21 // #include <cstdio> /** for size_t */
22 // #include <csetjmp> /** for jmp_buf */
23 // #include <jpeglib.h> /** for jpeg stuff */
24  //#include <jinclude.h>
25  //#include <jerror.h>
30  /*
31  OSSIM_DLL void ossimJpegStdIOSrc ( j_decompress_ptr cinfo,
32  FILE* infile);
33  */
34 
35  OSSIM_DLL void ossimJpegStdIOSrc ( jpeg_decompress_struct* cinfo,
36  FILE* infile);
37 
38 }
39 #endif /* #ifndef ossimJpegMemSrc_HEADER */
OSSIM_DLL void ossimJpegStdIOSrc(jpeg_decompress_struct *cinfo, FILE *infile)
Method which uses memory instead of a FILE* to read from.
#define OSSIM_DLL