| 30 | namespace rawspeed { |
| 31 | |
| 32 | bool 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 | |
| 42 | void MefDecoder::checkImageDimensions() { |
| 43 | if (width > 4016 || height > 5344) |