MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / findDecoder

Method findDecoder

src/tiffimage_int.cpp:1974–1981  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1972};
1973
1974DecoderFct TiffMapping::findDecoder(const std::string& make, uint32_t extendedTag, IfdId group) {
1975 DecoderFct decoderFct = &TiffDecoder::decodeStdTiffEntry;
1976 if (auto td = Exiv2::find(tiffMappingInfo_, TiffMappingInfo::Key{make, extendedTag, group})) {
1977 // This may set decoderFct to 0, meaning that the tag should not be decoded
1978 decoderFct = td->decoderFct_;
1979 }
1980 return decoderFct;
1981}
1982
1983EncoderFct TiffMapping::findEncoder(const std::string& make, uint32_t extendedTag, IfdId group) {
1984 EncoderFct encoderFct = nullptr;

Callers

nothing calls this directly

Calls 1

findFunction · 0.50

Tested by

no test coverage detected