|
RawSpeed
fast raw decoding library
|
#include "decompressors/LJpegDecompressor.h"
Classes | |
| struct | Frame |
| struct | PerComponentRecipe |
Public Member Functions | |
| template<const iPoint2D & MCUSize> | |
| LJpegDecompressor (RawImage img, iRectangle2D imgFrame, Frame frame, std::vector< PerComponentRecipe > rec, int numLJpegRowsPerRestartInterval_, Array1DRef< const uint8_t > input) | |
| ByteStream::size_type | decode () const |
Private Member Functions | |
| template<int N_COMP, size_t... I> | |
| std::array< std::reference_wrapper< const PrefixCodeDecoder<> >, N_COMP > | getPrefixCodeDecodersImpl (std::index_sequence< I... >) const |
| template<int N_COMP> | |
| std::array< std::reference_wrapper< const PrefixCodeDecoder<> >, N_COMP > | getPrefixCodeDecoders () const |
| template<int N_COMP> | |
| std::array< uint16_t, N_COMP > | getInitialPreds () const |
| template<const iPoint2D & MCUSize, int N_COMP> | |
| __attribute__ ((always_inline)) inline void decodeRowN(Array2DRef< uint16_t > outStripe | |
Private Attributes | |
| RawImage | mRaw |
| const Array1DRef< const uint8_t > | input |
| const iRectangle2D | imgFrame |
| const Frame | frame |
| const std::vector< PerComponentRecipe > | rec |
| const int | numLJpegRowsPerRestartInterval |
| int | numFullMCUs = 0 |
| int | trailingPixels = 0 |
| Array2DRef< const uint16_t > | pred |
| Array2DRef< const uint16_t > std::array< std::reference_wrapper< const PrefixCodeDecoder<> >, N_COMP > | ht |
| Array2DRef< const uint16_t > std::array< std::reference_wrapper< const PrefixCodeDecoder<> >, N_COMP > BitStreamerJPEG &bs | const |
Definition at line 42 of file LJpegDecompressor.h.
|
nodiscard |
Definition at line 52 of file LJpegDecompressor.cpp.
References frame, imgFrame, rawspeed::implicit_cast(), input, mRaw, numFullMCUs, numLJpegRowsPerRestartInterval, rec, rawspeed::roundUpDivisionSafe(), ThrowRDE, trailingPixels, and rawspeed::UINT16.
|
private |
|
nodiscard |
Definition at line 341 of file LJpegDecompressor.cpp.
References frame.
Referenced by rawspeed::LJpegDecoder::decodeScan(), and LLVMFuzzerTestOneInput().
|
nodiscardprivate |
Definition at line 169 of file LJpegDecompressor.cpp.
References rec.
|
nodiscardprivate |
Definition at line 164 of file LJpegDecompressor.cpp.
References getPrefixCodeDecodersImpl().
|
nodiscardprivate |
Definition at line 156 of file LJpegDecompressor.cpp.
Referenced by getPrefixCodeDecoders().
|
private |
Definition at line 83 of file LJpegDecompressor.h.
Definition at line 59 of file LJpegDecompressor.h.
Referenced by LJpegDecompressor(), and decode().
|
private |
Definition at line 82 of file LJpegDecompressor.h.
Referenced by getPrefixCodeDecodersImpl().
|
private |
Definition at line 57 of file LJpegDecompressor.h.
Referenced by LJpegDecompressor().
|
private |
Definition at line 55 of file LJpegDecompressor.h.
Referenced by LJpegDecompressor().
|
private |
Definition at line 54 of file LJpegDecompressor.h.
Referenced by LJpegDecompressor().
|
private |
Definition at line 63 of file LJpegDecompressor.h.
Referenced by LJpegDecompressor().
|
private |
Definition at line 61 of file LJpegDecompressor.h.
Referenced by LJpegDecompressor().
|
private |
Definition at line 81 of file LJpegDecompressor.h.
|
private |
Definition at line 60 of file LJpegDecompressor.h.
Referenced by LJpegDecompressor(), getInitialPreds(), and getPrefixCodeDecodersImpl().
|
private |
Definition at line 64 of file LJpegDecompressor.h.
Referenced by LJpegDecompressor().