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, uint16_t group) |
Find the decoder function for a key. | |
static EncoderFct | findEncoder (const std::string &make, uint32_t extendedTag, uint16_t group) |
Find special encoder function for a key. |
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.
DecoderFct Exiv2::Internal::TiffMapping::findDecoder | ( | const std::string & | make, | |
uint32_t | extendedTag, | |||
uint16_t | group | |||
) | [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_, and Exiv2::find().
Referenced by Exiv2::TiffParser::decode(), Exiv2::OrfParser::encode(), and Exiv2::Cr2Parser::encode().
EncoderFct Exiv2::Internal::TiffMapping::findEncoder | ( | const std::string & | make, | |
uint32_t | extendedTag, | |||
uint16_t | group | |||
) | [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_, and Exiv2::find().
Referenced by Exiv2::TiffParser::encode(), and Exiv2::ExifParser::encode().