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

Method decodeRawInternal

src/librawspeed/decoders/NakedDecoder.cpp:89–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89RawImage 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
105void NakedDecoder::checkSupportInternal(const CameraMetaData* meta) {
106 this->checkCameraSupported(meta, cam->make, cam->model, cam->mode);

Callers

nothing calls this directly

Calls 6

createDataMethod · 0.80
getSubViewMethod · 0.80
readUncompressedRawMethod · 0.80
iPoint2DClass · 0.70
ByteStreamClass · 0.70
DataBufferClass · 0.50

Tested by

no test coverage detected