|
libopenraw
0.3.7
|
#include <unpack.hpp>
Public Member Functions | |
| Unpack (uint32_t w, uint32_t t) | |
| Unpack (const Unpack &)=delete | |
| Unpack & | operator= (const Unpack &)=delete |
| size_t | block_size () const |
| or_error | unpack_be12to16 (uint16_t *dest, size_t destsize, const uint8_t *src, size_t size, size_t &outsize) const |
| or_error | unpack_le12to16 (uint16_t *dest, size_t destsize, const uint8_t *src, size_t size, size_t &out) const |
Unpack class. Because we need to maintain a state
Definition at line 33 of file unpack.hpp.
| or_error OpenRaw::Internals::Unpack::unpack_be12to16 | ( | uint16_t * | dest, |
| size_t | destsize, | ||
| const uint8_t * | src, | ||
| size_t | size, | ||
| size_t & | out | ||
| ) | const |
source is in BE byte order the output is always 16-bits values in native (host) byte order. the source must correspond to an image row.
Definition at line 58 of file unpack.cpp.
References OR_ERROR_DECOMPRESSION, and OR_ERROR_NONE.
Referenced by OpenRaw::Internals::MRWFile::_getRawData(), and OpenRaw::Internals::IfdFile::_unpackData().
| or_error OpenRaw::Internals::Unpack::unpack_le12to16 | ( | uint16_t * | dest, |
| size_t | destsize, | ||
| const uint8_t * | src, | ||
| size_t | size, | ||
| size_t & | out | ||
| ) | const |
source is in LE byte order the output is always 16-bits values in native (host) byte order. the source must correspond to an image row.
Definition at line 117 of file unpack.cpp.
References OR_ERROR_DECOMPRESSION, and OR_ERROR_NONE.