libopenraw
|
Classes | |
class | Private |
Public Types | |
typedef or_cfa_pattern | CfaPattern |
![]() | |
typedef ::or_data_type | DataType |
Public Member Functions | |
uint16_t | min () |
uint16_t | max () |
void | setMin (uint16_t _m) |
void | setMax (uint16_t _m) |
void | swap (RawData &with) |
virtual void * | allocData (const size_t s) |
virtual void | setDimensions (uint32_t x, uint32_t y) |
void | setCfaPattern (CfaPattern t) |
CfaPattern | cfaPattern () |
uint32_t | compression () |
void | setCompression (uint32_t c) |
void | setSlices (const std::vector< uint16_t > &slices) |
RawData & | append (uint16_t c) |
void | nextRow () |
![]() | |
void | swap (BitmapData &with) |
DataType | dataType () const |
void | setDataType (DataType _type) |
size_t | size () const |
void * | data () const |
uint32_t | x () const |
uint32_t | y () const |
uint32_t | bpc () const |
void | setBpc (uint32_t _bpc) |
Static Public Member Functions | |
static RawData * | getAndExtractRawData (const char *filename, uint32_t options, or_error &err) |
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 185 of file rawdata.cpp.
References OpenRaw::BitmapData::size().
void OpenRaw::RawData::nextRow | ( | ) |
Jump to next row. Take slicing into account.
Definition at line 196 of file rawdata.cpp.
|
virtual |
set the pixel dimensions of the bitmap
Reimplemented from OpenRaw::BitmapData.
Definition at line 132 of file rawdata.cpp.
References OpenRaw::BitmapData::setDimensions(), and OpenRaw::RawData::Private::sliceWidth.
Referenced by OpenRaw::Internals::MRWFile::_getRawData(), OpenRaw::Internals::CRWFile::_getRawData(), OpenRaw::Internals::IFDFile::_getRawDataFromDir(), OpenRaw::Internals::CrwDecompressor::decompress(), and OpenRaw::Internals::LJpegDecompressor::decompress().
void OpenRaw::RawData::swap | ( | RawData & | with | ) |
swap the two objects data.
Definition at line 117 of file rawdata.cpp.
References OpenRaw::BitmapData::swap().
Referenced by OpenRaw::Internals::DNGFile::_getRawData(), and OpenRaw::Internals::CRWFile::_getRawData().