rawdata.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef __LIBOPENRAW_RAWDATA_H_
00024 #define __LIBOPENRAW_RAWDATA_H_
00025
00026 #include <libopenraw/types.h>
00027
00028 #ifdef __cplusplus
00029 extern "C" {
00030 #endif
00031
00032 typedef struct _RawData *ORRawDataRef;
00033
00039 or_error or_get_extract_rawdata(const char* filename, uint32_t options,
00040 ORRawDataRef *rawdata);
00041
00042 ORRawDataRef
00043 or_rawdata_new(void);
00044
00045 or_error
00046 or_rawdata_release(ORRawDataRef rawdata);
00047
00048 or_data_type
00049 or_rawdata_format(ORRawDataRef rawdata);
00050
00051 void *
00052 or_rawdata_data(ORRawDataRef rawdata);
00053
00054 size_t
00055 or_rawdata_data_size(ORRawDataRef rawdata);
00056
00057 void
00058 or_rawdata_dimensions(ORRawDataRef rawdata,
00059 uint32_t *x, uint32_t *y);
00060
00061 uint32_t
00062 or_rawdata_bpc(ORRawDataRef rawdata);
00063
00067 or_cfa_pattern
00068 or_rawdata_get_cfa_pattern(ORRawDataRef rawdata);
00069
00070 #ifdef __cplusplus
00071 }
00072 #endif
00073
00074 #endif