libopenraw
OpenRaw::Internals::Unpack Class Reference

#include <unpack.hpp>

Public Member Functions

 Unpack (uint32_t w, uint32_t t)
 Unpack (const Unpack &)=delete
Unpackoperator= (const Unpack &)=delete
size_t block_size ()
or_error unpack_be12to16 (uint8_t *dest, size_t destsize, const uint8_t *src, size_t size, size_t &outsize)

Detailed Description

Unpack class. Because we need to maintain a state

Definition at line 34 of file unpack.hpp.

Constructor & Destructor Documentation

◆ Unpack()

OpenRaw::Internals::Unpack::Unpack ( uint32_t w,
uint32_t t )

Definition at line 35 of file unpack.cpp.

Member Function Documentation

◆ block_size()

size_t OpenRaw::Internals::Unpack::block_size ( )

Definition at line 41 of file unpack.cpp.

◆ unpack_be12to16()

or_error OpenRaw::Internals::Unpack::unpack_be12to16 ( uint8_t * dest,
size_t destsize,
const uint8_t * src,
size_t size,
size_t & out )

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 unpack_be12to16().

Referenced by OpenRaw::Internals::MRWFile::_getRawData(), OpenRaw::Internals::RafFile::_getRawData(), OpenRaw::Internals::IfdFile::_unpackData(), and unpack_be12to16().


The documentation for this class was generated from the following files: