| 49 | class CameraMetaData; |
| 50 | |
| 51 | bool Rw2Decoder::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 == "Panasonic" || make == "LEICA" || make == "LEICA CAMERA AG"; |
| 59 | } |
| 60 | |
| 61 | RawImage Rw2Decoder::decodeRawInternal() { |
| 62 |