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

Method decodeRawInternal

src/librawspeed/decoders/ErfDecoder.cpp:54–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54RawImage ErfDecoder::decodeRawInternal() {
55 SimpleTiffDecoder::prepareForRawDecoding();
56
57 UncompressedDecompressor u(
58 ByteStream(DataBuffer(mFile->getSubView(off, c2), Endianness::little)),
59 mRaw);
60
61 u.decode12BitRaw<Endianness::big, false, true>(width, height);
62
63 return mRaw;
64}
65
66void ErfDecoder::decodeMetaDataInternal(const CameraMetaData* meta) {
67 setMetaData(meta, "", 0);

Callers

nothing calls this directly

Calls 3

getSubViewMethod · 0.80
ByteStreamClass · 0.70
DataBufferClass · 0.50

Tested by

no test coverage detected