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

Method isAppropriateDecoder

src/librawspeed/decoders/MefDecoder.cpp:32–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30namespace rawspeed {
31
32bool MefDecoder::isAppropriateDecoder(const TiffRootIFD* rootIFD,
33 const Buffer* file) {
34 const auto id = rootIFD->getID();
35 const std::string& make = id.make;
36
37 // FIXME: magic
38
39 return make == "Mamiya-OP Co.,Ltd.";
40}
41
42void MefDecoder::checkImageDimensions() {
43 if (width > 4016 || height > 5344)

Callers

nothing calls this directly

Calls 1

getIDMethod · 0.80

Tested by

no test coverage detected