|
LibreOffice Module vcl (master) 1
|
#include <memory>#include <vcl/graph.hxx>#include <tools/stream.hxx>#include <filter/WebpReader.hxx>#include <bitmap/BitmapWriteAccess.hxx>#include <salinst.hxx>#include <sal/log.hxx>#include <unotools/configmgr.hxx>#include <svdata.hxx>#include <comphelper/scopeguard.hxx>#include <webp/decode.h>Go to the source code of this file.
Functions | |
| static bool | readWebpInfo (SvStream &stream, std::vector< uint8_t > &data, WebPBitstreamFeatures &features) |
| static bool | readWebp (SvStream &stream, Graphic &graphic) |
| bool | ImportWebpGraphic (SvStream &rStream, Graphic &rGraphic) |
| bool | ReadWebpInfo (SvStream &stream, Size &pixelSize, sal_uInt16 &bitsPerPixel, bool &hasAlpha) |
Definition at line 298 of file reader.cxx.
References readWebp(), SvStream::SetError(), and SVSTREAM_FILEFORMAT_ERROR.
Referenced by GraphicFilter::readWEBP().
Definition at line 55 of file reader.cxx.
References a, ColorAlpha, config, ImplGetSVData(), AlphaMask::IsEmpty(), utl::ConfigManager::IsFuzzing(), ImplSVData::mpDefInst, vcl::N24_BPP, N24BitTcBgr, N24BitTcRgb, vcl::N32_BPP, N32BitTcArgb, N32BitTcBgra, N32BitTcRgba, readWebpInfo(), RemoveScanline(), vcl::ScopedBitmapAccess< Access, Bitmap, Acquire >::reset(), SAL_MAX_INT32, SAL_WARN, Split, stream, SalInstance::supportsBitmap32(), x, and y.
Referenced by ImportWebpGraphic().
| bool ReadWebpInfo | ( | SvStream & | stream, |
| Size & | pixelSize, | ||
| sal_uInt16 & | bitsPerPixel, | ||
| bool & | hasAlpha | ||
| ) |
Definition at line 306 of file reader.cxx.
References readWebpInfo(), and stream.
Referenced by vcl::GraphicFormatDetector::checkWEBP().
|
static |
Definition at line 33 of file reader.cxx.
References stream.
Referenced by readWebp(), and ReadWebpInfo().