00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef __LIBOPENRAW_RAWFILE_H_
00023 #define __LIBOPENRAW_RAWFILE_H_
00024
00025 #include <libopenraw/types.h>
00026 #include <libopenraw/rawdata.h>
00027 #include <libopenraw/thumbnails.h>
00028 #include <libopenraw/metadata.h>
00029
00030 #ifdef __cplusplus
00031 extern "C" {
00032 #endif
00033
00034 typedef struct _RawFile *ORRawFileRef;
00035
00036 ORRawFileRef
00037 or_rawfile_new(const char* filename, or_rawfile_type type);
00038
00039 or_error
00040 or_rawfile_release(ORRawFileRef rawfile);
00041
00042 or_rawfile_type
00043 or_rawfile_get_type(ORRawFileRef rawfile);
00044
00045 or_error
00046 or_rawfile_get_thumbnail(ORRawFileRef rawfile, uint32_t preferred_size,
00047 ORThumbnailRef thumb);
00048
00049 or_error
00050 or_rawfile_get_rawdata(ORRawFileRef rawfile, ORRawDataRef rawdata,
00051 uint32_t options);
00052
00058 int32_t
00059 or_rawfile_get_orientation(ORRawFileRef rawfile);
00060
00061 #if 0
00062
00066 ORConstMetaValueRef
00067 or_rawfile_get_metavalue(ORRawFileRef rawfile, int32_t meta_index);
00068
00074 XmpPtr
00075 or_rawfile_get_xmp(ORRawFileRef rawfile);
00076
00077 #endif
00078
00079 #ifdef __cplusplus
00080 }
00081 #endif
00082
00083 #endif