dcmjpls/libcharls/intrface.h

00001 //
00002 // (C) Jan de Vaan 2007-2010, all rights reserved. See the accompanying "License.txt" for licensed use.
00003 //
00004 
00005 
00006 #ifndef JLS_INTERFACE
00007 #define JLS_INTERFACE
00008 
00009 #include "pubtypes.h"
00010 #include "dcmtk/ofstd/ofstd.h" /* for size_t */
00011 
00012 #ifndef CHARLS_IMEXPORT
00013 #define CHARLS_IMEXPORT(returntype) returntype
00014 #endif
00015 
00016 
00017 #ifdef __cplusplus
00018 extern "C"
00019 {
00020 #endif
00021   CHARLS_IMEXPORT(enum JLS_ERROR) JpegLsEncode(void* compressedData, size_t compressedLength, size_t* pcbyteWritten,
00022         const void* uncompressedData, size_t uncompressedLength, struct JlsParameters* pparams);
00023 
00024   CHARLS_IMEXPORT(enum JLS_ERROR) JpegLsDecode(void* uncompressedData, size_t uncompressedLength,
00025         const void* compressedData, size_t compressedLength,
00026         struct JlsParameters* info);
00027 
00028 
00029   CHARLS_IMEXPORT(enum JLS_ERROR) JpegLsDecodeRect(void* uncompressedData, size_t uncompressedLength,
00030         const void* compressedData, size_t compressedLength,
00031         struct JlsRect rect, struct JlsParameters* info);
00032 
00033   CHARLS_IMEXPORT(enum JLS_ERROR) JpegLsReadHeader(const void* uncompressedData, size_t uncompressedLength,
00034         struct JlsParameters* pparams);
00035 
00036   CHARLS_IMEXPORT(enum JLS_ERROR) JpegLsVerifyEncode(const void* uncompressedData, size_t uncompressedLength,
00037         const void* compressedData, size_t compressedLength);
00038 
00039 #ifdef __cplusplus
00040 }
00041 #endif
00042 
00043 #endif


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1