| 41 | class CameraMetaData; |
| 42 | |
| 43 | bool 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 | |
| 53 | RawImage ThreefrDecoder::decodeRawInternal() { |
| 54 | const auto* raw = mRootIFD->getIFDWithTag(STRIPOFFSETS, 1); |