LibreOffice Module vcl (master) 1
Macros | Functions
jpegc.cxx File Reference
#include <sal/config.h>
#include <sal/log.hxx>
#include <o3tl/float_int_conversion.hxx>
#include <o3tl/safeint.hxx>
#include <stdio.h>
#include <setjmp.h>
#include <jpeglib.h>
#include <jerror.h>
#include <com/sun/star/task/XStatusIndicator.hpp>
#include "transupp.h"
#include "jpeg.h"
#include "JpegReader.hxx"
#include "JpegWriter.hxx"
#include <memory>
#include <unotools/configmgr.hxx>
#include <vcl/graphicfilter.hxx>
Include dependency graph for jpegc.cxx:

Go to the source code of this file.

Macros

#define LIMITSCANS   100
 

Functions

static void errorExit (j_common_ptr cinfo)
 
static void outputMessage (j_common_ptr cinfo)
 
static void emitMessage (j_common_ptr cinfo, int msg_level)
 
static void ReadJPEG (JpegStuff &rContext, JPEGReader *pJPEGReader, void *pInputStream, tools::Long *pLines, GraphicFilterImportFlags nImportFlags, BitmapScopedWriteAccess *ppAccess)
 
void ReadJPEG (JPEGReader *pJPEGReader, void *pInputStream, tools::Long *pLines, GraphicFilterImportFlags nImportFlags, BitmapScopedWriteAccess *ppAccess)
 
bool WriteJPEG (JPEGWriter *pJPEGWriter, void *pOutputStream, tools::Long nWidth, tools::Long nHeight, basegfx::B2DSize const &rPPI, bool bGreys, tools::Long nQualityPercent, tools::Long aChromaSubsampling, css::uno::Reference< css::task::XStatusIndicator > const &status)
 
void Transform (void *pInputStream, void *pOutputStream, Degree10 nAngle)
 

Macro Definition Documentation

◆ LIMITSCANS

#define LIMITSCANS   100

Definition at line 164 of file jpegc.cxx.

Function Documentation

◆ emitMessage()

static void emitMessage ( j_common_ptr  cinfo,
int  msg_level 
)
static

Definition at line 85 of file jpegc.cxx.

References utl::ConfigManager::IsFuzzing().

Referenced by ReadJPEG().

◆ errorExit()

static void errorExit ( j_common_ptr  cinfo)
static

Definition at line 64 of file jpegc.cxx.

References SAL_WARN.

Referenced by ReadJPEG(), Transform(), and WriteJPEG().

◆ outputMessage()

static void outputMessage ( j_common_ptr  cinfo)
static

Definition at line 73 of file jpegc.cxx.

References SAL_WARN.

Referenced by ReadJPEG(), Transform(), and WriteJPEG().

◆ ReadJPEG() [1/2]

void ReadJPEG ( JPEGReader pJPEGReader,
void *  pInputStream,
tools::Long pLines,
GraphicFilterImportFlags  nImportFlags,
BitmapScopedWriteAccess ppAccess 
)

Definition at line 359 of file jpegc.cxx.

References ReadJPEG().

Referenced by JPEGReader::Read().

◆ ReadJPEG() [2/2]

static void ReadJPEG ( JpegStuff &  rContext,
JPEGReader pJPEGReader,
void *  pInputStream,
tools::Long pLines,
GraphicFilterImportFlags  nImportFlags,
BitmapScopedWriteAccess ppAccess 
)
static

◆ Transform()

void Transform ( void *  pInputStream,
void *  pOutputStream,
Degree10  nAngle 
)

◆ WriteJPEG()

bool WriteJPEG ( JPEGWriter pJPEGWriter,
void *  pOutputStream,
tools::Long  nWidth,
tools::Long  nHeight,
basegfx::B2DSize const &  rPPI,
bool  bGreys,
tools::Long  nQualityPercent,
tools::Long  aChromaSubsampling,
css::uno::Reference< css::task::XStatusIndicator > const &  status 
)