LibreOffice Module vcl (master) 1
Macros | Functions
JpegReader.cxx File Reference
#include <sal/config.h>
#include "jpeg.h"
#include <jpeglib.h>
#include <jerror.h>
#include "JpegReader.hxx"
#include <vcl/graphicfilter.hxx>
#include <vcl/outdev.hxx>
#include <tools/fract.hxx>
#include <tools/stream.hxx>
#include <memory>
Include dependency graph for JpegReader.cxx:

Go to the source code of this file.

Macros

#define BUFFER_SIZE   4096
 

Functions

static void init_source (j_decompress_ptr cinfo)
 
static tools::Long StreamRead (SvStream *pStream, void *pBuffer, tools::Long nBufferSize)
 
static boolean fill_input_buffer (j_decompress_ptr cinfo)
 
static void skip_input_data (j_decompress_ptr cinfo, long numberOfBytes)
 
static void term_source (j_decompress_ptr)
 
void jpeg_svstream_src (j_decompress_ptr cinfo, void *input)
 

Macro Definition Documentation

◆ BUFFER_SIZE

#define BUFFER_SIZE   4096

Definition at line 33 of file JpegReader.cxx.

Function Documentation

◆ fill_input_buffer()

static boolean fill_input_buffer ( j_decompress_ptr  cinfo)
static

◆ init_source()

static void init_source ( j_decompress_ptr  cinfo)
static

◆ jpeg_svstream_src()

void jpeg_svstream_src ( j_decompress_ptr  cinfo,
void *  input 
)

◆ skip_input_data()

static void skip_input_data ( j_decompress_ptr  cinfo,
long  numberOfBytes 
)
static

Definition at line 108 of file JpegReader.cxx.

References fill_input_buffer(), and SourceManagerStruct::pub.

Referenced by jpeg_svstream_src().

◆ StreamRead()

static tools::Long StreamRead ( SvStream pStream,
void *  pBuffer,
tools::Long  nBufferSize 
)
static

◆ term_source()

static void term_source ( j_decompress_ptr  )
static

Definition at line 132 of file JpegReader.cxx.

Referenced by jpeg_svstream_src().