51 static RawFile *factory(
const IO::Stream::Ptr & _f);
52 NefFile(
const IO::Stream::Ptr & _f);
55 NefFile(
const NefFile&) =
delete;
56 NefFile & operator=(
const NefFile &) =
delete;
64 class NEFCompressionInfo {
70 std::vector<uint16_t> curve;
77 virtual ::or_error _unpackData(uint16_t bpc, uint32_t compression,
78 RawData &data, uint32_t x, uint32_t y,
79 uint32_t offset, uint32_t byte_length)
override;
85 ::or_error _decompressNikonQuantized(
RawData&);
86 virtual ::or_error _decompressIfNeeded(
RawData&, uint32_t)
override;