libopenraw
|
Classes | |
class | Private |
Public Types | |
typedef ::or_data_type | DataType |
Public Member Functions | |
void | swap (BitmapData &with) |
DataType | dataType () const |
void | setDataType (DataType _type) |
virtual void * | allocData (const size_t s) |
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) |
virtual void | setDimensions (uint32_t x, uint32_t y) |
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) |
Definition at line 31 of file bitmapdata.hpp.
uint32_t OpenRaw::BitmapData::bpc | ( | ) | const |
bit per channel
Definition at line 159 of file bitmapdata.cpp.
Referenced by OpenRaw::Internals::NefFile::isCompressed().
BitmapData::DataType OpenRaw::BitmapData::dataType | ( | ) | const |
return the data type
Definition at line 95 of file bitmapdata.cpp.
Referenced by OpenRaw::RawData::getRenderedImage().
uint32_t OpenRaw::BitmapData::roi_x | ( | ) | const |
retrieve the region of interest within the data the only guarantee is that if the width or height is 0 when setting the dimensions the first time they'll be set to width() and height()
Definition at line 181 of file bitmapdata.cpp.
void OpenRaw::BitmapData::setBpc | ( | uint32_t | _bpc | ) |
set bit per channel
Definition at line 164 of file bitmapdata.cpp.
Referenced by OpenRaw::Internals::MRWFile::_getRawData(), OpenRaw::Internals::IfdFile::_getRawDataFromDir(), and OpenRaw::Internals::NefFile::isCompressed().
void OpenRaw::BitmapData::setDataType | ( | BitmapData::DataType | _type | ) |
set the data type
Definition at line 100 of file bitmapdata.cpp.
Referenced by OpenRaw::Internals::MRWFile::_enumThumbnailSizes(), OpenRaw::Internals::DngFile::_getRawData(), OpenRaw::Internals::OrfFile::_getRawData(), OpenRaw::Internals::RafFile::_getRawData(), OpenRaw::Internals::MRWFile::_getRawData(), OpenRaw::Internals::CRWFile::_getRawData(), OpenRaw::Internals::IfdFile::_getRawDataFromDir(), OpenRaw::RawFile::_getThumbnail(), OpenRaw::RawData::getRenderedImage(), and OpenRaw::Internals::NefFile::isCompressed().
|
virtual |
set the pixel dimensions of the bitmap
Reimplemented in OpenRaw::RawData.
Definition at line 169 of file bitmapdata.cpp.
Referenced by OpenRaw::Internals::MRWFile::_enumThumbnailSizes(), OpenRaw::RawFile::_getThumbnail(), OpenRaw::RawData::getRenderedImage(), OpenRaw::RawData::setDimensions(), and OpenRaw::Internals::JfifContainer::~JfifContainer().
size_t OpenRaw::BitmapData::size | ( | ) | const |
return the size of the data
Definition at line 129 of file bitmapdata.cpp.
Referenced by OpenRaw::Internals::DngFile::_getRawData(), OpenRaw::Internals::OrfFile::_getRawData(), OpenRaw::Internals::CRWFile::_getRawData(), OpenRaw::RawData::append(), and OpenRaw::Internals::NefFile::isCompressed().
void OpenRaw::BitmapData::swap | ( | BitmapData & | with | ) |
swap the two objects data.
Definition at line 90 of file bitmapdata.cpp.
Referenced by OpenRaw::RawData::swap().
uint32_t OpenRaw::BitmapData::x | ( | ) | const |
width of the image data
Definition at line 139 of file bitmapdata.cpp.
uint32_t OpenRaw::BitmapData::y | ( | ) | const |
height of the image data
Definition at line 149 of file bitmapdata.cpp.