Re-exports§
pub use self::_debug_level as debug_level;
Structs§
- ORRational
- @brief Unsigned rational as a fraction
- ORSRational
- @brief Signed rational as a fraction
- _Bitmap
Data - _IfdDir
- _Meta
Value - _Metadata
Iterator - _Mosaic
Info - _Raw
Data - _Raw
File - _Thumbnail
Enums§
- Exif
Lightsource Value - Exif
TagType - Type for Exif field/tag @note taken from libexif
- _OR_
TYPEID_ VENDOR_ ADOBE - @brief Adobe type ID
- _OR_
TYPEID_ VENDOR_ APPLE - _OR_
TYPEID_ VENDOR_ BLACKMAGIC - _OR_
TYPEID_ VENDOR_ CANON - @brief Canon type IDs
- _OR_
TYPEID_ VENDOR_ DJI - _OR_
TYPEID_ VENDOR_ EPSON - @brief Epson type IDs
- _OR_
TYPEID_ VENDOR_ FUJIFILM - @brief Fujifilm type IDs
- _OR_
TYPEID_ VENDOR_ GOPRO - _OR_
TYPEID_ VENDOR_ HASSELBLAD - _OR_
TYPEID_ VENDOR_ LEICA - @brief Leica type IDs
- _OR_
TYPEID_ VENDOR_ MINOLTA - @brief Minolta type IDs
- _OR_
TYPEID_ VENDOR_ NIKON - @brief Nikon type IDs
- _OR_
TYPEID_ VENDOR_ OLYMPUS - @brief Olympus (and its successor OM Digital Solutions type IDs
- _OR_
TYPEID_ VENDOR_ PANASONIC - @brief Panasonic type IDs
- _OR_
TYPEID_ VENDOR_ PENTAX - @brief Pentax type IDs
- _OR_
TYPEID_ VENDOR_ RICOH - @brief Ricoh type IDs
- _OR_
TYPEID_ VENDOR_ SAMSUNG - @brief Samsung type IDs
- _OR_
TYPEID_ VENDOR_ SIGMA - _OR_
TYPEID_ VENDOR_ SONY - @brief Sony type IDs
- _OR_
TYPEID_ VENDOR_ XIAOYI - _OR_
TYPEID_ VENDOR_ ZEISS - _debug_
level - @brief Debug levels.
- or_
cfa_ pattern - @brief CFA pattern types
- or_
cfa_ pattern_ colour - @brief CFA colour components
- or_
colour_ matrix_ origin - @brief Where the colour matrix comes from. Typically DNG is provided. The others are built-in.
- or_
data_ type - @brief Data types
- or_
error - @brief Error codes returned by libopenraw.
- or_
ifd_ dir_ type - @brief Type of IfdDir
- or_
options - @brief Options
- or_
rawfile_ type - @brief Types of RAW files
Constants§
- _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ ADOBE - < Generic DNG files.
- _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ APPLE - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ BLACKMAGIC - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ CANON - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ DJI - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ EPSON - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ FUJIFILM - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ GOPRO - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ HASSELBLAD - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ LEICA - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ MAMIYA - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ MINOLTA - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ NIKON - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ NONE - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ OLYMPUS - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ PANASONIC - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ PENTAX - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ RICOH - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ SAMSUNG - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ SIGMA - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ SONY - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ XIAOYI - _OR_
TYPE_ ID_ VENDOR_ OR_ TYPEID_ VENDOR_ ZEISS - _OR_
TYPE_ ID_ VENDOR__ OR_ TYPEID_ VENDOR_ LAST
Functions§
- or_
bitmapdata_ ⚠bpc - or_
bitmapdata_ ⚠data - or_
bitmapdata_ ⚠data_ size - or_
bitmapdata_ ⚠dimensions - or_
bitmapdata_ ⚠format - or_
bitmapdata_ ⚠new - or_
bitmapdata_ ⚠release - or_
debug_ ⚠set_ level - @brief Set the debug level.
- or_
get_ ⚠extract_ rawdata - @brief Extract the RAW data from the raw file. @param filename the raw file name @param options the options to pass @param rawdata the destination RawData. Must allocated.
- or_
get_ ⚠extract_ thumbnail - @brief Extract thumbnail for raw file
- or_
get_ ⚠file_ extensions - @brief Return a NULL terminated list of extensions that the library supposedly handle.
- or_
ifd_ ⚠count_ tags - Count the number of tags in the ifd
- or_
ifd_ ⚠get_ makernote_ id - or_
ifd_ ⚠get_ tag_ name - or_
ifd_ ⚠get_ type - or_
ifd_ ⚠release - or_
metadata_ ⚠iterator_ free - @brief Free the iterator @param iterator The iterator to free.
- or_
metadata_ ⚠iterator_ get_ entry - @brief Get the metadata entry from the iterator.
- or_
metadata_ ⚠iterator_ next - @brief Move to the next metadata value @param iterator The metadata iterator. @return 0 if no more.
- or_
metavalue_ ⚠get_ as_ string - @brief Convert the %MetaValue to a string.
- or_
metavalue_ ⚠get_ count - @brief Get the value count
- or_
metavalue_ ⚠get_ string - @brief Get the string out of the %MetaValue.
- or_
metavalue_ ⚠release - @brief Free the %MetaValue
- or_
mosaicinfo_ ⚠get_ pattern - @brief Get the pattern.
- or_
mosaicinfo_ ⚠get_ size - @brief Get the size of the mosaic
- or_
mosaicinfo_ ⚠get_ type - @brief Get the type of the mosaic
- or_
mosaicinfo_ ⚠set_ size - @brief Set the size of the mosaic
- or_
rawdata_ ⚠bpc - @brief Return the bits per component
- or_
rawdata_ ⚠data - @brief Get a pointer to the RAW data
- or_
rawdata_ ⚠data_ size - @brief Get the size of the RAW data in bytes
- or_
rawdata_ ⚠dimensions - @brief Get the RAW data dimensions in pixels @param [out] x the horizontal dimension @param [out] y the vertical dimension
- or_
rawdata_ ⚠format - @brief Get the format of the RAW data
- or_
rawdata_ ⚠get_ active_ area - @brief Get the active area for the raw data.
- or_
rawdata_ ⚠get_ cfa_ pattern_ type - @brief Return the bayer type for the raw data.
- or_
rawdata_ ⚠get_ colour_ matrix - @brief Get the colour matrix. @param rawdata the raw data object @param index the matrix index. @param [out] size of %matrix. Returns the actual size. @return the matrix. Pointer is owned by the RawData.
- or_
rawdata_ ⚠get_ compression - @brief Return the compression type for the RawData.
- or_
rawdata_ ⚠get_ levels - @brief Return the levels values for the raw data.
- or_
rawdata_ ⚠get_ mosaicinfo - @brief Return the mosaic info
- or_
rawdata_ ⚠get_ rendered_ image - @brief Get the rendered image from the raw data @param rawdata the raw data. @param bitmapdata the preallocated bitmap data. @param options option for rendering. Pass 0 for now. @return an error code, %OR_ERROR_NONE in case of success.
- or_
rawdata_ ⚠new - @brief Allocate a new RawData @return A newly allocated RawData. Must be released by %or_rawdata_release
- or_
rawdata_ ⚠release - @brief Release the rawdata
- or_
rawfile_ ⚠get_ calibration_ illuminant1 - @brief Get calibration illuminant for the first colour matrix.
- or_
rawfile_ ⚠get_ calibration_ illuminant2 - @brief Get calibration illuminant for the second colour matrix.
- or_
rawfile_ ⚠get_ colour_ matrix_ origin - @brief Get the colour matrix origin for file.
- or_
rawfile_ ⚠get_ colourmatrix1 - @brief Get the first colour matrix.
- or_
rawfile_ ⚠get_ colourmatrix2 - @brief Get the second colour matrix.
- or_
rawfile_ ⚠get_ ifd - @brief Get an IFD directory
- or_
rawfile_ ⚠get_ metadata_ iterator - @brief Get a metadata iterator.
- or_
rawfile_ ⚠get_ metavalue - @brief Get the metadata value @param rawfile the RawFile object. @param meta_index the index value which a bit OR between a namespace and an index @return a const MetaValue, owned by the %RawFile
- or_
rawfile_ ⚠get_ orientation - @brief Get the orientation.
- or_
rawfile_ ⚠get_ rawdata - @brief Get the RawData out of the RawFile.
- or_
rawfile_ ⚠get_ rendered_ image - @brief Get the rendered image from the raw file @param rawfile The raw file. @param rawdata The preallocated bitmap data. @param options Option for rendering. Pass %OR_OPTIONS_NONE for now. @return An error code. %OR_ERROR_NOTAREF is %rawfile is NULL.
- or_
rawfile_ ⚠get_ thumbnail - @brief Get a thumbnail from a RawFile..
- or_
rawfile_ ⚠get_ thumbnail_ sizes - @brief Get the the array of thumbnail sizes.
- or_
rawfile_ ⚠get_ type - @brief Get the %RawFile type
- or_
rawfile_ ⚠get_ typeid - @brief Return the type id to identify the exact file type.
- or_
rawfile_ ⚠get_ vendorid - @brief Return the type id to identify the vendor.
- or_
rawfile_ ⚠new - @brief Create a new %RawFile object from a file. @param filename The path to the file to open. @param type The hint for the file type. Pass %OR_RAWFILE_TYPE_UNKNOWN to let the library guess. @return A new allocated RawFile pointer. Must be freed with %or_rawfile_release().
- or_
rawfile_ ⚠new_ from_ memory - @brief Create a new %RawFile object from a memory buffer. @param buffer The memory buffer: bytes from the RAW file. @param len The length of the memory buffer in bytes. @param type The hint for the file type. Pass %OR_RAWFILE_TYPE_UNKNOWN to let the library guess. @return A new allocated RawFile pointer. Must be freed with %or_rawfile_release().
- or_
rawfile_ ⚠release - @brief Release the %RawFile. @param [in] rawfile The %RawFile object to release. @return An error code. %OR_ERROR_NOT_AREF if the pointer is NULL.
- or_
thumbnail_ ⚠data - @brief Get the pointer to the data.
- or_
thumbnail_ ⚠data_ size - @brief Get the data size.
- or_
thumbnail_ ⚠dimensions - @brief Get the %Thumbnail dimensions in pixels.
- or_
thumbnail_ ⚠format - @brief Get the thumbnail format.
- or_
thumbnail_ ⚠new - @brief Allocate a Thumbnail object.
- or_
thumbnail_ ⚠release - @brief Release a Thumbnail object.
Type Aliases§
- ORBitmap
Data Ref - ORConst
Meta Value Ref - ORIfd
DirRef - ORMeta
Value Ref - ORMetadata
Iterator Ref - ORMosaic
Info Ref - @brief A MosaicInfo object
- ORRaw
Data Ref - ORRaw
File Ref - ORThumbnail
Ref - _OR_
TYPE_ ID_ VENDOR - @brief The vendor ID: the high order 16-bits of the or_rawfile_typeid
- or_
rawfile_ typeid - @brief This is the type ID, a combination of vendor model It maps a specific camera. Only for the NATIVE file format.