/usr/include/ossim/imaging/ossimJpegStdIOSrc.h is in libossim-dev 2.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | //----------------------------------------------------------------------------
// 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 <ossim/base/ossimConstants.h> /** for OSSIM_DLL export macro */
#include <cstdio> /* For FILE* */
struct jpeg_decompress_struct;
extern "C"
{
// #include <cstdio> /** for size_t */
// #include <csetjmp> /** for jmp_buf */
// #include <jpeglib.h> /** for jpeg stuff */
//#include <jinclude.h>
//#include <jerror.h>
/**
* @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);
*/
OSSIM_DLL void ossimJpegStdIOSrc ( jpeg_decompress_struct* cinfo,
FILE* infile);
}
#endif /* #ifndef ossimJpegMemSrc_HEADER */
|