![]() |
Exiv2
|
Table of TIFF decoding and encoding functions and find functions. This class is separated from the metadata decoder and encoder visitors so that the parser can be parametrized with a different table if needed. This is used, eg., for CR2 format, which uses a different decoder table. More...
#include <tiffimage_int.hpp>
Static Public Member Functions | |
static DecoderFct | findDecoder (const std::string &make, uint32_t extendedTag, IfdId group) |
Find the decoder function for a key. More... | |
static EncoderFct | findEncoder (const std::string &make, uint32_t extendedTag, IfdId group) |
Find special encoder function for a key. More... | |
Table of TIFF decoding and encoding functions and find functions. This class is separated from the metadata decoder and encoder visitors so that the parser can be parametrized with a different table if needed. This is used, eg., for CR2 format, which uses a different decoder table.
|
static |
Find the decoder function for a key.
If the returned pointer is 0, the tag should not be decoded, else the decoder function should be used.
make | Camera make |
extendedTag | Extended tag |
group | Group |
References Exiv2::Internal::TiffMappingInfo::decoderFct_, Exiv2::Internal::TiffDecoder::decodeStdTiffEntry(), Exiv2::find(), and Exiv2::make().
Referenced by Exiv2::OrfParser::decode(), Exiv2::Cr2Parser::decode(), Exiv2::Rw2Parser::decode(), and Exiv2::TiffParser::decode().
|
static |
Find special encoder function for a key.
If the returned pointer is 0, the tag should be encoded with the encoder function of the TIFF component, else the encoder function should be used.
make | Camera make |
extendedTag | Extended tag |
group | Group |
References Exiv2::Internal::TiffMappingInfo::encoderFct_, Exiv2::find(), and Exiv2::make().