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_errors.hGo to the documentation of this file.00001 /*****************************************************************************/ 00002 // Copyright 2006-2007 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_errors.h#7 $ */ 00010 /* $DateTime: 2008/04/25 11:10:55 $ */ 00011 /* $Change: 449391 $ */ 00012 /* $Author: stern $ */ 00013 00018 /*****************************************************************************/ 00019 00020 #ifndef __dng_errors__ 00021 #define __dng_errors__ 00022 00023 /*****************************************************************************/ 00024 00025 #include "dng_types.h" 00026 00027 /*****************************************************************************/ 00028 00030 00031 typedef int32 dng_error_code; 00032 00033 enum 00034 { 00035 dng_error_none = 0, //< No error. Success. 00036 dng_error_unknown = 100000, //< Logic or program error or other unclassifiable error. 00037 dng_error_not_yet_implemented, //< Functionality requested is not yet implemented. 00038 dng_error_silent, //< An error which should not be signalled to user. 00039 dng_error_user_canceled, //< Processing stopped by user (or host application) request 00040 dng_error_host_insufficient, //< Necessary host functionality is not present. 00041 dng_error_memory, //< Out of memory. 00042 dng_error_bad_format, //< File format is not valid. 00043 dng_error_matrix_math, //< Matrix has wrong shape, is badly conditioned, or similar problem. 00044 dng_error_open_file, //< Could not open file. 00045 dng_error_read_file, //< Error reading file. 00046 dng_error_write_file, //< Error writing file. 00047 dng_error_end_of_file, //< Unexpected end of file. 00048 dng_error_file_is_damaged, //< File is damaged in some way. 00049 dng_error_image_too_big_dng, //< Image is too big to save as DNG. 00050 dng_error_image_too_big_tiff //< Image is too big to save as TIFF. 00051 }; 00052 00053 /*****************************************************************************/ 00054 00055 #endif 00056 00057 /*****************************************************************************/ |