LibreOffice Module vcl (master) 1
|
#include <JpegWriter.hxx>
Public Member Functions | |
JPEGWriter (SvStream &rStream, const css::uno::Sequence< css::beans::PropertyValue > *pFilterData, bool *pExportWasGrey) | |
void * | GetScanline (tools::Long nY) |
bool | Write (const Graphic &rGraphic) |
Private Attributes | |
SvStream & | mrStream |
Bitmap::ScopedReadAccess | mpReadAccess |
sal_uInt8 * | mpBuffer |
bool | mbNative |
bool | mbGreys |
sal_Int32 | mnQuality |
sal_Int32 | maChromaSubsampling |
bool * | mpExpWasGrey |
css::uno::Reference< css::task::XStatusIndicator > | mxStatusIndicator |
Definition at line 30 of file JpegWriter.hxx.
JPEGWriter::JPEGWriter | ( | SvStream & | rStream, |
const css::uno::Sequence< css::beans::PropertyValue > * | pFilterData, | ||
bool * | pExportWasGrey | ||
) |
Definition at line 116 of file JpegWriter.cxx.
References maChromaSubsampling, mbGreys, mnQuality, mxStatusIndicator, and FilterConfigItem::ReadInt32().
void * JPEGWriter::GetScanline | ( | tools::Long | nY | ) |
Definition at line 139 of file JpegWriter.cxx.
References Color::GetBlue(), Color::GetGreen(), BitmapReadAccess::GetIndexFromData(), BitmapInfoAccess::GetPaletteColor(), BitmapReadAccess::GetPixelFromData(), Color::GetRed(), BitmapReadAccess::GetScanline(), BitmapInfoAccess::HasPalette(), mbGreys, mbNative, mpBuffer, mpReadAccess, and BitmapInfoAccess::Width().
Referenced by WriteJPEG().
bool JPEGWriter::Write | ( | const Graphic & | rGraphic | ) |
Definition at line 191 of file JpegWriter.cxx.
References AlignedWidth4Bytes(), Bitmap, COL_WHITE(), Bitmap::Convert(), BitmapEx::GetBitmap(), Graphic::GetBitmapEx(), Color::GetBlue(), Color::GetGreen(), basegfx::Size2D< typename TYPE >::getHeight(), BitmapReadAccess::GetIndexFromData(), BitmapInfoAccess::GetPaletteColor(), BitmapReadAccess::GetPixelFromData(), Graphic::GetPPI(), Color::GetRed(), BitmapReadAccess::GetScanline(), BitmapInfoAccess::GetScanlineFormat(), Graphic::GetType(), basegfx::Size2D< typename TYPE >::getWidth(), Bitmap::HasGreyPalette8Bit(), BitmapInfoAccess::HasPalette(), BitmapInfoAccess::Height(), maChromaSubsampling, mbGreys, mbNative, mnQuality, mpBuffer, mpExpWasGrey, mpReadAccess, mrStream, mxStatusIndicator, N24BitTcRgb, N8BitGreys, N8BitPal, vcl::ScopedBitmapAccess< Access, Bitmap, Acquire >::reset(), SAL_INFO, BitmapInfoAccess::Width(), and WriteJPEG().
Referenced by ExportJPEG().
|
private |
Definition at line 38 of file JpegWriter.hxx.
Referenced by JPEGWriter(), and Write().
|
private |
Definition at line 36 of file JpegWriter.hxx.
Referenced by GetScanline(), JPEGWriter(), and Write().
|
private |
Definition at line 35 of file JpegWriter.hxx.
Referenced by GetScanline(), and Write().
|
private |
Definition at line 37 of file JpegWriter.hxx.
Referenced by JPEGWriter(), and Write().
|
private |
Definition at line 34 of file JpegWriter.hxx.
Referenced by GetScanline(), and Write().
|
private |
Definition at line 40 of file JpegWriter.hxx.
Referenced by Write().
|
private |
Definition at line 33 of file JpegWriter.hxx.
Referenced by GetScanline(), and Write().
|
private |
Definition at line 32 of file JpegWriter.hxx.
Referenced by Write().
|
private |
Definition at line 42 of file JpegWriter.hxx.
Referenced by JPEGWriter(), and Write().