RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
SonyArw1Decompressor.h
Go to the documentation of this file.
1
/*
2
RawSpeed - RAW file decoder.
3
4
Copyright (C) 2017 Roman Lebedev
5
6
This library is free software; you can redistribute it and/or
7
modify it under the terms of the GNU Lesser General Public
8
License as published by the Free Software Foundation; either
9
version 2 of the License, or (at your option) any later version.
10
11
This library is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
Lesser General Public License for more details.
15
16
You should have received a copy of the GNU Lesser General Public
17
License along with this library; if not, write to the Free Software
18
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
21
#pragma once
22
23
#include "
bitstreams/BitStreamerMSB.h
"
24
#include "
common/RawImage.h
"
25
#include "
decompressors/AbstractDecompressor.h
"
26
#include <cstdint>
27
28
namespace
rawspeed
{
29
30
class
ByteStream
;
31
32
class
SonyArw1Decompressor
final :
public
AbstractDecompressor
{
33
RawImage
mRaw
;
34
35
inline
static
int
getDiff
(
BitStreamerMSB
& bs,
uint32_t
len);
36
37
public
:
38
explicit
SonyArw1Decompressor
(
RawImage
img);
39
void
decompress
(
ByteStream
input)
const
;
40
};
41
42
}
// namespace rawspeed
AbstractDecompressor.h
BitStreamerMSB.h
RawImage.h
rawspeed::AbstractDecompressor
Definition
AbstractDecompressor.h:25
rawspeed::BitStreamerMSB
Definition
BitStreamerMSB.h:43
rawspeed::ByteStream
Definition
ByteStream.h:43
rawspeed::RawImage
Definition
RawImage.h:247
rawspeed::SonyArw1Decompressor::getDiff
static int getDiff(BitStreamerMSB &bs, uint32_t len)
Definition
SonyArw1Decompressor.cpp:52
rawspeed::SonyArw1Decompressor::mRaw
RawImage mRaw
Definition
SonyArw1Decompressor.h:33
rawspeed::SonyArw1Decompressor::decompress
void decompress(ByteStream input) const
Definition
SonyArw1Decompressor.cpp:59
rawspeed::SonyArw1Decompressor::SonyArw1Decompressor
SonyArw1Decompressor(RawImage img)
Definition
SonyArw1Decompressor.cpp:39
uint32_t
rawspeed
Definition
CoalescingOutputIteratorBenchmark.cpp:35
librawspeed
decompressors
SonyArw1Decompressor.h
Generated by
1.15.0