libopenraw
Public Member Functions | List of all members
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.

Member Function Documentation

◆ 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.

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


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