| 87 | } |
| 88 | |
| 89 | RawImage NakedDecoder::decodeRawInternal() { |
| 90 | parseHints(); |
| 91 | |
| 92 | mRaw->dim = iPoint2D(width, height); |
| 93 | mRaw->createData(); |
| 94 | |
| 95 | UncompressedDecompressor u( |
| 96 | ByteStream(DataBuffer(mFile->getSubView(offset), Endianness::little)), |
| 97 | mRaw); |
| 98 | |
| 99 | iPoint2D pos(0, 0); |
| 100 | u.readUncompressedRaw(mRaw->dim, pos, width * bits / 8, bits, bo); |
| 101 | |
| 102 | return mRaw; |
| 103 | } |
| 104 | |
| 105 | void NakedDecoder::checkSupportInternal(const CameraMetaData* meta) { |
| 106 | this->checkCameraSupported(meta, cam->make, cam->model, cam->mode); |
nothing calls this directly
no test coverage detected