DocumentationOverviewBuilding ASL Documentation Library Wiki Docs Indices Browse Perforce More InfoRelease NotesWiki Site Search License Success Stories Contributors MediaDownloadPerforce Depots SupportASL SourceForge HomeMailing Lists Discussion Forums Report Bugs Suggest Features Contribute to ASL RSSShort-text newsFull-text news File releases Other Adobe ProjectsAdobe AirAdobe GIL Adobe Labs Adobe Media Gallery Adobe XMP Tamarin project (Mozilla Foundation) Other ResourcesBoostRIAForge SGI STL |
dng_lossless_jpeg.hGo to the documentation of this file.00001 /*****************************************************************************/ 00002 // Copyright 2006 Adobe Systems Incorporated 00003 // All Rights Reserved. 00004 // 00005 // NOTICE: Adobe permits you to use, modify, and distribute this file in 00006 // accordance with the terms of the Adobe license agreement accompanying it. 00007 /*****************************************************************************/ 00008 00009 /* $Id: //mondo/workarea/stern/camera_raw/dng_sdk/source/dng_lossless_jpeg.h#4 $ */ 00010 /* $DateTime: 2008/03/13 03:18:37 $ */ 00011 /* $Change: 433405 $ */ 00012 /* $Author: stern $ */ 00013 00018 /*****************************************************************************/ 00019 00020 #ifndef __dng_lossless_jpeg__ 00021 #define __dng_lossless_jpeg__ 00022 00023 /*****************************************************************************/ 00024 00025 #include "dng_classes.h" 00026 #include "dng_types.h" 00027 00028 /*****************************************************************************/ 00029 00030 class dng_spooler 00031 { 00032 00033 protected: 00034 00035 virtual ~dng_spooler () 00036 { 00037 } 00038 00039 public: 00040 00041 virtual void Spool (const void *data, 00042 uint32 count) = 0; 00043 00044 }; 00045 00046 /*****************************************************************************/ 00047 00048 void DecodeLosslessJPEG (dng_stream &stream, 00049 dng_spooler &spooler, 00050 uint32 minDecodedSize, 00051 uint32 maxDecodedSize, 00052 bool bug16); 00053 00054 /*****************************************************************************/ 00055 00056 void EncodeLosslessJPEG (const uint16 *srcData, 00057 uint32 srcRows, 00058 uint32 srcCols, 00059 uint32 srcChannels, 00060 uint32 srcBitDepth, 00061 int32 srcRowStep, 00062 int32 srcColStep, 00063 dng_stream &stream); 00064 00065 /*****************************************************************************/ 00066 00067 #endif 00068 00069 /*****************************************************************************/ |