Module libopenraw_sys::ffi_libopenraw
source · Re-exports
pub use self::_debug_level as debug_level;
Structs
@brief Unsigned rational as a fraction
@brief Signed rational as a fraction
Enums
Type for Exif field/tag
@note taken from libexif
@brief Adobe type ID
@brief Canon type IDs
@brief Epson type IDs
@brief Fujifilm type IDs
@brief Leica type IDs
@brief Minolta type IDs
@brief Nikon type IDs
@brief Olympus (and its successor OM Digital Solutions type IDs
@brief Panasonic type IDs
@brief Pentax type IDs
@brief Ricoh type IDs
@brief Samsung type IDs
@brief Sony type IDs
@brief Debug levels.
@brief CFA pattern types
@brief CFA colour components
@brief Where the colour matrix comes from.
Typically DNG is provided. The others are built-in.
@brief Data types
@brief Error codes returned by libopenraw.
@brief Type of IfdDir
@brief Options
@brief Types of RAW files
Constants
< Generic DNG files.
Functions
@brief Set the debug level.
@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.
@brief Extract thumbnail for raw file
@brief Return a NULL terminated list of extensions that the library supposedly handle.
Count the number of tags in the ifd
@brief Free the iterator
@param iterator The iterator to free.
@brief Get the metadata entry from the iterator.
@brief Move to the next metadata value
@param iterator The metadata iterator.
@return 0 if no more.
@brief Convert the %MetaValue to a string.
@brief Get the value count
@brief Get the string out of the %MetaValue.
@brief Free the %MetaValue
@brief Get the pattern.
@brief Get the size of the mosaic
@brief Get the type of the mosaic
@brief Set the size of the mosaic
@brief Return the bits per component
@brief Get a pointer to the RAW data
@brief Get the size of the RAW data in bytes
@brief Get the RAW data dimensions in pixels
@param [out] x the horizontal dimension
@param [out] y the vertical dimension
@brief Get the format of the RAW data
@brief Get the active area for the raw data.
@brief Return the bayer type for the raw data.
@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.
@brief Return the compression type for the RawData.
@brief Return the levels values for the raw data.
@brief Return the mosaic info
@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.
@brief Allocate a new RawData
@return A newly allocated RawData. Must be released by %or_rawdata_release
@brief Release the rawdata
@brief Get calibration illuminant for the first colour matrix.
@brief Get calibration illuminant for the second colour matrix.
@brief Get the colour matrix origin for file.
@brief Get the first colour matrix.
@brief Get the second colour matrix.
@brief Get an IFD directory
@brief Get a metadata iterator.
@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
@brief Get the orientation.
@brief Get the RawData out of the RawFile.
@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.
@brief Get a thumbnail from a RawFile..
@brief Get the the array of thumbnail sizes.
@brief Get the %RawFile type
@brief Return the type id to identify the exact file type.
@brief Return the type id to identify the vendor.
@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().
@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().
@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.
@brief Get the pointer to the data.
@brief Get the data size.
@brief Get the %Thumbnail dimensions in pixels.
@brief Get the thumbnail format.
@brief Allocate a Thumbnail object.
@brief Release a Thumbnail object.
Type Definitions
@brief A MosaicInfo object
@brief The vendor ID: the high order 16-bits of the 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.