MCPcopy Create free account
hub / github.com/darktable-org/rawspeed / isAppropriateDecoder

Method isAppropriateDecoder

src/librawspeed/decoders/RafDecoder.cpp:57–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57bool RafDecoder::isAppropriateDecoder(const TiffRootIFD* rootIFD,
58 const Buffer* file) {
59 const auto id = rootIFD->getID();
60 const std::string& make = id.make;
61
62 // FIXME: magic
63
64 return make == "FUJIFILM";
65}
66
67RawImage RafDecoder::decodeRawInternal() {
68 const auto* raw = mRootIFD->getIFDWithTag(FUJI_STRIPOFFSETS);

Callers

nothing calls this directly

Calls 1

getIDMethod · 0.80

Tested by

no test coverage detected