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

Method isAppropriateDecoder

src/librawspeed/decoders/KdcDecoder.cpp:44–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42namespace rawspeed {
43
44bool KdcDecoder::isAppropriateDecoder(const TiffRootIFD* rootIFD,
45 const Buffer* file) {
46 const auto id = rootIFD->getID();
47 const std::string& make = id.make;
48
49 // FIXME: magic
50
51 return make == "EASTMAN KODAK COMPANY";
52}
53
54Buffer KdcDecoder::getInputBuffer() {
55 TiffEntry* offset = mRootIFD->getEntryRecursive(KODAK_KDC_OFFSET);

Callers

nothing calls this directly

Calls 1

getIDMethod · 0.80

Tested by

no test coverage detected