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

Method isAppropriateDecoder

src/librawspeed/decoders/ThreefrDecoder.cpp:43–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41class CameraMetaData;
42
43bool ThreefrDecoder::isAppropriateDecoder(const TiffRootIFD* rootIFD,
44 const Buffer* file) {
45 const auto id = rootIFD->getID();
46 const std::string& make = id.make;
47
48 // FIXME: magic
49
50 return make == "Hasselblad";
51}
52
53RawImage ThreefrDecoder::decodeRawInternal() {
54 const auto* raw = mRootIFD->getIFDWithTag(STRIPOFFSETS, 1);

Callers

nothing calls this directly

Calls 1

getIDMethod · 0.80

Tested by

no test coverage detected