|
RawSpeed
fast raw decoding library
|
#include "tiff/CiffEntry.h"
Public Member Functions | |
| ByteStream | getData () const |
| uint8_t | getByte (uint32_t num=0) const |
| uint32_t | getU32 (uint32_t num=0) const |
| uint16_t | getU16 (uint32_t num=0) const |
| std::string_view | getString () const |
| std::vector< std::string > | getStrings () const |
| uint32_t RAWSPEED_READONLY | getElementSize () const |
| bool RAWSPEED_READONLY | isInt () const |
| bool RAWSPEED_READONLY | isString () const |
Static Public Member Functions | |
| static CiffEntry | Create (NORangesSet< Buffer > *valueDatas, ByteStream valueData, ByteStream dirEntry) |
| static uint32_t | getElementShift (CiffDataType type) RAWSPEED_READONLY |
Public Attributes | |
| CiffTag | tag |
| CiffDataType | type |
| uint32_t | count |
Private Member Functions | |
| CiffEntry (ByteStream data, CiffTag tag, CiffDataType type, uint32_t count) | |
Private Attributes | |
| ByteStream | data |
Friends | |
| class | CiffIFD |
Definition at line 54 of file CiffEntry.h.
|
private |
|
static |
Definition at line 45 of file CiffEntry.cpp.
References CiffEntry(), count, data, getElementShift(), rawspeed::ByteStream::getPosition(), rawspeed::ByteStream::getStream(), rawspeed::ByteStream::getSubStream(), rawspeed::ByteStream::getU16(), rawspeed::ByteStream::getU32(), rawspeed::NORangesSet< T >::insert(), invariant, tag, ThrowCPE, and type.
Referenced by rawspeed::CiffIFD::parseIFDEntry().
|
nodiscard |
Definition at line 146 of file CiffEntry.cpp.
References rawspeed::BYTE, data, tag, ThrowCPE, and type.
Referenced by getU32().
|
inlinenodiscard |
Definition at line 65 of file CiffEntry.h.
References data.
Referenced by rawspeed::CrwDecoder::decodeRawInternal().
|
staticnodiscard |
Definition at line 85 of file CiffEntry.cpp.
References rawspeed::LONG, rawspeed::MIX, rawspeed::SHORT, rawspeed::SUB1, rawspeed::SUB2, and type.
Referenced by Create().
|
nodiscard |
Definition at line 101 of file CiffEntry.cpp.
References rawspeed::ASCII, rawspeed::BYTE, rawspeed::LONG, rawspeed::MIX, rawspeed::SHORT, rawspeed::SUB1, rawspeed::SUB2, and type.
|
nodiscard |
Definition at line 154 of file CiffEntry.cpp.
References rawspeed::ASCII, count, data, ThrowCPE, and type.
Referenced by rawspeed::CiffIFD::getEntryRecursiveWhere(), and rawspeed::CiffIFD::getIFDsWithTagWhere().
|
nodiscard |
Definition at line 165 of file CiffEntry.cpp.
References rawspeed::ASCII, count, data, ThrowCPE, and type.
Definition at line 138 of file CiffEntry.cpp.
References rawspeed::BYTE, data, rawspeed::SHORT, tag, ThrowCPE, and type.
Referenced by rawspeed::CrwDecoder::decodeMetaDataInternal(), rawspeed::CrwDecoder::decodeRawInternal(), and getU32().
Definition at line 123 of file CiffEntry.cpp.
References rawspeed::BYTE, data, getByte(), getU16(), isInt(), rawspeed::SHORT, tag, ThrowCPE, and type.
Referenced by rawspeed::CrwDecoder::decodeRawInternal(), rawspeed::CiffIFD::getEntryRecursiveWhere(), and rawspeed::CiffIFD::getIFDsWithTagWhere().
|
nodiscard |
Definition at line 118 of file CiffEntry.cpp.
References rawspeed::BYTE, rawspeed::LONG, rawspeed::SHORT, and type.
Referenced by rawspeed::CiffIFD::getEntryRecursiveWhere(), rawspeed::CiffIFD::getIFDsWithTagWhere(), and getU32().
|
nodiscard |
Definition at line 187 of file CiffEntry.cpp.
References rawspeed::ASCII, and type.
Referenced by rawspeed::CiffIFD::getEntryRecursiveWhere(), and rawspeed::CiffIFD::getIFDsWithTagWhere().
|
friend |
| uint32_t rawspeed::CiffEntry::count |
Definition at line 82 of file CiffEntry.h.
Referenced by CiffEntry(), Create(), rawspeed::CrwDecoder::decodeMetaDataInternal(), rawspeed::CrwDecoder::decodeRawInternal(), getString(), and getStrings().
|
private |
Definition at line 57 of file CiffEntry.h.
Referenced by CiffEntry(), Create(), getByte(), getData(), getString(), getStrings(), getU16(), getU32(), and rawspeed::CiffIFD::parseIFDEntry().
| CiffTag rawspeed::CiffEntry::tag |
Definition at line 80 of file CiffEntry.h.
Referenced by CiffEntry(), Create(), getByte(), getU16(), getU32(), and rawspeed::CiffIFD::parseIFDEntry().
| CiffDataType rawspeed::CiffEntry::type |
Definition at line 81 of file CiffEntry.h.
Referenced by CiffEntry(), Create(), rawspeed::CrwDecoder::decodeMetaDataInternal(), rawspeed::CrwDecoder::decodeRawInternal(), getByte(), getElementShift(), getElementSize(), getString(), getStrings(), getU16(), getU32(), isInt(), isString(), and rawspeed::CiffIFD::parseIFDEntry().