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

Method isAppropriateDecoder

src/librawspeed/decoders/ArwDecoder.cpp:51–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49namespace rawspeed {
50
51bool ArwDecoder::isAppropriateDecoder(const TiffRootIFD* rootIFD,
52 const Buffer* file) {
53 const auto id = rootIFD->getID();
54 const std::string& make = id.make;
55
56 // FIXME: magic
57
58 return make == "SONY";
59}
60
61RawImage ArwDecoder::decodeSRF(const TiffIFD* raw) {
62 raw = mRootIFD->getIFDWithTag(IMAGEWIDTH);

Callers

nothing calls this directly

Calls 1

getIDMethod · 0.80

Tested by

no test coverage detected