LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
JPEGReader Class Reference

#include <JpegReader.hxx>

Inheritance diagram for JPEGReader:
Collaboration diagram for JPEGReader:

Public Member Functions

 JPEGReader (SvStream &rStream, GraphicFilterImportFlags nImportFlags)
virtual ~JPEGReader () override
ReadState Read (Graphic &rGraphic, GraphicFilterImportFlags nImportFlags, BitmapScopedWriteAccess *ppAccess)
bool CreateBitmap (JPEGCreateBitmapParam const &param)
BitmapGetBitmap ()
- Public Member Functions inherited from GraphicReader
virtual ~GraphicReader ()
const OUString & GetUpperFilterName () const

Private Member Functions

Graphic CreateIntermediateGraphic (tools::Long nLines)

Private Attributes

std::optional< BitmapmpBitmap
std::optional< AlphaMaskmpIncompleteAlpha
tools::Long mnLastPos
tools::Long mnLastLines
bool mbSetLogSize

Additional Inherited Members

- Protected Member Functions inherited from GraphicReader
 GraphicReader ()
- Protected Attributes inherited from GraphicReader
OUString maUpperName

Detailed Description

Definition at line 48 of file JpegReader.hxx.

Constructor & Destructor Documentation

◆ JPEGReader()

JPEGReader::JPEGReader ( SvStream rStream,
GraphicFilterImportFlags  nImportFlags 

◆ ~JPEGReader()

JPEGReader::~JPEGReader ( )

Definition at line 187 of file JpegReader.cxx.

Member Function Documentation

◆ CreateBitmap()

bool JPEGReader::CreateBitmap ( JPEGCreateBitmapParam const &  param)

◆ CreateIntermediateGraphic()

Graphic JPEGReader::CreateIntermediateGraphic ( tools::Long  nLines)

Definition at line 245 of file JpegReader.cxx.

References COL_ALPHA_OPAQUE(), Size::Height(), mnLastLines, mpBitmap, and mpIncompleteAlpha.

Referenced by Read().

◆ GetBitmap()

Bitmap & JPEGReader::GetBitmap ( )

Definition at line 68 of file JpegReader.hxx.

References mpBitmap.

Referenced by ReadJPEG().

◆ Read()

ReadState JPEGReader::Read ( Graphic rGraphic,
GraphicFilterImportFlags  nImportFlags,
BitmapScopedWriteAccess ppAccess 

Member Data Documentation

◆ mbSetLogSize

bool JPEGReader::mbSetLogSize

Definition at line 56 of file JpegReader.hxx.

Referenced by CreateBitmap().

◆ mnLastLines

tools::Long JPEGReader::mnLastLines

Definition at line 55 of file JpegReader.hxx.

Referenced by CreateIntermediateGraphic().

◆ mnLastPos

tools::Long JPEGReader::mnLastPos

Definition at line 54 of file JpegReader.hxx.

Referenced by Read().

◆ mpBitmap

std::optional<Bitmap> JPEGReader::mpBitmap

Definition at line 51 of file JpegReader.hxx.

Referenced by CreateBitmap(), CreateIntermediateGraphic(), GetBitmap(), JPEGReader(), and Read().

◆ mpIncompleteAlpha

std::optional<AlphaMask> JPEGReader::mpIncompleteAlpha

Definition at line 52 of file JpegReader.hxx.

Referenced by CreateIntermediateGraphic(), and JPEGReader().

◆ mrStream

SvStream& JPEGReader::mrStream

Definition at line 50 of file JpegReader.hxx.

Referenced by Read().

The documentation for this class was generated from the following files: