OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
ossim-plugins
jpeg12
src
ossimJpegMemSrc12.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
//
8
// Code interfaces to use with jpeg-6b library to read a jpeg image from
9
// memory. Specialized for 12 bit compiled jpeg library.
10
//----------------------------------------------------------------------------
11
// $Id$
12
#ifndef ossimJpegMemSrc12_HEADER
13
#define ossimJpegMemSrc12_HEADER 1
14
15
#include <
ossim/base/ossimConstants.h
>
16
#include <cstdlib>
18
// Forword declarations to avoid jpeg includes in the header.
19
struct
jpeg12_decompress_struct;
20
21
extern
"C"
22
{
27
OSSIM_DLL
void
ossimJpegMemorySrc12
( jpeg12_decompress_struct* cinfo,
28
const
ossim_uint8
* buffer,
29
std::size_t bufsize );
30
}
31
32
#endif
/* #ifndef ossimJpegMemSrc12_HEADER */
ossimConstants.h
OSSIM_DLL
#define OSSIM_DLL
Definition:
ossimConstants.h:72
ossimJpegMemorySrc12
OSSIM_DLL void ossimJpegMemorySrc12(jpeg12_decompress_struct *cinfo, const ossim_uint8 *buffer, std::size_t bufsize)
Method which uses memory instead of a FILE* to read from.
ossim_uint8
unsigned char ossim_uint8
Definition:
ossimConstants.h:227
Generated on Fri Aug 3 2018 08:46:49 for OSSIM - Open Source Software Image Map by
1.8.14