|
libopenraw
|
Classes | |
| class | Private |
Public Member Functions | |
| RawData (const RawData &f)=delete | |
| RawData & | operator= (const RawData &)=delete |
| ::or_error | getRenderedImage (BitmapData &bitmapdata, uint32_t options) |
| uint16_t | blackLevel () const |
| uint16_t | whiteLevel () const |
| void | setBlackLevel (uint16_t _m) |
| void | setWhiteLevel (uint16_t _m) |
| void | setPhotometricInterpretation (ExifPhotometricInterpretation pi) |
| ExifPhotometricInterpretation | getPhotometricInterpretation () const |
| const double * | getColourMatrix1 (uint32_t &size) const |
| void | setColourMatrix1 (const double *matrix, uint32_t size) |
| const double * | getColourMatrix2 (uint32_t &size) const |
| void | setColourMatrix2 (const double *matrix, uint32_t size) |
| void | swap (RawData &with) |
| virtual void * | allocData (const size_t s) override |
| virtual void | setDimensions (uint32_t x, uint32_t y) override |
| void | setCfaPatternType (::or_cfa_pattern t) |
| const CfaPattern * | cfaPattern () const |
| void | setCfaPattern (const CfaPattern *pattern) |
| uint32_t | compression () const |
| void | setCompression (uint32_t c) |
| void | setSlices (const std::vector< uint16_t > &slices) |
| RawData & | append (uint16_t c) |
| void | nextRow () |
Public Member Functions inherited from OpenRaw::BitmapData | |
| void | swap (BitmapData &with) |
| DataType | dataType () const |
| void | setDataType (DataType _type) |
| size_t | size () const |
| void * | data () const |
| OR_DEPRECATED uint32_t | x () const |
| uint32_t | width () const |
| OR_DEPRECATED uint32_t | y () const |
| uint32_t | height () const |
| uint32_t | bpc () const |
| void | setBpc (uint32_t _bpc) |
| uint32_t | roi_x () const |
| uint32_t | roi_y () const |
| uint32_t | roi_width () const |
| uint32_t | roi_height () const |
| void | setRoi (uint32_t x, uint32_t y, uint32_t w, uint32_t h) |
Static Public Member Functions | |
| static RawData * | getAndExtractRawData (const char *filename, uint32_t options, or_error &err) |
Additional Inherited Members | |
Public Types inherited from OpenRaw::BitmapData | |
| typedef ::or_data_type | DataType |
Definition at line 35 of file rawdata.hpp.
| RawData & OpenRaw::RawData::append | ( | uint16_t | c | ) |
append a uint8_t at the current position append a uint18_t at the current position
Definition at line 318 of file rawdata.cpp.
References OpenRaw::BitmapData::size().
| const CfaPattern * OpenRaw::RawData::cfaPattern | ( | ) | const |
Definition at line 287 of file rawdata.cpp.
Referenced by OpenRaw::Internals::CRWFile::_getRawData(), OpenRaw::Internals::DngFile::_getRawData(), OpenRaw::Internals::OrfFile::_getRawData(), and getRenderedImage().
| const double * OpenRaw::RawData::getColourMatrix1 | ( | uint32_t & | size | ) | const |
Get colour matrix 1
| index | The matrix index. |
| size | the size of the buffer. |
Definition at line 211 of file rawdata.cpp.
References OpenRaw::RawData::Private::colourMatrix.
Referenced by OpenRaw::RawFile::getRawData().
| const double * OpenRaw::RawData::getColourMatrix2 | ( | uint32_t & | size | ) | const |
Get colour matrix 2
| index | The matrix index. |
| size | the size of the buffer. |
Definition at line 228 of file rawdata.cpp.
| or_error OpenRaw::RawData::getRenderedImage | ( | BitmapData & | bitmapdata, |
| uint32_t | options | ||
| ) |
Get the rendered image
| bitmapdata | the BitmapData to put the image into |
| options | the option bits. Pass 0 for now. |
Definition at line 125 of file rawdata.cpp.
References cfaPattern(), OpenRaw::BitmapData::dataType(), OpenRaw::CfaPattern::patternType(), OpenRaw::BitmapData::setDataType(), and OpenRaw::BitmapData::setDimensions().
Referenced by OpenRaw::RawFile::getRenderedImage().
| void OpenRaw::RawData::nextRow | ( | ) |
Jump to next row. Take slicing into account.
Definition at line 328 of file rawdata.cpp.
|
overridevirtual |
set the pixel dimensions of the bitmap
Reimplemented from OpenRaw::BitmapData.
Definition at line 260 of file rawdata.cpp.
References OpenRaw::BitmapData::setDimensions(), and OpenRaw::RawData::Private::sliceWidth.
Referenced by OpenRaw::Internals::CRWFile::_getRawData(), OpenRaw::Internals::MRWFile::_getRawData(), OpenRaw::Internals::OrfFile::_getRawData(), OpenRaw::Internals::RafFile::_getRawData(), and OpenRaw::Internals::IfdFile::_getRawDataFromDir().
| void OpenRaw::RawData::swap | ( | RawData & | with | ) |
swap the two objects data.
Definition at line 245 of file rawdata.cpp.
References OpenRaw::BitmapData::swap().
Referenced by OpenRaw::Internals::CRWFile::_getRawData(), OpenRaw::Internals::DngFile::_getRawData(), and OpenRaw::Internals::OrfFile::_getRawData().