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

Method isAppropriateDecoder

src/librawspeed/decoders/DcsDecoder.cpp:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37class CameraMetaData;
38
39bool DcsDecoder::isAppropriateDecoder(const TiffRootIFD* rootIFD,
40 const Buffer* file) {
41 const auto id = rootIFD->getID();
42 const std::string& make = id.make;
43
44 // FIXME: magic
45
46 return make == "KODAK";
47}
48
49void DcsDecoder::checkImageDimensions() {
50 if (width > 3072 || height > 2048)

Callers

nothing calls this directly

Calls 1

getIDMethod · 0.80

Tested by

no test coverage detected